Lines Matching defs:encrypt
989 struct aead_request *areq, bool encrypt)
995 unsigned int cryptlen = areq->cryptlen - (encrypt ? 0 : authsize);
1194 bool encrypt,
1204 unsigned int cryptlen = areq->cryptlen - (encrypt ? 0 : authsize);
1270 if (is_ipsec_esp && encrypt)
1276 is_ipsec_esp && !encrypt, 1);
1279 if (!encrypt && is_ipsec_esp) {
1290 } else if (!encrypt) {
1310 ipsec_esp_unmap(dev, edesc, areq, encrypt);
1329 bool encrypt)
1356 src_len = assoclen + cryptlen + (encrypt ? 0 : authsize);
1363 dst_len = assoclen + cryptlen + (encrypt ? authsize : 0);
1378 if (src_nents || dst_nents || !encrypt) {
1418 int icv_stashing, bool encrypt)
1424 unsigned int cryptlen = areq->cryptlen - (encrypt ? 0 : authsize);
1429 areq->base.flags, encrypt);
1443 /* set encrypt */
1640 areq, bool encrypt)
1648 areq->base.flags, encrypt);
1670 /* set encrypt */
3199 t_alg->algt.alg.skcipher.encrypt = skcipher_encrypt;
3214 t_alg->algt.alg.aead.encrypt = aead_encrypt;