Searched refs:cts_tfm (Results 1 – 1 of 1) sorted by relevance
59 struct crypto_cipher *cts_tfm; member304 err = crypto_cipher_setkey(ctx->cts_tfm, in_key, key_len); in aesbs_xts_setkey()318 ctx->cts_tfm = crypto_alloc_cipher("aes", 0, 0); in xts_init()319 if (IS_ERR(ctx->cts_tfm)) in xts_init()320 return PTR_ERR(ctx->cts_tfm); in xts_init()324 crypto_free_cipher(ctx->cts_tfm); in xts_init()334 crypto_free_cipher(ctx->cts_tfm); in xts_exit()398 crypto_cipher_encrypt_one(ctx->cts_tfm, buf, buf); in __xts_crypt()400 crypto_cipher_decrypt_one(ctx->cts_tfm, buf, buf); in __xts_crypt()