Home
last modified time | relevance | path

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

/linux/drivers/crypto/bcm/
H A Dcipher.c2581 if (!ctx->fallback_cipher) in aead_do_fallback()
2585 aead_request_set_tfm(subreq, ctx->fallback_cipher); in aead_do_fallback()
2785 if (ctx->fallback_cipher) { in aead_authenc_setkey()
2788 ctx->fallback_cipher->base.crt_flags &= ~CRYPTO_TFM_REQ_MASK; in aead_authenc_setkey()
2789 ctx->fallback_cipher->base.crt_flags |= in aead_authenc_setkey()
2791 ret = crypto_aead_setkey(ctx->fallback_cipher, key, keylen); in aead_authenc_setkey()
2852 if (ctx->fallback_cipher) { in aead_gcm_ccm_setkey()
2855 ctx->fallback_cipher->base.crt_flags &= ~CRYPTO_TFM_REQ_MASK; in aead_gcm_ccm_setkey()
2856 ctx->fallback_cipher->base.crt_flags |= in aead_gcm_ccm_setkey()
2858 ret = crypto_aead_setkey(ctx->fallback_cipher, key, in aead_gcm_ccm_setkey()
[all …]
H A Dcipher.h211 struct crypto_aead *fallback_cipher; member