Searched refs:SHA1_SIZE (Results 1 - 3 of 3) sorted by relevance

/netbsd-6-1-5-RELEASE/lib/libcrypt/
H A Dcrypt-sha1.c122 static unsigned char hmac_buf[SHA1_SIZE];
124 CRYPT_SHA1_SALT_LENGTH + SHA1_SIZE];
171 __hmac_sha1(hmac_buf, SHA1_SIZE, pw, pl, hmac_buf);
179 for (i = 0; i < SHA1_SIZE - 3; i += 3) {
186 ul = (hmac_buf[SHA1_SIZE - 2] << 16) |
187 (hmac_buf[SHA1_SIZE - 1] << 8) |
H A Dcrypt.h19 #define SHA1_SIZE 20 macro
/netbsd-6-1-5-RELEASE/external/bsd/libarchive/dist/libarchive/
H A Darchive_read_support_format_xar.c108 #define SHA1_SIZE 20 macro
1249 if (len != SHA1_SIZE ||
1250 memcmp(val, sum, SHA1_SIZE) != 0)

Completed in 125 milliseconds