key_enc 80 arch/arm/crypto/aes-ce-glue.c struct aes_block *key_enc, *key_dec; key_enc 90 arch/arm/crypto/aes-ce-glue.c ctx->key_enc[i] = get_unaligned_le32(in_key + i * sizeof(u32)); key_enc 94 arch/arm/crypto/aes-ce-glue.c u32 *rki = ctx->key_enc + (i * kwords); key_enc 124 arch/arm/crypto/aes-ce-glue.c key_enc = (struct aes_block *)ctx->key_enc; key_enc 128 arch/arm/crypto/aes-ce-glue.c key_dec[0] = key_enc[j]; key_enc 130 arch/arm/crypto/aes-ce-glue.c ce_aes_invert(key_dec + i, key_enc + j); key_enc 131 arch/arm/crypto/aes-ce-glue.c key_dec[i] = key_enc[0]; key_enc 190 arch/arm/crypto/aes-ce-glue.c ctx->key_enc, num_rounds(ctx), blocks); key_enc 228 arch/arm/crypto/aes-ce-glue.c ctx->key_enc, num_rounds(ctx), blocks, key_enc 328 arch/arm/crypto/aes-ce-glue.c ctx->key_enc, num_rounds(ctx), walk.nbytes, key_enc 405 arch/arm/crypto/aes-ce-glue.c ctx->key_enc, num_rounds(ctx), blocks, key_enc 422 arch/arm/crypto/aes-ce-glue.c ce_aes_ctr_encrypt(tail, NULL, ctx->key_enc, num_rounds(ctx), key_enc 497 arch/arm/crypto/aes-ce-glue.c ctx->key1.key_enc, rounds, nbytes, walk.iv, key_enc 498 arch/arm/crypto/aes-ce-glue.c ctx->key2.key_enc, first); key_enc 519 arch/arm/crypto/aes-ce-glue.c ctx->key1.key_enc, rounds, walk.nbytes, walk.iv, key_enc 520 arch/arm/crypto/aes-ce-glue.c ctx->key2.key_enc, first); key_enc 570 arch/arm/crypto/aes-ce-glue.c ctx->key2.key_enc, first); key_enc 592 arch/arm/crypto/aes-ce-glue.c ctx->key2.key_enc, first); key_enc 21 arch/arm/crypto/aes-cipher-glue.c __aes_arm_encrypt(ctx->key_enc, rounds, in, out); key_enc 80 arch/arm/crypto/aes-neonbs-glue.c aesbs_convert_key(ctx->rk, rk.key_enc, ctx->rounds); key_enc 139 arch/arm/crypto/aes-neonbs-glue.c aesbs_convert_key(ctx->key.rk, rk.key_enc, ctx->key.rounds); key_enc 214 arch/arm/crypto/aes-neonbs-glue.c aesbs_convert_key(ctx->key.rk, ctx->fallback.key_enc, ctx->key.rounds); key_enc 110 arch/arm64/crypto/aes-ce-ccm-glue.c ce_aes_ccm_auth_data(mac, in, abytes, macp, key->key_enc, key_enc 260 arch/arm64/crypto/aes-ce-ccm-glue.c walk.nbytes - tail, ctx->key_enc, key_enc 268 arch/arm64/crypto/aes-ce-ccm-glue.c ce_aes_ccm_final(mac, buf, ctx->key_enc, key_enc 318 arch/arm64/crypto/aes-ce-ccm-glue.c walk.nbytes - tail, ctx->key_enc, key_enc 326 arch/arm64/crypto/aes-ce-ccm-glue.c ce_aes_ccm_final(mac, buf, ctx->key_enc, key_enc 56 arch/arm64/crypto/aes-ce-glue.c __aes_ce_encrypt(ctx->key_enc, dst, src, num_rounds(ctx)); key_enc 85 arch/arm64/crypto/aes-ce-glue.c struct aes_block *key_enc, *key_dec; key_enc 95 arch/arm64/crypto/aes-ce-glue.c ctx->key_enc[i] = get_unaligned_le32(in_key + i * sizeof(u32)); key_enc 99 arch/arm64/crypto/aes-ce-glue.c u32 *rki = ctx->key_enc + (i * kwords); key_enc 128 arch/arm64/crypto/aes-ce-glue.c key_enc = (struct aes_block *)ctx->key_enc; key_enc 132 arch/arm64/crypto/aes-ce-glue.c key_dec[0] = key_enc[j]; key_enc 134 arch/arm64/crypto/aes-ce-glue.c __aes_ce_invert(key_dec + i, key_enc + j); key_enc 135 arch/arm64/crypto/aes-ce-glue.c key_dec[i] = key_enc[0]; key_enc 20 arch/arm64/crypto/aes-cipher-glue.c __aes_arm64_encrypt(ctx->key_enc, out, in, rounds); key_enc 204 arch/arm64/crypto/aes-glue.c ctx->key_enc, rounds, blocks); key_enc 242 arch/arm64/crypto/aes-glue.c ctx->key_enc, rounds, blocks, walk->iv); key_enc 340 arch/arm64/crypto/aes-glue.c ctx->key_enc, rounds, walk.nbytes, walk.iv); key_enc 433 arch/arm64/crypto/aes-glue.c ctx->key1.key_enc, rounds, blocks, key_enc 434 arch/arm64/crypto/aes-glue.c req->iv, ctx->key2.key_enc); key_enc 456 arch/arm64/crypto/aes-glue.c req->iv, ctx->key2.key_enc); key_enc 476 arch/arm64/crypto/aes-glue.c ctx->key_enc, rounds, blocks, walk.iv); key_enc 492 arch/arm64/crypto/aes-glue.c aes_ctr_encrypt(tail, NULL, ctx->key_enc, rounds, key_enc 568 arch/arm64/crypto/aes-glue.c ctx->key1.key_enc, rounds, nbytes, key_enc 569 arch/arm64/crypto/aes-glue.c ctx->key2.key_enc, walk.iv, first); key_enc 590 arch/arm64/crypto/aes-glue.c ctx->key1.key_enc, rounds, walk.nbytes, key_enc 591 arch/arm64/crypto/aes-glue.c ctx->key2.key_enc, walk.iv, first); key_enc 641 arch/arm64/crypto/aes-glue.c ctx->key2.key_enc, walk.iv, first); key_enc 664 arch/arm64/crypto/aes-glue.c ctx->key2.key_enc, walk.iv, first); key_enc 826 arch/arm64/crypto/aes-glue.c aes_ecb_encrypt(ctx->consts, (u8[AES_BLOCK_SIZE]){}, ctx->key.key_enc, key_enc 855 arch/arm64/crypto/aes-glue.c aes_ecb_encrypt(key, ks[0], ctx->key.key_enc, rounds, 1); key_enc 856 arch/arm64/crypto/aes-glue.c aes_ecb_encrypt(ctx->consts, ks[1], ctx->key.key_enc, rounds, 2); key_enc 879 arch/arm64/crypto/aes-glue.c aes_mac_update(in, ctx->key_enc, rounds, blocks, dg, enc_before, key_enc 91 arch/arm64/crypto/aes-neonbs-glue.c aesbs_convert_key(ctx->rk, rk.key_enc, ctx->rounds); key_enc 149 arch/arm64/crypto/aes-neonbs-glue.c memcpy(ctx->enc, rk.key_enc, sizeof(ctx->enc)); key_enc 152 arch/arm64/crypto/aes-neonbs-glue.c aesbs_convert_key(ctx->key.rk, rk.key_enc, ctx->key.rounds); key_enc 222 arch/arm64/crypto/aes-neonbs-glue.c aesbs_convert_key(ctx->key.rk, ctx->fallback.key_enc, ctx->key.rounds); key_enc 289 arch/arm64/crypto/aes-neonbs-glue.c memcpy(ctx->twkey, rk.key_enc, sizeof(ctx->twkey)); key_enc 412 arch/arm64/crypto/aes-neonbs-glue.c neon_aes_xts_encrypt(out, in, ctx->cts.key_enc, ctx->key.rounds, key_enc 443 arch/arm64/crypto/ghash-ce-glue.c pmull_gcm_encrypt_block(tag, iv, ctx->aes_key.key_enc, nrounds); key_enc 464 arch/arm64/crypto/ghash-ce-glue.c rk = ctx->aes_key.key_enc; key_enc 563 arch/arm64/crypto/ghash-ce-glue.c pmull_gcm_encrypt_block(tag, iv, ctx->aes_key.key_enc, nrounds); key_enc 598 arch/arm64/crypto/ghash-ce-glue.c rk = ctx->aes_key.key_enc; key_enc 39 arch/powerpc/crypto/aes-spe-glue.c u32 key_enc[AES_MAX_KEYLENGTH_U32]; key_enc 45 arch/powerpc/crypto/aes-spe-glue.c u32 key_enc[AES_MAX_KEYLENGTH_U32]; key_enc 51 arch/powerpc/crypto/aes-spe-glue.c extern void ppc_encrypt_aes(u8 *out, const u8 *in, u32 *key_enc, u32 rounds); key_enc 53 arch/powerpc/crypto/aes-spe-glue.c extern void ppc_encrypt_ecb(u8 *out, const u8 *in, u32 *key_enc, u32 rounds, key_enc 57 arch/powerpc/crypto/aes-spe-glue.c extern void ppc_encrypt_cbc(u8 *out, const u8 *in, u32 *key_enc, u32 rounds, key_enc 61 arch/powerpc/crypto/aes-spe-glue.c extern void ppc_crypt_ctr (u8 *out, const u8 *in, u32 *key_enc, u32 rounds, key_enc 63 arch/powerpc/crypto/aes-spe-glue.c extern void ppc_encrypt_xts(u8 *out, const u8 *in, u32 *key_enc, u32 rounds, key_enc 68 arch/powerpc/crypto/aes-spe-glue.c extern void ppc_expand_key_128(u32 *key_enc, const u8 *key); key_enc 69 arch/powerpc/crypto/aes-spe-glue.c extern void ppc_expand_key_192(u32 *key_enc, const u8 *key); key_enc 70 arch/powerpc/crypto/aes-spe-glue.c extern void ppc_expand_key_256(u32 *key_enc, const u8 *key); key_enc 72 arch/powerpc/crypto/aes-spe-glue.c extern void ppc_generate_decrypt_key(u32 *key_dec,u32 *key_enc, key_enc 104 arch/powerpc/crypto/aes-spe-glue.c ppc_expand_key_128(ctx->key_enc, in_key); key_enc 108 arch/powerpc/crypto/aes-spe-glue.c ppc_expand_key_192(ctx->key_enc, in_key); key_enc 112 arch/powerpc/crypto/aes-spe-glue.c ppc_expand_key_256(ctx->key_enc, in_key); key_enc 116 arch/powerpc/crypto/aes-spe-glue.c ppc_generate_decrypt_key(ctx->key_dec, ctx->key_enc, key_len); key_enc 143 arch/powerpc/crypto/aes-spe-glue.c ppc_expand_key_128(ctx->key_enc, in_key); key_enc 148 arch/powerpc/crypto/aes-spe-glue.c ppc_expand_key_192(ctx->key_enc, in_key); key_enc 153 arch/powerpc/crypto/aes-spe-glue.c ppc_expand_key_256(ctx->key_enc, in_key); key_enc 158 arch/powerpc/crypto/aes-spe-glue.c ppc_generate_decrypt_key(ctx->key_dec, ctx->key_enc, key_len); key_enc 168 arch/powerpc/crypto/aes-spe-glue.c ppc_encrypt_aes(out, in, ctx->key_enc, ctx->rounds); key_enc 200 arch/powerpc/crypto/aes-spe-glue.c ctx->key_enc, ctx->rounds, nbytes); key_enc 256 arch/powerpc/crypto/aes-spe-glue.c ctx->key_enc, ctx->rounds, nbytes, walk.iv); key_enc 313 arch/powerpc/crypto/aes-spe-glue.c ctx->key_enc, ctx->rounds, pbytes , walk.iv); key_enc 344 arch/powerpc/crypto/aes-spe-glue.c ctx->key_enc, ctx->rounds, nbytes, walk.iv, twk); key_enc 1186 crypto/aes_generic.c const u32 *kp = ctx->key_enc + 4; key_enc 1189 crypto/aes_generic.c b0[0] = ctx->key_enc[0] ^ get_unaligned_le32(in); key_enc 1190 crypto/aes_generic.c b0[1] = ctx->key_enc[1] ^ get_unaligned_le32(in + 4); key_enc 1191 crypto/aes_generic.c b0[2] = ctx->key_enc[2] ^ get_unaligned_le32(in + 8); key_enc 1192 crypto/aes_generic.c b0[3] = ctx->key_enc[3] ^ get_unaligned_le32(in + 12); key_enc 287 drivers/crypto/inside-secure/safexcel_cipher.c if (ctx->key[i] != cpu_to_le32(aes.key_enc[i])) { key_enc 295 drivers/crypto/inside-secure/safexcel_cipher.c ctx->key[i] = cpu_to_le32(aes.key_enc[i]); key_enc 1298 drivers/crypto/inside-secure/safexcel_cipher.c if (ctx->key[i] != cpu_to_le32(aes.key_enc[i])) { key_enc 1306 drivers/crypto/inside-secure/safexcel_cipher.c ctx->key[i] = cpu_to_le32(aes.key_enc[i]); key_enc 1975 drivers/crypto/inside-secure/safexcel_cipher.c if (ctx->key[i] != cpu_to_le32(aes.key_enc[i])) { key_enc 1983 drivers/crypto/inside-secure/safexcel_cipher.c ctx->key[i] = cpu_to_le32(aes.key_enc[i]); key_enc 1995 drivers/crypto/inside-secure/safexcel_cipher.c cpu_to_le32(aes.key_enc[i])) { key_enc 2004 drivers/crypto/inside-secure/safexcel_cipher.c cpu_to_le32(aes.key_enc[i]); key_enc 2085 drivers/crypto/inside-secure/safexcel_cipher.c if (ctx->key[i] != cpu_to_le32(aes.key_enc[i])) { key_enc 2093 drivers/crypto/inside-secure/safexcel_cipher.c ctx->key[i] = cpu_to_le32(aes.key_enc[i]); key_enc 2202 drivers/crypto/inside-secure/safexcel_cipher.c if (ctx->key[i] != cpu_to_le32(aes.key_enc[i])) { key_enc 2210 drivers/crypto/inside-secure/safexcel_cipher.c ctx->key[i] = cpu_to_le32(aes.key_enc[i]); key_enc 2212 drivers/crypto/inside-secure/safexcel_cipher.c cpu_to_be32(aes.key_enc[i]); key_enc 267 drivers/crypto/marvell/cipher.c cpu_to_le32(ctx->aes.key_enc[offset + i]); key_enc 694 drivers/crypto/marvell/cipher.c key = ctx->aes.key_enc; key_enc 153 drivers/crypto/padlock-aes.c memcpy(ctx->E, gen_aes.key_enc, AES_MAX_KEYLENGTH); key_enc 465 drivers/net/ethernet/mellanox/mlx5/core/fpga/ipsec.c memcpy(&hw_sa->ipsec_sa_v1.key_enc, aes_gcm->aes_key, key_enc 469 drivers/net/ethernet/mellanox/mlx5/core/fpga/ipsec.c memcpy(&hw_sa->ipsec_sa_v1.key_enc[16], key_enc 26 include/crypto/aes.h u32 key_enc[AES_MAX_KEYLENGTH_U32]; key_enc 543 include/linux/mlx5/mlx5_ifc_fpga.h u8 key_enc[32]; key_enc 199 lib/crypto/aes.c ctx->key_enc[i] = get_unaligned_le32(in_key + i * sizeof(u32)); key_enc 202 lib/crypto/aes.c u32 *rki = ctx->key_enc + (i * kwords); key_enc 231 lib/crypto/aes.c ctx->key_dec[0] = ctx->key_enc[key_len + 24]; key_enc 232 lib/crypto/aes.c ctx->key_dec[1] = ctx->key_enc[key_len + 25]; key_enc 233 lib/crypto/aes.c ctx->key_dec[2] = ctx->key_enc[key_len + 26]; key_enc 234 lib/crypto/aes.c ctx->key_dec[3] = ctx->key_enc[key_len + 27]; key_enc 237 lib/crypto/aes.c ctx->key_dec[i] = inv_mix_columns(ctx->key_enc[j]); key_enc 238 lib/crypto/aes.c ctx->key_dec[i + 1] = inv_mix_columns(ctx->key_enc[j + 1]); key_enc 239 lib/crypto/aes.c ctx->key_dec[i + 2] = inv_mix_columns(ctx->key_enc[j + 2]); key_enc 240 lib/crypto/aes.c ctx->key_dec[i + 3] = inv_mix_columns(ctx->key_enc[j + 3]); key_enc 243 lib/crypto/aes.c ctx->key_dec[i] = ctx->key_enc[0]; key_enc 244 lib/crypto/aes.c ctx->key_dec[i + 1] = ctx->key_enc[1]; key_enc 245 lib/crypto/aes.c ctx->key_dec[i + 2] = ctx->key_enc[2]; key_enc 246 lib/crypto/aes.c ctx->key_dec[i + 3] = ctx->key_enc[3]; key_enc 260 lib/crypto/aes.c const u32 *rkp = ctx->key_enc + 4; key_enc 265 lib/crypto/aes.c st0[0] = ctx->key_enc[0] ^ get_unaligned_le32(in); key_enc 266 lib/crypto/aes.c st0[1] = ctx->key_enc[1] ^ get_unaligned_le32(in + 4); key_enc 267 lib/crypto/aes.c st0[2] = ctx->key_enc[2] ^ get_unaligned_le32(in + 8); key_enc 268 lib/crypto/aes.c st0[3] = ctx->key_enc[3] ^ get_unaligned_le32(in + 12);