Home
last modified time | relevance | path

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

/curl/lib/
H A Dcurl_sha512_256.c654 if(0 != bytes_have) { in MHDx_sha512_256_update()
655 unsigned int bytes_left = CURL_SHA512_256_BLOCK_SIZE - bytes_have; in MHDx_sha512_256_update()
659 memcpy(((unsigned char *) ctx_buf) + bytes_have, in MHDx_sha512_256_update()
665 bytes_have = 0; in MHDx_sha512_256_update()
680 memcpy(((unsigned char *) ctx_buf) + bytes_have, data, length); in MHDx_sha512_256_update()
736 ((unsigned char *) ctx_buf)[bytes_have++] = 0x80U; in MHDx_sha512_256_finish()
741 if(bytes_have < CURL_SHA512_256_BLOCK_SIZE) in MHDx_sha512_256_finish()
742 memset(((unsigned char *) ctx_buf) + bytes_have, 0, in MHDx_sha512_256_finish()
743 CURL_SHA512_256_BLOCK_SIZE - bytes_have); in MHDx_sha512_256_finish()
747 bytes_have = 0; in MHDx_sha512_256_finish()
[all …]

Completed in 8 milliseconds