Home
last modified time | relevance | path

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

/external/boringssl/src/crypto/digest/
Dmd32_common.h110 #ifndef HASH_CBLOCK
264 if (len >= HASH_CBLOCK || len+n >= HASH_CBLOCK) in HASH_UPDATE()
266 memcpy (p+n,data,HASH_CBLOCK-n); in HASH_UPDATE()
268 n = HASH_CBLOCK-n; in HASH_UPDATE()
272 memset (p,0,HASH_CBLOCK); /* keep it zeroed */ in HASH_UPDATE()
282 n = len/HASH_CBLOCK; in HASH_UPDATE()
286 n *= HASH_CBLOCK; in HASH_UPDATE()
315 if (n > (HASH_CBLOCK-8)) in HASH_FINAL()
317 memset (p+n,0,HASH_CBLOCK-n); in HASH_FINAL()
321 memset (p+n,0,HASH_CBLOCK-8-n); in HASH_FINAL()
[all …]
/external/mdnsresponder/mDNSCore/
DDNSDigest.c258 #define HASH_CBLOCK MD5_CBLOCK macro
370 #ifndef HASH_CBLOCK
405 #define HASH_LBLOCK (HASH_CBLOCK/4)
676 if ((c->num+len) >= HASH_CBLOCK) in HASH_UPDATE()
684 len-=(HASH_CBLOCK-c->num); in HASH_UPDATE()
716 sw=(int)(len/HASH_CBLOCK); in HASH_UPDATE()
728 sw*=HASH_CBLOCK; in HASH_UPDATE()
736 mDNSPlatformMemCopy(p=c->data,data,HASH_CBLOCK); in HASH_UPDATE()
738 data+=HASH_CBLOCK; in HASH_UPDATE()
739 len-=HASH_CBLOCK; in HASH_UPDATE()
[all …]
/external/boringssl/src/crypto/sha/
Dsha256.c140 #define HASH_CBLOCK 64 macro
294 data += HASH_CBLOCK; in sha256_block_data_order()
Dsha1.c101 #define HASH_CBLOCK 64 macro
243 data += HASH_CBLOCK; in HASH_BLOCK_DATA_ORDER()
/external/boringssl/src/crypto/md4/
Dmd4.c80 #define HASH_CBLOCK 64 macro
/external/boringssl/src/crypto/md5/
Dmd5.c101 #define HASH_CBLOCK 64 macro