Searched refs:tweak_tfm (Results 1 – 1 of 1) sorted by relevance
57 struct crypto_cipher *tweak_tfm; member248 err = crypto_cipher_setkey(ctx->tweak_tfm, in_key + key_len, key_len); in aesbs_xts_setkey()259 ctx->tweak_tfm = crypto_alloc_cipher("aes", 0, 0); in xts_init()261 return PTR_ERR_OR_ZERO(ctx->tweak_tfm); in xts_init()268 crypto_free_cipher(ctx->tweak_tfm); in xts_exit()282 crypto_cipher_encrypt_one(ctx->tweak_tfm, walk.iv, walk.iv); in __xts_crypt()