Lines Matching refs:hash_len
893 elfsign_hash_common(ELFsign_t ess, uchar_t *hash, size_t *hash_len,
902 if (*hash_len < SHA1_DIGEST_LENGTH)
905 bzero(hash, *hash_len);
968 *hash_len = SHA1_DIGEST_LENGTH;
970 const int hashstr_len = (*hash_len) * 2 + 1;
974 tohexstr(hash, *hash_len, hashstr, hashstr_len);
987 * IN: ess, hash_len
988 * OUT: hash, hash_len
991 elfsign_hash(ELFsign_t ess, uchar_t *hash, size_t *hash_len)
993 return (elfsign_hash_common(ess, hash, hash_len, B_FALSE));
1000 * IN: ess, hash_len
1001 * OUT: hash, hash_len
1004 elfsign_hash_mem_resident(ELFsign_t ess, uchar_t *hash, size_t *hash_len)
1006 return (elfsign_hash_common(ess, hash, hash_len, B_TRUE));
1027 size_t hash_len;
1128 hash_len = sizeof (hash);
1129 if (elfsign_hash(ess, hash, &hash_len) != ELFSIGN_SUCCESS) {
1149 fsx.fsx_signature, fsx.fsx_sig_len, hash, hash_len)) {