Lines Matching defs:hashes
649 * digests of hashes computed from an ELF file.
661 * do256 > 0: generate hex digests of SHA-256 hashes of signed content
664 * do512 > 0: generate hex digests of SHA-512/256 hashes of signed
678 * these hashes changes, those prefixes must also be changed.
683 hashinfo_t *hashes = NULL;
727 if ((hashes = calloc(1, sizeof (hashinfo_t))) == NULL) {
739 char *hp = &hashes->elfhash[0];
762 char *hp = &hashes->hash_sha256[12];
767 (void) snprintf(hashes->hash_sha256, 13, "gelf:sha256:");
781 char *hp = &hashes->hash_sha512t_256[17];
786 (void) snprintf(hashes->hash_sha512t_256, 18,
808 char *hp = &hashes->uhash_sha256[21];
813 (void) snprintf(hashes->uhash_sha256, 22,
826 char *hp = &hashes->uhash_sha512t_256[26];
831 (void) snprintf(hashes->uhash_sha512t_256, 27,
854 return (hashes);
857 free(hashes);
858 hashes = NULL;