Lines Matching refs:fallback_cipher
2603 if (ctx->fallback_cipher) { in aead_do_fallback()
2606 aead_request_set_tfm(req, ctx->fallback_cipher); in aead_do_fallback()
2826 if (ctx->fallback_cipher) { in aead_authenc_setkey()
2829 ctx->fallback_cipher->base.crt_flags &= ~CRYPTO_TFM_REQ_MASK; in aead_authenc_setkey()
2830 ctx->fallback_cipher->base.crt_flags |= in aead_authenc_setkey()
2832 ret = crypto_aead_setkey(ctx->fallback_cipher, key, keylen); in aead_authenc_setkey()
2893 if (ctx->fallback_cipher) { in aead_gcm_ccm_setkey()
2896 ctx->fallback_cipher->base.crt_flags &= ~CRYPTO_TFM_REQ_MASK; in aead_gcm_ccm_setkey()
2897 ctx->fallback_cipher->base.crt_flags |= in aead_gcm_ccm_setkey()
2899 ret = crypto_aead_setkey(ctx->fallback_cipher, key, in aead_gcm_ccm_setkey()
3031 if (ctx->fallback_cipher) { in aead_setauthsize()
3034 ret = crypto_aead_setauthsize(ctx->fallback_cipher, authsize); in aead_setauthsize()
4199 ctx->fallback_cipher = NULL; in generic_cra_init()
4272 ctx->fallback_cipher = in aead_cra_init()
4276 if (IS_ERR(ctx->fallback_cipher)) { in aead_cra_init()
4279 return PTR_ERR(ctx->fallback_cipher); in aead_cra_init()
4304 if (ctx->fallback_cipher) { in aead_cra_exit()
4305 crypto_free_aead(ctx->fallback_cipher); in aead_cra_exit()
4306 ctx->fallback_cipher = NULL; in aead_cra_exit()