Home
last modified time | relevance | path

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

/net-tools-latest/tinydtls-0.8.2/sha2/
Dsha2.c555 unsigned int freespace, usedspace; in SHA256_Update() local
568 freespace = SHA256_BLOCK_LENGTH - usedspace; in SHA256_Update()
570 if (len >= freespace) { in SHA256_Update()
572 MEMCPY_BCOPY(&context->buffer[usedspace], data, freespace); in SHA256_Update()
573 context->bitcount += freespace << 3; in SHA256_Update()
574 len -= freespace; in SHA256_Update()
575 data += freespace; in SHA256_Update()
582 usedspace = freespace = 0; in SHA256_Update()
599 usedspace = freespace = 0; in SHA256_Update()
878 unsigned int freespace, usedspace; in SHA512_Update() local
[all …]