Searched refs:SHA256_BLOCK_SIZE (Results 1 - 2 of 2) sorted by relevance

/freebsd-11-stable/contrib/wpa/src/crypto/
H A Dsha256_i.h12 #define SHA256_BLOCK_SIZE 64 macro
17 u8 buf[SHA256_BLOCK_SIZE];
H A Dsha256-internal.c157 if (md->curlen == 0 && inlen >= SHA256_BLOCK_SIZE) {
160 md->length += SHA256_BLOCK_SIZE * 8;
161 in += SHA256_BLOCK_SIZE;
162 inlen -= SHA256_BLOCK_SIZE;
164 n = MIN(inlen, (SHA256_BLOCK_SIZE - md->curlen));
169 if (md->curlen == SHA256_BLOCK_SIZE) {
172 md->length += 8 * SHA256_BLOCK_SIZE;
206 while (md->curlen < SHA256_BLOCK_SIZE) {

Completed in 150 milliseconds