Searched refs:sig (Results 1 - 25 of 51) sorted by relevance

123

/bind-9.11.3/contrib/dnsperf-2.1.0.0-1/
H A Dos.h22 perf_os_blocksignal(int sig, isc_boolean_t block);
25 perf_os_handlesignal(int sig, void (*handler)(int));
H A Dos.c33 perf_os_blocksignal(int sig, isc_boolean_t block) argument
41 sigaddset(&sset, sig) < 0 ||
47 perf_os_handlesignal(int sig, void (*handler)(int)) argument
55 sigaction(sig, &sa, NULL) < 0)
/bind-9.11.3/lib/dns/rdata/generic/
H A Dsig_24.c356 dns_rdata_sig_t *sig = source; local
360 REQUIRE(sig->common.rdtype == type);
361 REQUIRE(sig->common.rdclass == rdclass);
362 REQUIRE(sig->signature != NULL || sig->siglen == 0);
370 RETERR(uint16_tobuffer(sig->covered, target));
375 RETERR(uint8_tobuffer(sig->algorithm, target));
380 RETERR(uint8_tobuffer(sig->labels, target));
385 RETERR(uint32_tobuffer(sig->originalttl, target));
390 RETERR(uint32_tobuffer(sig
416 dns_rdata_sig_t *sig = target; local
497 dns_rdata_sig_t *sig = (dns_rdata_sig_t *) source; local
[all...]
H A Dopenpgpkey_61.c113 dns_rdata_openpgpkey_t *sig = source; local
117 REQUIRE(sig->common.rdtype == type);
118 REQUIRE(sig->common.rdclass == rdclass);
119 REQUIRE(sig->keyring != NULL && sig->length != 0);
127 return (mem_tobuffer(target, sig->keyring, sig->length));
133 dns_rdata_openpgpkey_t *sig = target; local
139 sig->common.rdclass = rdata->rdclass;
140 sig
162 dns_rdata_openpgpkey_t *sig = (dns_rdata_openpgpkey_t *) source; local
[all...]
H A Drrsig_46.c355 dns_rdata_rrsig_t *sig = source; local
359 REQUIRE(sig->common.rdtype == type);
360 REQUIRE(sig->common.rdclass == rdclass);
361 REQUIRE(sig->signature != NULL || sig->siglen == 0);
369 RETERR(uint16_tobuffer(sig->covered, target));
374 RETERR(uint8_tobuffer(sig->algorithm, target));
379 RETERR(uint8_tobuffer(sig->labels, target));
384 RETERR(uint32_tobuffer(sig->originalttl, target));
389 RETERR(uint32_tobuffer(sig
415 dns_rdata_rrsig_t *sig = target; local
496 dns_rdata_rrsig_t *sig = (dns_rdata_rrsig_t *) source; local
[all...]
/bind-9.11.3/bin/tests/virtual-time/
H A Dstop.pl137 my($server, $sig) = @_;
145 if ($sig eq 'ABRT') {
150 my $result = kill $sig, $pid;
152 print "I:$server died before a SIG$sig was sent\n";
/bind-9.11.3/lib/dns/
H A Ddnssec.c187 dns_rdata_rrsig_t sig; local
223 sig.mctx = mctx;
224 sig.common.rdclass = set->rdclass;
225 sig.common.rdtype = dns_rdatatype_rrsig;
226 ISC_LINK_INIT(&sig.common, link);
231 dns_name_init(&sig.signer, NULL);
235 dns_name_clone(dns_fixedname_name(&fsigner), &sig.signer);
237 sig.covered = set->type;
238 sig.algorithm = dst_key_alg(key);
239 sig
376 dns_rdata_rrsig_t sig; local
919 dns_rdata_sig_t sig; /* SIG(0) */ local
1055 dns_rdata_sig_t sig; /* SIG(0) */ local
1217 dns_rdata_rrsig_t sig; local
1630 dns_rdata_rrsig_t sig; local
[all...]
H A Dhmac_link.c102 hmacmd5_sign(dst_context_t *dctx, isc_buffer_t *sig) { argument
106 if (isc_buffer_availablelength(sig) < ISC_MD5_DIGESTLENGTH)
108 digest = isc_buffer_used(sig);
110 isc_buffer_add(sig, ISC_MD5_DIGESTLENGTH);
116 hmacmd5_verify(dst_context_t *dctx, const isc_region_t *sig) { argument
119 if (sig->length > ISC_MD5_DIGESTLENGTH)
122 if (isc_hmacmd5_verify2(hmacmd5ctx, sig->base, sig->length))
410 hmacsha1_sign(dst_context_t *dctx, isc_buffer_t *sig) { argument
414 if (isc_buffer_availablelength(sig) < ISC_SHA1_DIGESTLENGT
424 hmacsha1_verify(dst_context_t *dctx, const isc_region_t *sig) argument
701 hmacsha224_sign(dst_context_t *dctx, isc_buffer_t *sig) argument
715 hmacsha224_verify(dst_context_t *dctx, const isc_region_t *sig) argument
988 hmacsha256_sign(dst_context_t *dctx, isc_buffer_t *sig) argument
1002 hmacsha256_verify(dst_context_t *dctx, const isc_region_t *sig) argument
1275 hmacsha384_sign(dst_context_t *dctx, isc_buffer_t *sig) argument
1289 hmacsha384_verify(dst_context_t *dctx, const isc_region_t *sig) argument
1562 hmacsha512_sign(dst_context_t *dctx, isc_buffer_t *sig) argument
1576 hmacsha512_verify(dst_context_t *dctx, const isc_region_t *sig) argument
[all...]
H A Dgssapi_link.c131 gssapi_sign(dst_context_t *dctx, isc_buffer_t *sig) { argument
166 if (gsig.length > isc_buffer_availablelength(sig)) {
175 isc_buffer_putmem(sig, gsig.value, (unsigned int)gsig.length);
186 gssapi_verify(dst_context_t *dctx, const isc_region_t *sig) { argument
208 buf = isc_mem_allocate(dst__memory_pool, sig->length);
211 memmove(buf, sig->base, sig->length);
213 r.length = sig->length;
H A Dopensslecdsa_link.c48 ECDSA_SIG_get0(const ECDSA_SIG *sig, const BIGNUM **pr, const BIGNUM **ps) { argument
50 *pr = sig->r;
52 *ps = sig->s;
56 ECDSA_SIG_set0(ECDSA_SIG *sig, BIGNUM *r, BIGNUM *s) { argument
60 BN_clear_free(sig->r);
61 BN_clear_free(sig->s);
62 sig->r = r;
63 sig->s = s;
140 opensslecdsa_sign(dst_context_t *dctx, isc_buffer_t *sig) { argument
163 isc_buffer_availableregion(sig,
193 opensslecdsa_verify(dst_context_t *dctx, const isc_region_t *sig) argument
[all...]
H A Dopenssldsa_link.c102 DSA_SIG_get0(const DSA_SIG *sig, const BIGNUM **pr, const BIGNUM **ps) { argument
103 *pr = sig->r;
104 *ps = sig->s;
108 DSA_SIG_set0(DSA_SIG *sig, BIGNUM *r, BIGNUM *s) { argument
112 BN_clear_free(sig->r);
113 BN_clear_free(sig->s);
114 sig->r = r;
115 sig->s = s;
204 openssldsa_sign(dst_context_t *dctx, isc_buffer_t *sig) { argument
222 isc_buffer_availableregion(sig,
303 openssldsa_verify(dst_context_t *dctx, const isc_region_t *sig) argument
[all...]
H A Ddst_internal.h197 isc_result_t (*sign)(dst_context_t *dctx, isc_buffer_t *sig);
198 isc_result_t (*verify)(dst_context_t *dctx, const isc_region_t *sig);
200 const isc_region_t *sig);
H A Dopenssleddsa_link.c252 openssleddsa_sign(dst_context_t *dctx, isc_buffer_t *sig) { argument
273 isc_buffer_availableregion(sig, &sigreg);
288 isc_buffer_add(sig, (unsigned int) siglen);
301 openssleddsa_verify(dst_context_t *dctx, const isc_region_t *sig) { argument
322 if (sig->length != siglen)
332 status = EVP_DigestVerify(ctx, sig->base, siglen,
H A Dopensslgost_link.c154 opensslgost_sign(dst_context_t *dctx, isc_buffer_t *sig) { argument
161 isc_buffer_availableregion(sig, &r);
169 isc_buffer_add(sig, siglen);
175 opensslgost_verify(dst_context_t *dctx, const isc_region_t *sig) { argument
181 status = EVP_VerifyFinal(evp_md_ctx, sig->base, sig->length, pkey);
/bind-9.11.3/bin/tests/system/
H A Dstop.pl143 my($server, $sig) = @_;
151 if ($sig eq 'ABRT') {
158 $result = system("/bin/kill -f -$sig $pid");
161 print "I:$server died before a SIG$sig was sent\n";
165 $result = kill $sig, $pid;
167 print "I:$server died before a SIG$sig was sent\n";
/bind-9.11.3/bin/tests/system/dnssec/ns3/
H A Dsiginterval1.conf12 sig-validity-interval 1 23;
H A Dsiginterval2.conf12 sig-validity-interval 35 28;
/bind-9.11.3/bin/tests/virtual-time/autosign-ksk/ns1/
H A Dnamed.conf25 sig-validity-interval 20;
/bind-9.11.3/bin/tests/virtual-time/autosign-zsk/ns1/
H A Dnamed.conf25 sig-validity-interval 2;
/bind-9.11.3/
H A Dacconfig.h87 int sigwait(const unsigned int *set, int *sig);
/bind-9.11.3/lib/isc/unix/
H A Dapp.c183 handle_signal(int sig, void (*handler)(int)) { argument
191 sigaction(sig, &sa, NULL) < 0) {
197 sig, strbuf);
584 int sig; local
659 result = sigwait(&sset, &sig);
661 if (sig == SIGINT || sig == SIGTERM)
663 else if (sig == SIGHUP)
668 sig = sigwait(&sset);
669 if (sig >
[all...]
/bind-9.11.3/lib/dns/tests/
H A Dgost_test.c321 CK_BYTE sig[64]; local
345 ATF_REQUIRE(pkcs_C_Sign(pk11_ctx.session, sig, 64,
348 ATF_REQUIRE(pkcs_C_Sign(pk11_ctx.session, sig, 64,
349 sig, &siglen) == CKR_OK);
/bind-9.11.3/bin/dnssec/
H A Ddnssectool.h47 sig_format(dns_rdata_rrsig_t *sig, char *cp, unsigned int size);
/bind-9.11.3/bin/tests/dst/
H A Dt_dst.c95 unsigned char sig[512]; local
100 isc_buffer_init(&sigbuf, sig, sizeof(sig));
540 * Write a sig in buf to file at path.
614 * Read sig in file at path to buf.
713 unsigned char sig[T_SIGMAX]; local
801 memset(sig, 0, sizeof(sig));
802 isc_buffer_init(&sigbuf, sig, sizeof(sig));
[all...]
/bind-9.11.3/bin/tests/pkcs11/benchmarks/
H A Dverify.c109 CK_BYTE sig[128]; variable
249 slen = (CK_ULONG) sizeof(sig);
250 rv = pkcs_C_Verify(hSession, buf, len, sig, slen);

Completed in 134 milliseconds

123