Lines Matching refs:cryptlen
59 unsigned int cryptlen; member
184 unsigned int cryptlen) in crypto_gcm_init_crypt() argument
196 cryptlen + sizeof(pctx->auth_tag), in crypto_gcm_init_crypt()
237 lengths.b = cpu_to_be64(gctx->cryptlen * 8); in gcm_hash_len()
298 remain = gcm_remain(gctx->cryptlen); in gcm_hash_crypt_continue()
327 if (gctx->cryptlen) in gcm_hash_assoc_remain_continue()
329 gctx->src, gctx->cryptlen, flags) ?: in gcm_hash_assoc_remain_continue()
425 req->assoclen + req->cryptlen, in gcm_enc_copy_hash()
436 gctx->cryptlen = req->cryptlen; in gcm_encrypt_continue()
464 crypto_gcm_init_crypt(req, req->cryptlen); in crypto_gcm_encrypt()
478 unsigned int cryptlen = req->cryptlen - authsize; in crypto_gcm_verify() local
482 req->assoclen + cryptlen, authsize, 0); in crypto_gcm_verify()
502 crypto_gcm_init_crypt(req, gctx->cryptlen); in gcm_dec_hash_continue()
513 unsigned int cryptlen = req->cryptlen; in crypto_gcm_decrypt() local
516 cryptlen -= authsize; in crypto_gcm_decrypt()
521 gctx->cryptlen = cryptlen; in crypto_gcm_decrypt()
796 req->cryptlen, iv); in crypto_rfc4106_crypt()
1013 aead_request_set_ad(subreq, req->assoclen + req->cryptlen - in crypto_rfc4543_crypt()
1014 subreq->cryptlen); in crypto_rfc4543_crypt()
1024 unsigned int nbytes = req->assoclen + req->cryptlen - in crypto_rfc4543_copy_src_to_dst()