Searched refs:tweak_key (Results 1 – 3 of 3) sorted by relevance
/linux/arch/powerpc/crypto/ |
H A D | aes_xts.c | 23 struct aes_key tweak_key; member 66 ret = aes_p8_set_encrypt_key(key + keylen/2, (keylen/2) * 8, &ctx->tweak_key); in p8_aes_xts_setkey() 107 aes_p8_encrypt(walk.iv, tweak, &ctx->tweak_key); in p8_aes_xts_crypt()
|
/linux/arch/arm/crypto/ |
H A D | aes-neonbs-glue.c | 59 struct crypto_aes_ctx tweak_key; member 286 err = aes_expandkey(&ctx->tweak_key, in_key + key_len, key_len); in aesbs_xts_setkey() 323 __aes_arm_encrypt(ctx->tweak_key.key_enc, rounds, walk.iv, walk.iv); in __xts_crypt()
|
/linux/arch/x86/crypto/ |
H A D | aesni-intel_glue.c | 505 typedef void (*xts_encrypt_iv_func)(const struct crypto_aes_ctx *tweak_key, 620 static void aesni_xts_encrypt_iv(const struct crypto_aes_ctx *tweak_key, in aesni_xts_encrypt_iv() argument 623 aesni_enc(tweak_key, iv, iv); in aesni_xts_encrypt_iv() 786 asmlinkage void aes_xts_encrypt_iv(const struct crypto_aes_ctx *tweak_key,
|