Searched refs:tweak_tfm (Results 1 – 1 of 1) sorted by relevance
58 struct crypto_cipher *tweak_tfm; member299 err = crypto_cipher_setkey(ctx->tweak_tfm, in_key + key_len, key_len); in aesbs_xts_setkey()314 ctx->tweak_tfm = crypto_alloc_cipher("aes", 0, 0); in xts_init()315 if (IS_ERR(ctx->tweak_tfm)) in xts_init()318 return PTR_ERR_OR_ZERO(ctx->tweak_tfm); in xts_init()325 crypto_free_cipher(ctx->tweak_tfm); in xts_exit()358 crypto_cipher_encrypt_one(ctx->tweak_tfm, walk.iv, walk.iv); in __xts_crypt()