Lines Matching refs:fallback_cipher
2664 if (ctx->fallback_cipher) { in aead_do_fallback()
2667 aead_request_set_tfm(req, ctx->fallback_cipher); in aead_do_fallback()
2890 if (ctx->fallback_cipher) { in aead_authenc_setkey()
2893 ctx->fallback_cipher->base.crt_flags &= ~CRYPTO_TFM_REQ_MASK; in aead_authenc_setkey()
2894 ctx->fallback_cipher->base.crt_flags |= in aead_authenc_setkey()
2896 ret = crypto_aead_setkey(ctx->fallback_cipher, key, keylen); in aead_authenc_setkey()
2901 (ctx->fallback_cipher->base.crt_flags & in aead_authenc_setkey()
2962 if (ctx->fallback_cipher) { in aead_gcm_ccm_setkey()
2965 ctx->fallback_cipher->base.crt_flags &= ~CRYPTO_TFM_REQ_MASK; in aead_gcm_ccm_setkey()
2966 ctx->fallback_cipher->base.crt_flags |= in aead_gcm_ccm_setkey()
2968 ret = crypto_aead_setkey(ctx->fallback_cipher, key, in aead_gcm_ccm_setkey()
2974 (ctx->fallback_cipher->base.crt_flags & in aead_gcm_ccm_setkey()
3094 if (ctx->fallback_cipher) { in aead_setauthsize()
3097 ret = crypto_aead_setauthsize(ctx->fallback_cipher, authsize); in aead_setauthsize()
4274 ctx->fallback_cipher = NULL; in generic_cra_init()
4346 ctx->fallback_cipher = in aead_cra_init()
4350 if (IS_ERR(ctx->fallback_cipher)) { in aead_cra_init()
4353 return PTR_ERR(ctx->fallback_cipher); in aead_cra_init()
4373 if (ctx->fallback_cipher) { in aead_cra_exit()
4374 crypto_free_aead(ctx->fallback_cipher); in aead_cra_exit()
4375 ctx->fallback_cipher = NULL; in aead_cra_exit()