Searched refs:sigbuf (Results 1 - 5 of 5) sorted by relevance

/bind-9.6-ESV-R11/lib/dns/
H A Dopenssldsa_link.c143 unsigned char *sigbuf; local
163 sigbuf = malloc(EVP_PKEY_size(pkey));
164 if (sigbuf == NULL) {
168 if (!EVP_SignFinal(evp_md_ctx, sigbuf, &siglen, pkey)) {
170 free(sigbuf);
180 free(sigbuf);
183 sb = sigbuf;
185 free(sigbuf);
190 free(sigbuf);
234 unsigned char *sigbuf;
[all...]
H A Ddnssec.c199 isc_buffer_t sigbuf, envbuf; local
344 isc_buffer_init(&sigbuf, sig.signature, sig.siglen);
345 ret = dst_context_sign(ctx, &sigbuf);
348 isc_buffer_usedregion(&sigbuf, &r);
696 isc_buffer_t headerbuf, databuf, sigbuf; local
785 isc_buffer_init(&sigbuf, sig.signature, sig.siglen);
786 RETERR(dst_context_sign(ctx, &sigbuf));
H A Dtsig.c685 isc_buffer_t databuf, sigbuf; local
880 isc_buffer_init(&sigbuf, tsig.signature, sigsize);
881 ret = dst_context_sign(ctx, &sigbuf);
890 if (bytes > isc_buffer_usedlength(&sigbuf))
891 bytes = isc_buffer_usedlength(&sigbuf);
894 tsig.siglen = isc_buffer_usedlength(&sigbuf);
/bind-9.6-ESV-R11/bin/tests/dst/
H A Ddst_test.c47 isc_buffer_t databuf, sigbuf; local
51 isc_buffer_init(&sigbuf, sig, sizeof(sig));
55 isc_buffer_add(&sigbuf, 1);
74 ret = dst_context_sign(ctx, &sigbuf);
79 isc_buffer_forward(&sigbuf, 1);
80 isc_buffer_remainingregion(&sigbuf, &sigreg);
H A Dt_dst.c102 isc_buffer_t databuf, sigbuf; local
106 isc_buffer_init(&sigbuf, sig, sizeof(sig));
129 ret = dst_context_sign(ctx, &sigbuf);
139 isc_buffer_remainingregion(&sigbuf, &sigreg);
651 isc_buffer_t sigbuf; local
732 isc_buffer_init(&sigbuf, sig, sizeof(sig));
753 isc_result = dst_context_sign(ctx, &sigbuf);
765 rval = sig_tofile(sigpath, &sigbuf);
777 isc_buffer_init(&sigbuf, sig, sizeof(sig));
782 rval = sig_fromfile(sigpath, &sigbuf);
[all...]

Completed in 19 milliseconds