Lines Matching refs:fallback_cipher
2687 if (ctx->fallback_cipher) { in aead_do_fallback()
2690 aead_request_set_tfm(req, ctx->fallback_cipher); in aead_do_fallback()
2953 if (ctx->fallback_cipher) { in aead_authenc_setkey()
2956 ctx->fallback_cipher->base.crt_flags &= ~CRYPTO_TFM_REQ_MASK; in aead_authenc_setkey()
2957 ctx->fallback_cipher->base.crt_flags |= in aead_authenc_setkey()
2960 crypto_aead_setkey(ctx->fallback_cipher, origkey, in aead_authenc_setkey()
2966 (ctx->fallback_cipher->base.crt_flags & in aead_authenc_setkey()
3027 if (ctx->fallback_cipher) { in aead_gcm_ccm_setkey()
3030 ctx->fallback_cipher->base.crt_flags &= ~CRYPTO_TFM_REQ_MASK; in aead_gcm_ccm_setkey()
3031 ctx->fallback_cipher->base.crt_flags |= in aead_gcm_ccm_setkey()
3033 ret = crypto_aead_setkey(ctx->fallback_cipher, key, in aead_gcm_ccm_setkey()
3039 (ctx->fallback_cipher->base.crt_flags & in aead_gcm_ccm_setkey()
3159 if (ctx->fallback_cipher) { in aead_setauthsize()
3162 ret = crypto_aead_setauthsize(ctx->fallback_cipher, authsize); in aead_setauthsize()
4340 ctx->fallback_cipher = NULL; in generic_cra_init()
4412 ctx->fallback_cipher = in aead_cra_init()
4416 if (IS_ERR(ctx->fallback_cipher)) { in aead_cra_init()
4419 return PTR_ERR(ctx->fallback_cipher); in aead_cra_init()
4439 if (ctx->fallback_cipher) { in aead_cra_exit()
4440 crypto_free_aead(ctx->fallback_cipher); in aead_cra_exit()
4441 ctx->fallback_cipher = NULL; in aead_cra_exit()