Lines Matching defs:hash_len
894 elfsign_hash_common(ELFsign_t ess, uchar_t *hash, size_t *hash_len,
903 if (*hash_len < SHA1_DIGEST_LENGTH)
906 bzero(hash, *hash_len);
969 *hash_len = SHA1_DIGEST_LENGTH;
971 const int hashstr_len = (*hash_len) * 2 + 1;
975 tohexstr(hash, *hash_len, hashstr, hashstr_len);
988 * IN: ess, hash_len
989 * OUT: hash, hash_len
992 elfsign_hash(ELFsign_t ess, uchar_t *hash, size_t *hash_len)
994 return (elfsign_hash_common(ess, hash, hash_len, B_FALSE));
1001 * IN: ess, hash_len
1002 * OUT: hash, hash_len
1005 elfsign_hash_mem_resident(ELFsign_t ess, uchar_t *hash, size_t *hash_len)
1007 return (elfsign_hash_common(ess, hash, hash_len, B_TRUE));
1028 size_t hash_len;
1129 hash_len = sizeof (hash);
1130 if (elfsign_hash(ess, hash, &hash_len) != ELFSIGN_SUCCESS) {
1150 fsx.fsx_signature, fsx.fsx_sig_len, hash, hash_len)) {