Searched refs:sigbuf (Results 1 - 6 of 6) sorted by relevance
/bind-9.11.3/bin/tests/dst/ |
H A D | dst_test.c | 40 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 D | t_dst.c | 96 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 D | openssldsa_link.c | 214 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 D | dnssec.c | 191 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));
|
H A D | tsig.c | 843 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);
|
/bind-9.11.3/lib/dns/tests/ |
H A D | tsig_test.c | 61 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);
|
Completed in 374 milliseconds