Lines Matching refs:alg
172 int alg = DST_ALG_DH;
187 ret = dst_key_fromfile(name1, id1, alg, type, current, mctx, &key1);
190 alg, dst_result_totext(ret));
195 ret = dst_key_fromfile(name2, id2, alg, type, current, mctx, &key2);
198 alg, dst_result_totext(ret));
226 alg, dst_result_totext(ret));
234 alg, dst_result_totext(ret));
276 io(dns_name_t *name, isc_uint16_t id, isc_uint16_t alg, int type,
292 ret = dst_key_fromfile(name, id, alg, type, current, mctx, &key);
295 alg, dst_result_totext(ret));
306 if (dst_key_alg(key) != alg) {
340 alg, dst_result_totext(ret));
359 alg, dst_result_totext(ret));
366 ret = dst_key_fromfile(name, id, alg, type, tmp, mctx, &key);
369 alg, dst_result_totext(ret));
389 generate(int alg, isc_mem_t *mctx, int size, int *nfails) {
393 ret = dst_key_generate(dns_rootname, alg, size, 0, 0, 0,
396 t_info("dst_key_generate(%d) returned: %s\n", alg,
402 if (alg != DST_ALG_DH)
704 int id, int alg, int type,
781 isc_result = dst_key_fromfile(name, id, alg, type, NULL, mctx, &key);
953 * av == datafile, sigpath, keyname, keyid, alg, exp_result.
962 char *alg;
974 alg = *av++;
979 if (! strcasecmp(alg, "DST_ALG_DSA"))
981 else if (! strcasecmp(alg, "DST_ALG_RSAMD5"))
984 t_info("Unknown algorithm %s\n", alg);
994 datapath, sigpath, keyname, key, alg, exp_result);