Searched defs:hmac (Results 1 - 5 of 5) sorted by relevance
/bind-9.11.3/lib/isccc/ |
H A D | cc.c | 247 sign(unsigned char *data, unsigned int length, unsigned char *hmac, argument 335 PUT_MEM(digestb64, HMD5_LENGTH, hmac); 338 PUT_MEM(digestb64, HSHA_LENGTH, hmac); 429 isccc_sexpr_t *_auth, *hmac; local 441 hmac = isccc_alist_lookup(_auth, "hmd5"); 444 hmac = isccc_alist_lookup(_auth, "hsha"); 445 if (!isccc_sexpr_binaryp(hmac)) 526 region = isccc_sexpr_tobinary(hmac); 539 region = isccc_sexpr_tobinary(hmac);
|
/bind-9.11.3/bin/named/ |
H A D | config.c | 103 session-keyalg hmac-sha256;\n\ 938 hmacsha256, hmacsha384, hmacsha512 } hmac; member in struct:keyalgorithms 943 { "hmac-md5", hmacmd5, DST_ALG_HMACMD5, 128 }, 944 { "hmac-md5.sig-alg.reg.int", hmacmd5, DST_ALG_HMACMD5, 0 }, 945 { "hmac-md5.sig-alg.reg.int.", hmacmd5, DST_ALG_HMACMD5, 0 }, 947 { "hmac-sha1", hmacsha1, DST_ALG_HMACSHA1, 160 }, 948 { "hmac-sha224", hmacsha224, DST_ALG_HMACSHA224, 224 }, 949 { "hmac-sha256", hmacsha256, DST_ALG_HMACSHA256, 256 }, 950 { "hmac-sha384", hmacsha384, DST_ALG_HMACSHA384, 384 }, 951 { "hmac [all...] |
/bind-9.11.3/contrib/dnsperf-2.1.0.0-1/ |
H A D | dns.c | 78 #define TSIG_HMACMD5_NAME "\010hmac-md5\007sig-alg\003reg\003int" 79 #define TSIG_HMACSHA1_NAME "\011hmac-sha1" 80 #define TSIG_HMACSHA224_NAME "\013hmac-sha224" 81 #define TSIG_HMACSHA256_NAME "\013hmac-sha256" 82 #define TSIG_HMACSHA384_NAME "\013hmac-sha384" 83 #define TSIG_HMACSHA512_NAME "\013hmac-sha512" 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 419 hmac_ctx_t hmac; local [all...] |
/bind-9.11.3/bin/nsupdate/ |
H A D | nsupdate.c | 455 parse_hmac(dns_name_t **hmac, const char *hmacstr, size_t len, argument 462 REQUIRE(hmac != NULL && *hmac == NULL); 474 if (strcasecmp(buf, "hmac-md5") == 0) { 475 *hmac = DNS_TSIG_HMACMD5_NAME; 476 } else if (strncasecmp(buf, "hmac-md5-", 9) == 0) { 477 *hmac = DNS_TSIG_HMACMD5_NAME; 486 if (strcasecmp(buf, "hmac-sha1") == 0) { 487 *hmac = DNS_TSIG_HMACSHA1_NAME; 488 } else if (strncasecmp(buf, "hmac [all...] |
/bind-9.11.3/bin/dig/ |
H A D | dighost.c | 1209 parse_hmac(const char *hmac) { argument 1213 REQUIRE(hmac != NULL); 1215 len = strlen(hmac); 1217 fatal("unknown key type '%.*s'", (int)len, hmac); 1218 strlcpy(buf, hmac, sizeof(buf)); 1223 if (strcasecmp(buf, "hmac-md5") == 0) { 1225 } else if (strncasecmp(buf, "hmac-md5-", 9) == 0) { 1230 if (strcasecmp(buf, "hmac-sha1") == 0) { 1233 } else if (strncasecmp(buf, "hmac-sha1-", 10) == 0) { 1236 } else if (strcasecmp(buf, "hmac [all...] |
Completed in 69 milliseconds