Searched refs:tweak_key (Results 1 – 3 of 3) sorted by relevance
/Linux-v4.19/arch/arm/crypto/ |
D | speck-neon-glue.c | 33 struct speck128_tfm_ctx tweak_key; member 62 crypto_speck128_encrypt(&ctx->tweak_key, (u8 *)&tweak, walk.iv); in __speck128_xts_crypt() 128 return crypto_speck128_setkey(&ctx->tweak_key, key + keylen, keylen); in speck128_xts_setkey() 135 struct speck64_tfm_ctx tweak_key; member 163 crypto_speck64_encrypt(&ctx->tweak_key, (u8 *)&tweak, walk.iv); in __speck64_xts_crypt() 230 return crypto_speck64_setkey(&ctx->tweak_key, key + keylen, keylen); in speck64_xts_setkey()
|
/Linux-v4.19/arch/arm64/crypto/ |
D | speck-neon-glue.c | 27 struct speck128_tfm_ctx tweak_key; member 56 crypto_speck128_encrypt(&ctx->tweak_key, (u8 *)&tweak, walk.iv); in __speck128_xts_crypt() 122 return crypto_speck128_setkey(&ctx->tweak_key, key + keylen, keylen); in speck128_xts_setkey() 129 struct speck64_tfm_ctx tweak_key; member 157 crypto_speck64_encrypt(&ctx->tweak_key, (u8 *)&tweak, walk.iv); in __speck64_xts_crypt() 224 return crypto_speck64_setkey(&ctx->tweak_key, key + keylen, keylen); in speck64_xts_setkey()
|
/Linux-v4.19/drivers/crypto/vmx/ |
D | aes_xts.c | 39 struct aes_key tweak_key; member 88 ret = aes_p8_set_encrypt_key(key + keylen/2, (keylen/2) * 8, &ctx->tweak_key); in p8_aes_xts_setkey() 129 aes_p8_encrypt(iv, tweak, &ctx->tweak_key); in p8_aes_xts_crypt()
|