Lines Matching refs:HASH_CBLOCK
76 # ifndef HASH_CBLOCK
175 if (len >= HASH_CBLOCK || len + n >= HASH_CBLOCK) { in HASH_UPDATE()
176 memcpy(p + n, data, HASH_CBLOCK - n); in HASH_UPDATE()
178 n = HASH_CBLOCK - n; in HASH_UPDATE()
188 memset(p, 0, HASH_CBLOCK); /* keep it zeroed */ in HASH_UPDATE()
196 n = len / HASH_CBLOCK; in HASH_UPDATE()
199 n *= HASH_CBLOCK; in HASH_UPDATE()
225 if (n > (HASH_CBLOCK - 8)) { in HASH_FINAL()
226 memset(p + n, 0, HASH_CBLOCK - n); in HASH_FINAL()
230 memset(p + n, 0, HASH_CBLOCK - 8 - n); in HASH_FINAL()
232 p += HASH_CBLOCK - 8; in HASH_FINAL()
240 p -= HASH_CBLOCK; in HASH_FINAL()
243 OPENSSL_cleanse(p, HASH_CBLOCK); in HASH_FINAL()