Searched refs:dec_key (Results 1 – 10 of 10) sorted by relevance
| /linux/crypto/ |
| H A D | aria_generic.c | 155 ctx->dec_key[0][i] = ctx->enc_key[ctx->rounds][i]; in aria_set_decrypt_key() 156 ctx->dec_key[ctx->rounds][i] = ctx->enc_key[0][i]; in aria_set_decrypt_key() 160 ctx->dec_key[i][0] = aria_m(ctx->enc_key[ctx->rounds - i][0]); in aria_set_decrypt_key() 161 ctx->dec_key[i][1] = aria_m(ctx->enc_key[ctx->rounds - i][1]); in aria_set_decrypt_key() 162 ctx->dec_key[i][2] = aria_m(ctx->enc_key[ctx->rounds - i][2]); in aria_set_decrypt_key() 163 ctx->dec_key[i][3] = aria_m(ctx->enc_key[ctx->rounds - i][3]); in aria_set_decrypt_key() 165 aria_diff_word(&ctx->dec_key[i][0], &ctx->dec_key[i][1], in aria_set_decrypt_key() 166 &ctx->dec_key[i][2], &ctx->dec_key[i][3]); in aria_set_decrypt_key() 167 aria_diff_byte(&ctx->dec_key[i][1], in aria_set_decrypt_key() 168 &ctx->dec_key[i][2], &ctx->dec_key[i][3]); in aria_set_decrypt_key() [all …]
|
| /linux/arch/powerpc/crypto/ |
| H A D | aes_cbc.c | 25 struct p8_aes_key dec_key; member 65 ret |= aes_p8_set_decrypt_key(key, keylen * 8, &ctx->dec_key); in p8_aes_cbc_setkey() 100 enc ? &ctx->enc_key : &ctx->dec_key, in p8_aes_cbc_crypt()
|
| H A D | aes_xts.c | 26 struct p8_aes_key dec_key; member 72 ret |= aes_p8_set_decrypt_key(key, (keylen/2) * 8, &ctx->dec_key); in p8_aes_xts_setkey() 130 &ctx->dec_key, NULL, tweak); in p8_aes_xts_crypt()
|
| /linux/arch/x86/kernel/ |
| H A D | asm-offsets.c | 129 OFFSET(ARIA_CTX_dec_key, aria_ctx, dec_key); in common()
|
| /linux/include/crypto/ |
| H A D | aria.h | 36 u32 dec_key[ARIA_MAX_RD_KEYS][ARIA_RD_KEY_WORDS]; member
|
| /linux/arch/x86/crypto/ |
| H A D | aria_aesni_avx_glue.c | 75 return ecb_do_decrypt(req, ctx->dec_key[0]); in aria_avx_ecb_decrypt()
|
| H A D | aria_aesni_avx2_glue.c | 77 return ecb_do_decrypt(req, ctx->dec_key[0]); in aria_avx2_ecb_decrypt()
|
| H A D | aria_gfni_avx512_glue.c | 65 return ecb_do_decrypt(req, ctx->dec_key[0]); in aria_avx512_ecb_decrypt()
|
| /linux/lib/ |
| H A D | btree.c | 134 static void dec_key(struct btree_geo *geo, unsigned long *key) in dec_key() function 320 dec_key(geo, key); in btree_get_prev()
|
| /linux/drivers/crypto/chelsio/ |
| H A D | chcr_algo.c | 227 static void get_aes_decrypt_key(unsigned char *dec_key, in get_aes_decrypt_key() argument 272 put_unaligned_be32(w_ring[j], &dec_key[k * 4]); in get_aes_decrypt_key()
|