Home
last modified time | relevance | path

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

/openbmc/linux/drivers/crypto/hisilicon/sec2/
H A Dsec_crypto.c1126 if (unlikely(a_ctx->fallback_aead_tfm)) in sec_aead_setauthsize()
1127 return crypto_aead_setauthsize(a_ctx->fallback_aead_tfm, authsize); in sec_aead_setauthsize()
1136 crypto_aead_clear_flags(a_ctx->fallback_aead_tfm, CRYPTO_TFM_REQ_MASK); in sec_aead_fallback_setkey()
1137 crypto_aead_set_flags(a_ctx->fallback_aead_tfm, in sec_aead_fallback_setkey()
1139 return crypto_aead_setkey(a_ctx->fallback_aead_tfm, key, keylen); in sec_aead_fallback_setkey()
1168 if (unlikely(a_ctx->fallback_aead_tfm)) { in sec_aead_setkey()
1975 a_ctx->fallback_aead_tfm = crypto_alloc_aead(aead_name, 0, in sec_aead_xcm_ctx_init()
1978 if (IS_ERR(a_ctx->fallback_aead_tfm)) { in sec_aead_xcm_ctx_init()
1981 return PTR_ERR(a_ctx->fallback_aead_tfm); in sec_aead_xcm_ctx_init()
1992 crypto_free_aead(ctx->a_ctx.fallback_aead_tfm); in sec_aead_xcm_ctx_exit()
[all …]
H A Dsec.h97 struct crypto_aead *fallback_aead_tfm; member