Lines Matching refs:alg

85 				       unsigned int alg,
95 unsigned int alg,
101 unsigned int alg,
109 static isc_result_t algorithm_status(unsigned int alg);
121 #define CHECKALG(alg) \
124 _r = algorithm_status(alg); \
234 dst_algorithm_supported(unsigned int alg) {
237 if (alg >= DST_MAX_ALGS || dst_t_func[alg] == NULL)
391 unsigned int alg, int type, const char *directory,
405 CHECKALG(alg);
408 result = buildfilename(name, id, alg, type, directory, &b);
424 alg != key->key_alg) {
560 isc_uint8_t alg, proto;
575 alg = isc_buffer_getuint8(source);
577 id = dst_region_computeid(&r, alg);
586 result = frombuffer(name, alg, flags, proto, rdclass, source,
597 dst_key_frombuffer(dns_name_t *name, unsigned int alg,
607 result = frombuffer(name, alg, flags, protocol, rdclass, source,
686 dst_key_fromlabel(dns_name_t *name, int alg, unsigned int flags,
700 CHECKALG(alg);
702 key = get_key_struct(name, alg, flags, protocol, 0, rdclass, mctx);
728 dst_key_generate(dns_name_t *name, unsigned int alg,
742 CHECKALG(alg);
744 key = get_key_struct(name, alg, flags, protocol, bits, rdclass, mctx);
942 get_key_struct(dns_name_t *name, unsigned int alg,
977 key->key_alg = alg;
984 key->func = dst_t_func[alg];
1228 unsigned int alg, unsigned int type,
1257 sprintf((char *) isc_buffer_used(out), "+%03d+%05d%s", alg, id,
1282 frombuffer(dns_name_t *name, unsigned int alg, unsigned int flags,
1294 key = get_key_struct(name, alg, flags, protocol, 0, rdclass, mctx);
1299 ret = algorithm_status(alg);
1321 algorithm_status(unsigned int alg) {
1324 if (dst_algorithm_supported(alg))
1327 if (alg == DST_ALG_RSAMD5 || alg == DST_ALG_RSASHA1 ||
1328 alg == DST_ALG_DSA || alg == DST_ALG_DH ||
1329 alg == DST_ALG_HMACMD5 || alg == DST_ALG_NSEC3DSA ||
1330 alg == DST_ALG_NSEC3RSASHA1 ||
1331 alg == DST_ALG_RSASHA256 || alg == DST_ALG_RSASHA512)