Home
last modified time | relevance | path

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

/openbmc/linux/drivers/crypto/bcm/
H A Dcipher.c2586 if (!ctx->fallback_cipher) in aead_do_fallback()
2590 aead_request_set_tfm(subreq, ctx->fallback_cipher); in aead_do_fallback()
2790 if (ctx->fallback_cipher) { in aead_authenc_setkey()
2793 ctx->fallback_cipher->base.crt_flags &= ~CRYPTO_TFM_REQ_MASK; in aead_authenc_setkey()
2794 ctx->fallback_cipher->base.crt_flags |= in aead_authenc_setkey()
2796 ret = crypto_aead_setkey(ctx->fallback_cipher, key, keylen); in aead_authenc_setkey()
2857 if (ctx->fallback_cipher) { in aead_gcm_ccm_setkey()
2860 ctx->fallback_cipher->base.crt_flags &= ~CRYPTO_TFM_REQ_MASK; in aead_gcm_ccm_setkey()
2861 ctx->fallback_cipher->base.crt_flags |= in aead_gcm_ccm_setkey()
2863 ret = crypto_aead_setkey(ctx->fallback_cipher, key, in aead_gcm_ccm_setkey()
[all …]
H A Dcipher.h211 struct crypto_aead *fallback_cipher; member