Lines Matching refs:fallback_cipher
2601 if (ctx->fallback_cipher) { in aead_do_fallback()
2604 aead_request_set_tfm(req, ctx->fallback_cipher); in aead_do_fallback()
2824 if (ctx->fallback_cipher) { in aead_authenc_setkey()
2827 ctx->fallback_cipher->base.crt_flags &= ~CRYPTO_TFM_REQ_MASK; in aead_authenc_setkey()
2828 ctx->fallback_cipher->base.crt_flags |= in aead_authenc_setkey()
2830 ret = crypto_aead_setkey(ctx->fallback_cipher, key, keylen); in aead_authenc_setkey()
2891 if (ctx->fallback_cipher) { in aead_gcm_ccm_setkey()
2894 ctx->fallback_cipher->base.crt_flags &= ~CRYPTO_TFM_REQ_MASK; in aead_gcm_ccm_setkey()
2895 ctx->fallback_cipher->base.crt_flags |= in aead_gcm_ccm_setkey()
2897 ret = crypto_aead_setkey(ctx->fallback_cipher, key, in aead_gcm_ccm_setkey()
3029 if (ctx->fallback_cipher) { in aead_setauthsize()
3032 ret = crypto_aead_setauthsize(ctx->fallback_cipher, authsize); in aead_setauthsize()
4197 ctx->fallback_cipher = NULL; in generic_cra_init()
4270 ctx->fallback_cipher = in aead_cra_init()
4274 if (IS_ERR(ctx->fallback_cipher)) { in aead_cra_init()
4277 return PTR_ERR(ctx->fallback_cipher); in aead_cra_init()
4302 if (ctx->fallback_cipher) { in aead_cra_exit()
4303 crypto_free_aead(ctx->fallback_cipher); in aead_cra_exit()
4304 ctx->fallback_cipher = NULL; in aead_cra_exit()