Lines Matching refs:length
151 size_t length) in Curl_sha512_256_update() argument
155 if(!EVP_DigestUpdate(*ctx, data, length)) in Curl_sha512_256_update()
238 size_t length) in Curl_sha512_256_update() argument
242 DEBUGASSERT((data != NULL) || (length == 0)); in Curl_sha512_256_update()
244 sha512_256_update(ctx, length, (const uint8_t *)data); in Curl_sha512_256_update()
633 size_t length) in MHDx_sha512_256_update() argument
640 DEBUGASSERT((data != NULL) || (length == 0)); in MHDx_sha512_256_update()
642 if(0 == length) in MHDx_sha512_256_update()
648 ctx->count += length; in MHDx_sha512_256_update()
649 if(length > ctx->count) in MHDx_sha512_256_update()
656 if(length >= bytes_left) { in MHDx_sha512_256_update()
663 length -= bytes_left; in MHDx_sha512_256_update()
669 while(CURL_SHA512_256_BLOCK_SIZE <= length) { in MHDx_sha512_256_update()
674 length -= CURL_SHA512_256_BLOCK_SIZE; in MHDx_sha512_256_update()
677 if(0 != length) { in MHDx_sha512_256_update()
680 memcpy(((unsigned char *) ctx_buf) + bytes_have, data, length); in MHDx_sha512_256_update()
823 unsigned int length) in Curl_sha512_256_update_i() argument
826 (void) Curl_sha512_256_update(context, data, length); in Curl_sha512_256_update_i()