Lines Matching refs:decrypt
70 const unsigned int ivlen, bool decrypt,
84 req->cryptlen, iv, ivlen, decrypt ? ctx->sa_in : ctx->sa_out,
325 bool is_ccm, bool decrypt)
441 static int crypto4xx_crypt_aes_ccm(struct aead_request *req, bool decrypt)
451 if (decrypt)
454 if (crypto4xx_aead_need_fallback(req, len, true, decrypt))
455 return crypto4xx_aead_fallback(req, ctx, decrypt);
457 memcpy(tmp_sa, decrypt ? ctx->sa_in : ctx->sa_out, ctx->sa_len * 4);
588 bool decrypt)
595 if (decrypt)
598 if (crypto4xx_aead_need_fallback(req, len, false, decrypt))
599 return crypto4xx_aead_fallback(req, ctx, decrypt);
606 decrypt ? ctx->sa_in : ctx->sa_out,