Lines Matching refs:cryptlen
62 unsigned int cryptlen; member
221 unsigned int cryptlen) in crypto_gcm_init_crypt() argument
233 cryptlen + sizeof(pctx->auth_tag), in crypto_gcm_init_crypt()
274 lengths.b = cpu_to_be64(gctx->cryptlen * 8); in gcm_hash_len()
335 remain = gcm_remain(gctx->cryptlen); in gcm_hash_crypt_continue()
364 if (gctx->cryptlen) in gcm_hash_assoc_remain_continue()
366 gctx->src, gctx->cryptlen, flags) ?: in gcm_hash_assoc_remain_continue()
462 req->assoclen + req->cryptlen, in gcm_enc_copy_hash()
473 gctx->cryptlen = req->cryptlen; in gcm_encrypt_continue()
501 crypto_gcm_init_crypt(req, req->cryptlen); in crypto_gcm_encrypt()
515 unsigned int cryptlen = req->cryptlen - authsize; in crypto_gcm_verify() local
519 req->assoclen + cryptlen, authsize, 0); in crypto_gcm_verify()
539 crypto_gcm_init_crypt(req, gctx->cryptlen); in gcm_dec_hash_continue()
550 unsigned int cryptlen = req->cryptlen; in crypto_gcm_decrypt() local
553 cryptlen -= authsize; in crypto_gcm_decrypt()
558 gctx->cryptlen = cryptlen; in crypto_gcm_decrypt()
858 req->cryptlen, iv); in crypto_rfc4106_crypt()
1074 aead_request_set_ad(subreq, req->assoclen + req->cryptlen - in crypto_rfc4543_crypt()
1075 subreq->cryptlen); in crypto_rfc4543_crypt()
1085 unsigned int nbytes = req->assoclen + req->cryptlen - in crypto_rfc4543_copy_src_to_dst()