Home
last modified time | relevance | path

Searched refs:HMAC_DIGEST_LEN (Results 1 – 4 of 4) sorted by relevance

/titanic_44/usr/src/common/net/wanboot/crypt/
H A Dhmac_sha1.h39 #define HMAC_DIGEST_LEN 20 macro
44 uchar_t digest[HMAC_DIGEST_LEN]);
/titanic_44/usr/src/psm/stand/boot/sparc/common/
H A Dwanboot.c95 #define NONCELEN (2 * HMAC_DIGEST_LEN) /* two hex nibbles/byte */
230 unsigned char digest[HMAC_DIGEST_LEN]; in generate_nonce()
375 static char null_digest[HMAC_DIGEST_LEN]; in verify_digests()
377 if (bcmp(sdigest, cdigest, HMAC_DIGEST_LEN) != 0) { in verify_digests()
382 if (bcmp(sdigest, null_digest, HMAC_DIGEST_LEN) == 0) { in verify_digests()
385 } else if (bcmp(cdigest, null_digest, HMAC_DIGEST_LEN) == 0) { in verify_digests()
437 if (digest_size != HMAC_DIGEST_LEN) { in read_digest()
1052 unsigned char cdigest[HMAC_DIGEST_LEN]; in get_miniroot()
1053 unsigned char sdigest[HMAC_DIGEST_LEN]; in get_miniroot()
1379 unsigned char cdigest[HMAC_DIGEST_LEN]; in get_wanbootfs()
[all …]
/titanic_44/usr/src/cmd/cmd-inet/usr.lib/wanboot/hmac/
H A Dhmac.c62 uint8_t digest[HMAC_DIGEST_LEN]; in hash_gen()
/titanic_44/usr/src/cmd/cmd-inet/usr.lib/wanboot/wanboot-cgi/
H A Dwanboot-cgi.c385 static char null_hash[HMAC_DIGEST_LEN]; in create_null_hash()
585 sbuf.st_size < HMAC_DIGEST_LEN) { in hash_payload()