Home
last modified time | relevance | path

Searched refs:CURL_SHA256_BLOCK_SIZE (Results 1 – 1 of 1) sorted by relevance

/curl/lib/
H A Dsha256.c424 #define CURL_SHA256_BLOCK_SIZE 64 in my_sha256_update() macro
428 if(md->curlen == 0 && inlen >= CURL_SHA256_BLOCK_SIZE) { in my_sha256_update()
431 md->length += CURL_SHA256_BLOCK_SIZE * 8; in my_sha256_update()
432 in += CURL_SHA256_BLOCK_SIZE; in my_sha256_update()
433 inlen -= CURL_SHA256_BLOCK_SIZE; in my_sha256_update()
436 n = CURLMIN(inlen, (CURL_SHA256_BLOCK_SIZE - md->curlen)); in my_sha256_update()
441 if(md->curlen == CURL_SHA256_BLOCK_SIZE) { in my_sha256_update()
444 md->length += 8 * CURL_SHA256_BLOCK_SIZE; in my_sha256_update()

Completed in 4 milliseconds