Lines Matching defs:secret
111 isc_buffer_t secret;
206 const char *sep1, *sep2, *alg, *name, *secret;
218 perf_log_warning("invalid TSIG [alg:]name:secret");
230 secret = sep1 + 1;
232 /* [alg:]name:secret */
237 secret = sep2 + 1;
274 isc_buffer_init(&tsigkey->secret, tsigkey->secretdata,
276 result = isc_base64_decodestring(secret, &tsigkey->secret);
278 perf_log_warning("invalid TSIG secret '%s'", secret);
332 unsigned char *secret;
335 secret = isc_buffer_base(&tsigkey->secret);
336 length = isc_buffer_usedlength(&tsigkey->secret);
340 isc_hmacmd5_init(&ctx->hmacmd5, secret, length);
343 isc_hmacsha1_init(&ctx->hmacsha1, secret, length);
346 isc_hmacsha224_init(&ctx->hmacsha224, secret, length);
349 isc_hmacsha256_init(&ctx->hmacsha256, secret, length);
352 isc_hmacsha384_init(&ctx->hmacsha384, secret, length);
355 isc_hmacsha512_init(&ctx->hmacsha512, secret, length);