Searched defs:sigbuf (Results 1 - 6 of 6) sorted by relevance

/bind-9.11.3/lib/dns/tests/
H A Dtsig_test.c61 isc_buffer_t sigbuf; local
99 isc_buffer_init(&sigbuf, tsig.signature, sigsize);
100 CHECK(dst_context_sign(tsigctx, &sigbuf));
101 tsig.siglen = isc_buffer_usedlength(&sigbuf);
/bind-9.11.3/bin/tests/dst/
H A Ddst_test.c40 isc_buffer_t databuf, sigbuf; local
44 isc_buffer_init(&sigbuf, sig, sizeof(sig));
48 isc_buffer_add(&sigbuf, 1);
68 ret = dst_context_sign(ctx, &sigbuf);
73 isc_buffer_forward(&sigbuf, 1);
74 isc_buffer_remainingregion(&sigbuf, &sigreg);
H A Dt_dst.c96 isc_buffer_t databuf, sigbuf; local
100 isc_buffer_init(&sigbuf, sig, sizeof(sig));
124 ret = dst_context_sign(ctx, &sigbuf);
134 isc_buffer_remainingregion(&sigbuf, &sigreg);
719 isc_buffer_t sigbuf; local
802 isc_buffer_init(&sigbuf, sig, sizeof(sig));
825 isc_result = dst_context_sign(ctx, &sigbuf);
837 rval = sig_tofile(sigpath, &sigbuf);
849 isc_buffer_init(&sigbuf, sig, sizeof(sig));
854 rval = sig_fromfile(sigpath, &sigbuf);
[all...]
/bind-9.11.3/lib/dns/
H A Dopenssldsa_link.c214 unsigned char *sigbuf; local
234 sigbuf = malloc(EVP_PKEY_size(pkey));
235 if (sigbuf == NULL) {
239 if (!EVP_SignFinal(evp_md_ctx, sigbuf, &siglen, pkey)) {
241 free(sigbuf);
251 free(sigbuf);
254 sb = sigbuf;
256 free(sigbuf);
261 free(sigbuf);
314 unsigned char *sigbuf;
[all...]
H A Dtsig.c843 isc_buffer_t databuf, sigbuf; local
1050 isc_buffer_init(&sigbuf, tsig.signature, sigsize);
1051 ret = dst_context_sign(ctx, &sigbuf);
1071 if (bytes > isc_buffer_usedlength(&sigbuf))
1072 bytes = isc_buffer_usedlength(&sigbuf);
1075 tsig.siglen = isc_buffer_usedlength(&sigbuf);
H A Ddnssec.c191 isc_buffer_t sigbuf, envbuf; local
337 isc_buffer_init(&sigbuf, sig.signature, sig.siglen);
338 ret = dst_context_sign(ctx, &sigbuf);
341 isc_buffer_usedregion(&sigbuf, &r);
922 isc_buffer_t headerbuf, databuf, sigbuf; local
1012 isc_buffer_init(&sigbuf, sig.signature, sig.siglen);
1013 RETERR(dst_context_sign(ctx, &sigbuf));

Completed in 25 milliseconds