Searched refs:sha1ctx (Results 1 - 7 of 7) sorted by relevance

/bind-9.11.3/bin/tools/
H A Disc-hmac-fixup.c74 isc_sha1_t sha1ctx; local
75 isc_sha1_init(&sha1ctx);
76 isc_sha1_update(&sha1ctx, r.base, r.length);
77 isc_sha1_final(&sha1ctx, key);
/bind-9.11.3/lib/dns/
H A Dopenssldsa_link.c145 isc_sha1_t *sha1ctx;
149 sha1ctx = isc_mem_get(dctx->mctx, sizeof(isc_sha1_t));
150 if (sha1ctx == NULL)
152 isc_sha1_init(sha1ctx);
153 dctx->ctxdata.sha1ctx = sha1ctx;
168 isc_sha1_t *sha1ctx = dctx->ctxdata.sha1ctx;
170 if (sha1ctx != NULL) {
171 isc_sha1_invalidate(sha1ctx);
218 isc_sha1_t *sha1ctx = dctx->ctxdata.sha1ctx; local
318 isc_sha1_t *sha1ctx = dctx->ctxdata.sha1ctx; local
[all...]
H A Dopensslrsa_link.c344 isc_sha1_t *sha1ctx; local
346 sha1ctx = isc_mem_get(dctx->mctx, sizeof(isc_sha1_t));
347 if (sha1ctx == NULL)
349 isc_sha1_init(sha1ctx);
350 dctx->ctxdata.sha1ctx = sha1ctx;
428 isc_sha1_t *sha1ctx = dctx->ctxdata.sha1ctx; local
430 if (sha1ctx != NULL) {
431 isc_sha1_invalidate(sha1ctx);
507 isc_sha1_t *sha1ctx = dctx->ctxdata.sha1ctx; local
612 isc_sha1_t *sha1ctx = dctx->ctxdata.sha1ctx; local
774 isc_sha1_t *sha1ctx = dctx->ctxdata.sha1ctx; local
[all...]
H A Ddst_internal.h165 isc_sha1_t *sha1ctx; member in union:dst_context::__anon107
H A Dhmac_link.c520 isc_sha1_t sha1ctx; local
533 isc_sha1_init(&sha1ctx);
534 isc_sha1_update(&sha1ctx, r.base, r.length);
535 isc_sha1_final(&sha1ctx, hkey->key);
/bind-9.11.3/lib/isc/include/isc/
H A Dhmacsha.h60 isc_sha1_t sha1ctx; member in struct:__anon230
/bind-9.11.3/lib/isc/
H A Dhmacsha.c1117 isc_sha1_t sha1ctx; local
1118 isc_sha1_init(&sha1ctx);
1119 isc_sha1_update(&sha1ctx, key, len);
1120 isc_sha1_final(&sha1ctx, ctx->key);
1124 isc_sha1_init(&ctx->sha1ctx);
1128 isc_sha1_update(&ctx->sha1ctx, ipad, sizeof(ipad));
1133 isc_sha1_invalidate(&ctx->sha1ctx);
1145 isc_sha1_update(&ctx->sha1ctx, buf, len);
1158 isc_sha1_final(&ctx->sha1ctx, newdigest);
1164 isc_sha1_init(&ctx->sha1ctx);
[all...]

Completed in 64 milliseconds