phash
phash[EVP_MAX_MD_SIZE];
if (!EVP_Digest((void *)param, plen, phash, NULL, md, NULL))
good &= constant_time_is_zero(CRYPTO_memcmp(db, phash, mdlen));
int *psign, int *phash, int *psignandhash,
int *psign, int *phash, int *psignandhash,
int *psign, int *phash, int *psignhash,
if (phash != NULL)
*phash = lu != NULL ? lu->hash : NID_undef;
int *psign, int *phash, int *psignhash,
if (phash != NULL)
*phash = shsigalgs->hash;
static void get_sigorhash(int *psig, int *phash, const char *str)
*phash = OBJ_sn2nid(str);
if (*phash == NID_undef)
*phash = OBJ_ln2nid(str);
LIST_HEAD(phhead, phash);
LIST_ENTRY(phash) le;
static struct phhead phash[PHASH_SIZE];
struct phash *ph;
ph = emalloc(sizeof(struct phash));
LIST_INSERT_HEAD(&phash[pid % PHASH_SIZE], ph, le);
struct phash *ph, *tph;
LIST_FOREACH_SAFE(ph, &phash[i], le, tph)
struct phash *ph;
LIST_FOREACH(ph, &phash[pid % PHASH_SIZE], le)