Home
last modified time | relevance | path

Searched refs:need_fallback (Results 1 – 4 of 4) sorted by relevance

/linux/drivers/crypto/qce/
H A Daead.c521 ctx->need_fallback = true; in qce_aead_crypt()
525 if (ctx->need_fallback) { in qce_aead_crypt()
527 ctx->need_fallback = false; in qce_aead_crypt()
588 ctx->need_fallback = true; in qce_aead_ccm_setkey()
629 ctx->need_fallback = true; in qce_aead_setkey()
637 ctx->need_fallback = true; in qce_aead_setkey()
671 ctx->need_fallback = false; in qce_aead_init()
H A Daead.h22 bool need_fallback; member
/linux/drivers/crypto/allwinner/sun4i-ss/
H A Dsun4i-ss-cipher.c207 bool need_fallback = false; in sun4i_ss_cipher_poll() local
219 need_fallback = true; in sun4i_ss_cipher_poll()
236 if (no_chunk == 1 && !need_fallback) in sun4i_ss_cipher_poll()
239 if (need_fallback) in sun4i_ss_cipher_poll()
/linux/drivers/crypto/hisilicon/sec2/
H A Dsec_crypto.c2259 struct sec_req *sreq, bool *need_fallback) in sec_skcipher_param_check() argument
2271 *need_fallback = true; in sec_skcipher_param_check()
2330 bool need_fallback = false; in sec_skcipher_crypto() local
2348 ret = sec_skcipher_param_check(ctx, req, &need_fallback); in sec_skcipher_crypto()
2352 if (unlikely(ctx->c_ctx.fallback || need_fallback)) in sec_skcipher_crypto()
2492 static int sec_aead_param_check(struct sec_ctx *ctx, struct sec_req *sreq, bool *need_fallback) in sec_aead_param_check() argument
2516 *need_fallback = true; in sec_aead_param_check()
2563 bool need_fallback = false; in sec_aead_crypto() local
2576 ret = sec_aead_param_check(ctx, req, &need_fallback); in sec_aead_crypto()
2578 if (need_fallback) in sec_aead_crypto()