Lines Matching refs:key_enc
186 ctx->key_enc, rounds, blocks); in ecb_encrypt()
224 ctx->key_enc, rounds, blocks, walk->iv); in cbc_encrypt_walk()
322 ctx->key_enc, rounds, walk.nbytes, walk.iv); in cts_cbc_encrypt()
415 ctx->key1.key_enc, rounds, blocks, in essiv_cbc_encrypt()
416 req->iv, ctx->key2.key_enc); in essiv_cbc_encrypt()
438 req->iv, ctx->key2.key_enc); in essiv_cbc_decrypt()
458 ctx->key_enc, rounds, blocks, walk.iv); in ctr_encrypt()
474 aes_ctr_encrypt(tail, NULL, ctx->key_enc, rounds, in ctr_encrypt()
527 ctx->key1.key_enc, rounds, nbytes, in xts_encrypt()
528 ctx->key2.key_enc, walk.iv, first); in xts_encrypt()
549 ctx->key1.key_enc, rounds, walk.nbytes, in xts_encrypt()
550 ctx->key2.key_enc, walk.iv, first); in xts_encrypt()
600 ctx->key2.key_enc, walk.iv, first); in xts_decrypt()
623 ctx->key2.key_enc, walk.iv, first); in xts_decrypt()
758 aes_ecb_encrypt(ctx->consts, (u8[AES_BLOCK_SIZE]){}, ctx->key.key_enc, in cmac_setkey()
787 aes_ecb_encrypt(key, ks[0], ctx->key.key_enc, rounds, 1); in xcbc_setkey()
788 aes_ecb_encrypt(ctx->consts, ks[1], ctx->key.key_enc, rounds, 2); in xcbc_setkey()
814 rem = aes_mac_update(in, ctx->key_enc, rounds, blocks, in mac_do_update()