Home
last modified time | relevance | path

Searched refs:enc_tfm (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/arch/arm/crypto/
H A Daes-neonbs-glue.c54 struct crypto_skcipher *enc_tfm; member
145 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()