Searched refs:enc_tfm (Results 1 – 1 of 1) sorted by relevance
54 struct crypto_skcipher *enc_tfm; member145 return crypto_skcipher_setkey(ctx->enc_tfm, in_key, key_len); in aesbs_cbc_setkey()154 skcipher_request_set_tfm(subreq, ctx->enc_tfm); in cbc_encrypt()197 ctx->enc_tfm = crypto_alloc_skcipher("cbc(aes)", 0, CRYPTO_ALG_ASYNC | in cbc_init()199 if (IS_ERR(ctx->enc_tfm)) in cbc_init()200 return PTR_ERR(ctx->enc_tfm); in cbc_init()203 reqsize += crypto_skcipher_reqsize(ctx->enc_tfm); in cbc_init()213 crypto_free_skcipher(ctx->enc_tfm); in cbc_exit()