Searched refs:cts_tfm (Results 1 – 1 of 1) sorted by relevance
57 struct crypto_cipher *cts_tfm; member296 err = crypto_cipher_setkey(ctx->cts_tfm, in_key, key_len); in aesbs_xts_setkey()310 ctx->cts_tfm = crypto_alloc_cipher("aes", 0, 0); in xts_init()311 if (IS_ERR(ctx->cts_tfm)) in xts_init()312 return PTR_ERR(ctx->cts_tfm); in xts_init()316 crypto_free_cipher(ctx->cts_tfm); in xts_init()326 crypto_free_cipher(ctx->cts_tfm); in xts_exit()390 crypto_cipher_encrypt_one(ctx->cts_tfm, buf, buf); in __xts_crypt()392 crypto_cipher_decrypt_one(ctx->cts_tfm, buf, buf); in __xts_crypt()