Home
last modified time | relevance | path

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

/haiku/src/libs/compat/openbsd_wlan/crypto/
H A Dsha1.c151 unsigned char finalcount[8]; in SHA1Final() local
154 finalcount[i] = (unsigned char)((context->count >> in SHA1Final()
161 SHA1Update(context, finalcount, 8); /* Should cause a SHA1Transform() */ in SHA1Final()
167 explicit_bzero(&finalcount, sizeof(finalcount)); in SHA1Final()
/haiku/src/libs/libsolv/solv/
H A Dsha1.c207 uint8_t finalcount[8]; in solv_SHA1_Final() local
210 finalcount[i] = (unsigned char)((context->count[(i >= 4 ? 0 : 1)] in solv_SHA1_Final()
217 solv_SHA1_Update(context, finalcount, 8); /* Should cause a SHA1_Transform() */ in solv_SHA1_Final()
228 memset(finalcount, 0, 8); /* SWR */ in solv_SHA1_Final()