Lines Matching refs:alg
143 find_value(const char *s, const unsigned int alg) {
148 (TAG_ALG(map[i].value) == alg))
378 unsigned int alg)
385 if (priv->elements[j].tag == TAG(alg, i))
394 check_data(const dst_private_t *priv, const unsigned int alg,
401 switch (alg) {
432 return (check_hmac_sha(priv, HMACSHA1_NTAGS, alg));
434 return (check_hmac_sha(priv, HMACSHA224_NTAGS, alg));
436 return (check_hmac_sha(priv, HMACSHA256_NTAGS, alg));
438 return (check_hmac_sha(priv, HMACSHA384_NTAGS, alg));
440 return (check_hmac_sha(priv, HMACSHA512_NTAGS, alg));
462 dst__privstruct_parse(dst_key_t *key, unsigned int alg, isc_lex_t *lex,
612 tag = find_value(DST_AS_STR(token), alg);
648 check = check_data(priv, alg == DST_ALG_RSA ? DST_ALG_RSASHA1 : alg,
651 check = check_data(priv, alg, ISC_TRUE, external);