Lines Matching refs:decrypt
67 const unsigned int ivlen, bool decrypt,
81 req->cryptlen, iv, ivlen, decrypt ? ctx->sa_in : ctx->sa_out,
308 bool is_ccm, bool decrypt)
424 static int crypto4xx_crypt_aes_ccm(struct aead_request *req, bool decrypt)
434 if (decrypt)
437 if (crypto4xx_aead_need_fallback(req, len, true, decrypt))
438 return crypto4xx_aead_fallback(req, ctx, decrypt);
440 memcpy(tmp_sa, decrypt ? ctx->sa_in : ctx->sa_out, ctx->sa_len * 4);
571 bool decrypt)
578 if (decrypt)
581 if (crypto4xx_aead_need_fallback(req, len, false, decrypt))
582 return crypto4xx_aead_fallback(req, ctx, decrypt);
589 decrypt ? ctx->sa_in : ctx->sa_out,