Home
last modified time | relevance | path

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

/external/ipsec-tools/src/racoon/missing/crypto/sha2/
Dsha2.c519 unsigned int freespace, usedspace; in SHA256_Update() local
529 usedspace = (context->bitcount >> 3) % SHA256_BLOCK_LENGTH; in SHA256_Update()
530 if (usedspace > 0) { in SHA256_Update()
532 freespace = SHA256_BLOCK_LENGTH - usedspace; in SHA256_Update()
536 bcopy(data, &context->buffer[usedspace], freespace); in SHA256_Update()
543 bcopy(data, &context->buffer[usedspace], len); in SHA256_Update()
546 usedspace = freespace = 0; in SHA256_Update()
563 usedspace = freespace = 0; in SHA256_Update()
568 unsigned int usedspace; in SHA256_Final() local
575 usedspace = (context->bitcount >> 3) % SHA256_BLOCK_LENGTH; in SHA256_Final()
[all …]
/external/openthread/third_party/tcplp/bsdtcp/
Dtcp_input.c2212 uint32_t usedspace = lbuf_used_space(&tp->sendbuf); in tcp_do_segment() local
2213 tp->snd_wnd -= usedspace; in tcp_do_segment()
2214 poppedbytes = lbuf_pop(&tp->sendbuf, usedspace, &sig->links_popped); in tcp_do_segment()
2215 KASSERT(poppedbytes == usedspace, ("Could not fully empty send buffer")); in tcp_do_segment()