Home
last modified time | relevance | path

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

/titanic_41/usr/src/psm/stand/boot/sparc/common/
H A Dwanboot.c373 verify_digests(const char *what, unsigned char *cdigest, unsigned char *sdigest) in verify_digests() argument
377 if (bcmp(sdigest, cdigest, HMAC_DIGEST_LEN) != 0) { in verify_digests()
385 } else if (bcmp(cdigest, null_digest, HMAC_DIGEST_LEN) == 0) { in verify_digests()
976 size_t length, char **devpath, off_t *offset, unsigned char *cdigest) in process_miniroot() argument
1004 HMACFinal(&sha, g_hash_key, WANBOOT_HMAC_KEY_SIZE, cdigest); in process_miniroot()
1052 unsigned char cdigest[HMAC_DIGEST_LEN]; in get_miniroot() local
1100 bzero(cdigest, sizeof (cdigest)); in get_miniroot()
1116 mini_size, devpath, &offset, cdigest)) > 0) { in get_miniroot()
1130 if (ret != 0 || !verify_digests(MINIROOT, cdigest, sdigest)) { in get_miniroot()
1219 unsigned char *cdigest, unsigned char *sdigest) in process_wanbootfs() argument
[all …]