• Home
  • Raw
  • Download

Lines Matching refs:cryptlen

61 	unsigned int cryptlen;  member
191 unsigned int cryptlen) in crypto_gcm_init_crypt() argument
216 cryptlen + sizeof(pctx->auth_tag), in crypto_gcm_init_crypt()
267 lengths.b = cpu_to_be64(gctx->cryptlen * 8); in gcm_hash_len()
356 remain = gcm_remain(gctx->cryptlen); in __gcm_hash_crypt_done()
381 if (!err && gctx->cryptlen) { in __gcm_hash_assoc_remain_done()
382 remain = gcm_remain(gctx->cryptlen); in __gcm_hash_assoc_remain_done()
386 gctx->src, gctx->cryptlen); in __gcm_hash_assoc_remain_done()
486 remain = gcm_remain(gctx->cryptlen); in gcm_hash()
488 err = gcm_hash_update(req, pctx, complete, gctx->src, gctx->cryptlen); in gcm_hash()
513 scatterwalk_map_and_copy(auth_tag, req->dst, req->cryptlen, in gcm_enc_copy_hash()
552 crypto_gcm_init_crypt(abreq, req, req->cryptlen); in crypto_gcm_encrypt()
557 gctx->cryptlen = req->cryptlen; in crypto_gcm_encrypt()
581 unsigned int cryptlen = req->cryptlen - authsize; in crypto_gcm_verify() local
584 scatterwalk_map_and_copy(iauth_tag, req->src, cryptlen, authsize, 0); in crypto_gcm_verify()
608 crypto_gcm_init_crypt(abreq, req, gctx->cryptlen); in gcm_dec_hash_done()
626 unsigned int cryptlen = req->cryptlen; in crypto_gcm_decrypt() local
629 if (cryptlen < authsize) in crypto_gcm_decrypt()
631 cryptlen -= authsize; in crypto_gcm_decrypt()
634 gctx->cryptlen = cryptlen; in crypto_gcm_decrypt()
643 crypto_gcm_init_crypt(abreq, req, cryptlen); in crypto_gcm_decrypt()
913 aead_request_set_crypt(subreq, req->src, req->dst, req->cryptlen, iv); in crypto_rfc4106_crypt()
1111 req->cryptlen, in crypto_rfc4543_done()
1144 req->cryptlen - authsize, in crypto_rfc4543_crypt()
1156 assoclen += 8 + req->cryptlen - (enc ? 0 : authsize); in crypto_rfc4543_crypt()
1187 unsigned int nbytes = req->cryptlen - (enc ? 0 : authsize); in crypto_rfc4543_copy_src_to_dst()
1213 scatterwalk_map_and_copy(rctx->auth_tag, req->dst, req->cryptlen, in crypto_rfc4543_encrypt()