Lines Matching defs:hash
84 unsigned int hash;
123 static int add_entry(enum Type type, unsigned int hash, const char *filename,
131 unsigned int ndx = (type + hash) % OSSL_NELEM(hash_table);
134 if (bp->type == type && bp->hash == hash)
137 bp = app_malloc(sizeof(*bp), "hash bucket");
141 bp->hash = hash;
163 "%s: error: hash table overflow for %s\n",
200 unsigned int hash = 0;
210 hash <<= 4;
211 hash += OPENSSL_hexchar2int(ch);
231 return add_entry(type, hash, linktarget, NULL, 0, id);
309 BIO_printf(bio_err, "%s: error calculating SHA1 hash value\n",
420 BIO_snprintf(buf, buflen, "%08x.%s%d", bp->hash,
431 dirname, pathsep, &n, bp->hash,
453 dirname, pathsep, &n, bp->hash,
491 {"compat", OPT_COMPAT, '-', "Create both new- and old-style hash links"},
492 {"old", OPT_OLD, '-', "Use old-style hash to generate links"},