Lines Matching refs:alg
78 #define TSIG_HMACMD5_NAME "\010hmac-md5\007sig-alg\003reg\003int"
105 isc_constregion_t alg;
196 (key)->alg.base = TSIG_HMAC ## type ## _NAME; \
197 (key)->alg.length = sizeof(TSIG_HMAC ## type ## _NAME); \
206 const char *sep1, *sep2, *alg, *name, *secret;
218 perf_log_warning("invalid TSIG [alg:]name:secret");
226 alg = NULL;
232 /* [alg:]name:secret */
233 alg = arg;
242 if (alg == NULL || strncasecmp(alg, "hmac-md5:", 9) == 0) {
244 } else if (strncasecmp(alg, "hmac-sha1:", 10) == 0) {
246 } else if (strncasecmp(alg, "hmac-sha224:", 12) == 0) {
248 } else if (strncasecmp(alg, "hmac-sha256:", 12) == 0) {
250 } else if (strncasecmp(alg, "hmac-sha384:", 12) == 0) {
252 } else if (strncasecmp(alg, "hmac-sha512:", 12) == 0) {
255 perf_log_warning("invalid TSIG algorithm %.*s", alglen, alg);
431 alg_r = (isc_region_t *) &tsigkey->alg;
452 isc_buffer_copyregion(&tmp, alg_r); /* alg */
468 isc_buffer_copyregion(packet, alg_r); /* alg */