Lines Matching defs:decrypt
70 const unsigned int ivlen, bool decrypt,
84 req->cryptlen, iv, ivlen, decrypt ? ctx->sa_in : ctx->sa_out,
311 bool is_ccm, bool decrypt)
427 static int crypto4xx_crypt_aes_ccm(struct aead_request *req, bool decrypt)
437 if (decrypt)
440 if (crypto4xx_aead_need_fallback(req, len, true, decrypt))
441 return crypto4xx_aead_fallback(req, ctx, decrypt);
443 memcpy(tmp_sa, decrypt ? ctx->sa_in : ctx->sa_out, ctx->sa_len * 4);
574 bool decrypt)
581 if (decrypt)
584 if (crypto4xx_aead_need_fallback(req, len, false, decrypt))
585 return crypto4xx_aead_fallback(req, ctx, decrypt);
592 decrypt ? ctx->sa_in : ctx->sa_out,