Lines Matching refs:cryptlen
56 unsigned int cryptlen; member
174 unsigned int cryptlen) in crypto_gcm_init_crypt() argument
186 cryptlen + sizeof(pctx->auth_tag), in crypto_gcm_init_crypt()
227 lengths.b = cpu_to_be64(gctx->cryptlen * 8); in gcm_hash_len()
287 remain = gcm_remain(gctx->cryptlen); in gcm_hash_crypt_continue()
316 if (gctx->cryptlen) in gcm_hash_assoc_remain_continue()
318 gctx->src, gctx->cryptlen, flags) ?: in gcm_hash_assoc_remain_continue()
413 req->assoclen + req->cryptlen, in gcm_enc_copy_hash()
424 gctx->cryptlen = req->cryptlen; in gcm_encrypt_continue()
452 crypto_gcm_init_crypt(req, req->cryptlen); in crypto_gcm_encrypt()
466 unsigned int cryptlen = req->cryptlen - authsize; in crypto_gcm_verify() local
470 req->assoclen + cryptlen, authsize, 0); in crypto_gcm_verify()
490 crypto_gcm_init_crypt(req, gctx->cryptlen); in gcm_dec_hash_continue()
501 unsigned int cryptlen = req->cryptlen; in crypto_gcm_decrypt() local
504 cryptlen -= authsize; in crypto_gcm_decrypt()
509 gctx->cryptlen = cryptlen; in crypto_gcm_decrypt()
749 req->cryptlen, iv); in crypto_rfc4106_crypt()
931 unsigned int nbytes = req->assoclen + req->cryptlen - in crypto_rfc4543_crypt()
945 aead_request_set_ad(subreq, req->assoclen + req->cryptlen - in crypto_rfc4543_crypt()
946 subreq->cryptlen); in crypto_rfc4543_crypt()