Searched refs:cts_tfm (Results 1 – 1 of 1) sorted by relevance
59 struct crypto_cipher *cts_tfm; member311 err = crypto_cipher_setkey(ctx->cts_tfm, in_key, key_len); in aesbs_xts_setkey()325 ctx->cts_tfm = crypto_alloc_cipher("aes", 0, 0); in xts_init()326 if (IS_ERR(ctx->cts_tfm)) in xts_init()327 return PTR_ERR(ctx->cts_tfm); in xts_init()331 crypto_free_cipher(ctx->cts_tfm); in xts_init()341 crypto_free_cipher(ctx->cts_tfm); in xts_exit()405 crypto_cipher_encrypt_one(ctx->cts_tfm, buf, buf); in __xts_crypt()407 crypto_cipher_decrypt_one(ctx->cts_tfm, buf, buf); in __xts_crypt()