/bind-9.6-ESV-R11/lib/dns/ |
H A D | gssapi_link.c | 132 gssapi_sign(dst_context_t *dctx, isc_buffer_t *sig) { argument 167 if (gsig.length > isc_buffer_availablelength(sig)) { 176 isc_buffer_putmem(sig, gsig.value, gsig.length); 187 gssapi_verify(dst_context_t *dctx, const isc_region_t *sig) { argument 209 buf = isc_mem_allocate(dst__memory_pool, sig->length); 212 memmove(buf, sig->base, sig->length); 214 r.length = sig->length;
|
H A D | diff.c | 200 dns_rdata_rrsig_t sig; local 207 (void)dns_rdata_tostruct(&rdata, &sig, NULL); 211 when = sig.timeexpire - delta; 217 (void)dns_rdata_tostruct(&rdata, &sig, NULL); 221 if (when == 0 || sig.timeexpire - delta < when) 222 when = sig.timeexpire - delta;
|
H A D | openssldsa_link.c | 135 openssldsa_sign(dst_context_t *dctx, isc_buffer_t *sig) { argument 151 isc_buffer_availableregion(sig, &r); 218 isc_buffer_add(sig, ISC_SHA1_DIGESTLENGTH * 2 + 1); 224 openssldsa_verify(dst_context_t *dctx, const isc_region_t *sig) { argument 228 unsigned char *cp = sig->base; 254 if (sig->length != 2 * ISC_SHA1_DIGESTLENGTH + 1) {
|
H A D | opensslrsa_link.c | 366 opensslrsa_sign(dst_context_t *dctx, isc_buffer_t *sig) { argument 392 isc_buffer_availableregion(sig, &r); 499 isc_buffer_add(sig, siglen); 505 opensslrsa_verify(dst_context_t *dctx, const isc_region_t *sig) { argument 530 status = EVP_VerifyFinal(evp_md_ctx, sig->base, sig->length, pkey); 594 if (sig->length != (unsigned int) RSA_size(rsa)) 603 status = RSA_verify(type, digest, digestlen, sig->base, 622 status = RSA_public_decrypt(sig->length, sig [all...] |
H A D | dnssec.c | 195 dns_rdata_rrsig_t sig; local 231 sig.mctx = mctx; 232 sig.common.rdclass = set->rdclass; 233 sig.common.rdtype = dns_rdatatype_rrsig; 234 ISC_LINK_INIT(&sig.common, link); 239 dns_name_init(&sig.signer, NULL); 243 dns_name_clone(dns_fixedname_name(&fsigner), &sig.signer); 245 sig.covered = set->type; 246 sig.algorithm = dst_key_alg(key); 247 sig 374 dns_rdata_rrsig_t sig; local 693 dns_rdata_sig_t sig; /* SIG(0) */ local 832 dns_rdata_sig_t sig; /* SIG(0) */ local 969 dns_rdata_rrsig_t sig; local [all...] |
H A D | dst_api.c | 304 dst_context_sign(dst_context_t *dctx, isc_buffer_t *sig) { argument 308 REQUIRE(sig != NULL); 321 return (key->func->sign(dctx, sig)); 325 dst_context_verify(dst_context_t *dctx, isc_region_t *sig) { argument 327 REQUIRE(sig != NULL); 335 return (dctx->key->func->verify(dctx, sig));
|
H A D | hmac_link.c | 108 hmacmd5_sign(dst_context_t *dctx, isc_buffer_t *sig) { argument 112 if (isc_buffer_availablelength(sig) < ISC_MD5_DIGESTLENGTH) 114 digest = isc_buffer_used(sig); 116 isc_buffer_add(sig, ISC_MD5_DIGESTLENGTH); 122 hmacmd5_verify(dst_context_t *dctx, const isc_region_t *sig) { argument 125 if (sig->length > ISC_MD5_DIGESTLENGTH) 128 if (isc_hmacmd5_verify2(hmacmd5ctx, sig->base, sig->length)) 376 hmacsha1_sign(dst_context_t *dctx, isc_buffer_t *sig) { argument 380 if (isc_buffer_availablelength(sig) < ISC_SHA1_DIGESTLENGT 390 hmacsha1_verify(dst_context_t *dctx, const isc_region_t *sig) argument 645 hmacsha224_sign(dst_context_t *dctx, isc_buffer_t *sig) argument 659 hmacsha224_verify(dst_context_t *dctx, const isc_region_t *sig) argument 914 hmacsha256_sign(dst_context_t *dctx, isc_buffer_t *sig) argument 928 hmacsha256_verify(dst_context_t *dctx, const isc_region_t *sig) argument 1183 hmacsha384_sign(dst_context_t *dctx, isc_buffer_t *sig) argument 1197 hmacsha384_verify(dst_context_t *dctx, const isc_region_t *sig) argument 1452 hmacsha512_sign(dst_context_t *dctx, isc_buffer_t *sig) argument 1466 hmacsha512_verify(dst_context_t *dctx, const isc_region_t *sig) argument [all...] |
H A D | master.c | 1826 dns_rdata_rrsig_t sig; local 1827 result = dns_rdata_tostruct(&rdata[rdcount], &sig, 1830 if (isc_serial_lt(sig.timeexpire, now)) { 2769 dns_rdata_rrsig_t sig; local 2774 (void)dns_rdata_tostruct(rdata, &sig, NULL); 2775 when = sig.timeexpire - resign; 2779 (void)dns_rdata_tostruct(rdata, &sig, NULL); 2780 if (sig.timeexpire - resign < when) 2781 when = sig.timeexpire - resign;
|
H A D | masterdump.c | 792 int sig; local 795 sig = 1; 798 sig = 0; 811 return (t << 1) + sig;
|
H A D | message.c | 2867 dns_rdata_sig_t sig; local 2873 result = dns_rdata_tostruct(&rdata, &sig, NULL); 2881 dns_name_clone(&sig.signer, signer); 2882 dns_rdata_freestruct(&sig); 2994 dns_rdata_sig_t sig; local 3012 result = dns_rdata_tostruct(&rdata, &sig, msg->mctx); 3019 result = dns_view_simplefind(view, &sig.signer, 3045 result = dst_key_fromdns(&sig.signer, rdata.rdclass, 3049 if (dst_key_alg(key) != sig.algorithm || 3050 dst_key_id(key) != sig [all...] |
H A D | validator.c | 1401 dns_rdata_rrsig_t sig; local 1429 result = dns_rdata_tostruct(&sigrdata, &sig, NULL); 1432 if (sig.algorithm == key.algorithm && 1433 sig.keyid == keytag) 1673 dns_rdata_rrsig_t sig; local 1790 result = dns_rdata_tostruct(&sigrdata, &sig, NULL); 1792 if (dlv.key_tag != sig.keyid || 1793 dlv.algorithm != sig.algorithm) 1806 result = verify(val, dstkey, &sigrdata, sig.keyid); 1858 dns_rdata_rrsig_t sig; local [all...] |
/bind-9.6-ESV-R11/bin/dnssec/ |
H A D | dnssectool.c | 127 sig_format(dns_rdata_rrsig_t *sig, char *cp, unsigned int size) { argument 131 dns_name_format(&sig->signer, namestr, sizeof(namestr)); 132 alg_format(sig->algorithm, algstr, sizeof(algstr)); 133 snprintf(cp, size, "%s/%s/%d", namestr, algstr, sig->keyid);
|
H A D | dnssec-signzone.c | 1288 dns_rdata_rrsig_t sig; local 1292 dns_rdata_tostruct(sigrdata, &sig, NULL); 1304 if (sig.algorithm != key.algorithm || 1305 sig.keyid != dst_key_id(dstkey) || 1306 !dns_name_equal(&sig.signer, gorigin)) { 1360 dns_rdata_rrsig_t sig; local 1363 dns_rdata_tostruct(&rdata, &sig, NULL); 1364 if (rdataset->ttl != sig.originalttl) { 1368 namebuf, typebuf, sig.keyid); 1371 if ((set_algorithms[sig [all...] |
/bind-9.6-ESV-R11/bin/tests/dst/ |
H A D | dst_test.c | 46 unsigned char sig[512]; local 51 isc_buffer_init(&sigbuf, sig, sizeof(sig));
|
H A D | t_dst.c | 101 unsigned char sig[512]; local 106 isc_buffer_init(&sigbuf, sig, sizeof(sig)); 483 * Write a sig in buf to file at path. 557 * Read sig in file at path to buf. 645 unsigned char sig[T_SIGMAX]; local 731 memset(sig, 0, sizeof(sig)); 732 isc_buffer_init(&sigbuf, sig, sizeof(sig)); [all...] |
/bind-9.6-ESV-R11/lib/dns/rdata/generic/ |
H A D | rrsig_46.c | 357 dns_rdata_rrsig_t *sig = source; local 361 REQUIRE(sig->common.rdtype == type); 362 REQUIRE(sig->common.rdclass == rdclass); 363 REQUIRE(sig->signature != NULL || sig->siglen == 0); 371 RETERR(uint16_tobuffer(sig->covered, target)); 376 RETERR(uint8_tobuffer(sig->algorithm, target)); 381 RETERR(uint8_tobuffer(sig->labels, target)); 386 RETERR(uint32_tobuffer(sig->originalttl, target)); 391 RETERR(uint32_tobuffer(sig 417 dns_rdata_rrsig_t *sig = target; local 498 dns_rdata_rrsig_t *sig = (dns_rdata_rrsig_t *) source; local [all...] |
H A D | sig_24.c | 362 dns_rdata_sig_t *sig = source; local 366 REQUIRE(sig->common.rdtype == type); 367 REQUIRE(sig->common.rdclass == rdclass); 368 REQUIRE(sig->signature != NULL || sig->siglen == 0); 376 RETERR(uint16_tobuffer(sig->covered, target)); 381 RETERR(uint8_tobuffer(sig->algorithm, target)); 386 RETERR(uint8_tobuffer(sig->labels, target)); 391 RETERR(uint32_tobuffer(sig->originalttl, target)); 396 RETERR(uint32_tobuffer(sig 422 dns_rdata_sig_t *sig = target; local 503 dns_rdata_sig_t *sig = (dns_rdata_sig_t *) source; local [all...] |
/bind-9.6-ESV-R11/lib/isc/unix/ |
H A D | app.c | 105 handle_signal(int sig, void (*handler)(int)) { argument 113 sigaction(sig, &sa, NULL) < 0) { 119 sig, strbuf); 439 int sig; local 504 result = sigwait(&sset, &sig); 506 if (sig == SIGINT || 507 sig == SIGTERM) 509 else if (sig == SIGHUP) 514 sig = sigwait(&sset); 515 if (sig > [all...] |
/bind-9.6-ESV-R11/lib/tests/ |
H A D | t_api.c | 109 t_sighandler(int sig) { argument 110 T_int = sig;
|
/bind-9.6-ESV-R11/bin/tests/ |
H A D | rdata_test.c | 241 static dns_rdata_sig_t sig; local 242 result = dns_rdata_tostruct(rdata, sp = &sig, NULL); 508 static dns_rdata_sig_t sig; local 509 result = dns_rdata_tostruct(rdata, sp = &sig, mctx); 805 dns_rdata_sig_t sig; 806 result = dns_rdata_fromstruct(rdata2, rdc, rdt, &sig, b);
|
/bind-9.6-ESV-R11/bin/named/ |
H A D | query.c | 1789 * Find A RRset with sig RRset. Even if we don't find a sig RRset 1836 /* Find AAAA RRset with sig RRset */ 3111 dns_rdata_rrsig_t sig; local 3135 result = dns_rdata_tostruct(&sigrdata, &sig, NULL); 3140 if ((unsigned int)sig.labels + 1 >= labels) 3156 dns_name_split(name, sig.labels + 1, NULL, fname);
|