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

/freebsd-9.3-release/contrib/bind9/lib/dns/
H A Dopenssldsa_link.c76 isc_sha1_t *sha1ctx;
80 sha1ctx = isc_mem_get(dctx->mctx, sizeof(isc_sha1_t));
81 isc_sha1_init(sha1ctx);
82 dctx->ctxdata.sha1ctx = sha1ctx;
97 isc_sha1_t *sha1ctx = dctx->ctxdata.sha1ctx;
99 if (sha1ctx != NULL) {
100 isc_sha1_invalidate(sha1ctx);
101 isc_mem_put(dctx->mctx, sha1ctx, sizeo
146 isc_sha1_t *sha1ctx = dctx->ctxdata.sha1ctx; local
244 isc_sha1_t *sha1ctx = dctx->ctxdata.sha1ctx; local
[all...]
H A Dopensslrsa_link.c187 isc_sha1_t *sha1ctx; local
189 sha1ctx = isc_mem_get(dctx->mctx, sizeof(isc_sha1_t));
190 if (sha1ctx == NULL)
192 isc_sha1_init(sha1ctx);
193 dctx->ctxdata.sha1ctx = sha1ctx;
262 isc_sha1_t *sha1ctx = dctx->ctxdata.sha1ctx; local
264 if (sha1ctx != NULL) {
265 isc_sha1_invalidate(sha1ctx);
332 isc_sha1_t *sha1ctx = dctx->ctxdata.sha1ctx; local
428 isc_sha1_t *sha1ctx = dctx->ctxdata.sha1ctx; local
576 isc_sha1_t *sha1ctx = dctx->ctxdata.sha1ctx; local
[all...]
H A Ddst_internal.h149 isc_sha1_t *sha1ctx; member in union:dst_context::__anon135
H A Dhmac_link.c492 isc_sha1_t sha1ctx; local
505 isc_sha1_init(&sha1ctx);
506 isc_sha1_update(&sha1ctx, r.base, r.length);
507 isc_sha1_final(&sha1ctx, hkey->key);
/freebsd-9.3-release/contrib/bind9/bin/tools/
H A Disc-hmac-fixup.c71 isc_sha1_t sha1ctx; local
72 isc_sha1_init(&sha1ctx);
73 isc_sha1_update(&sha1ctx, r.base, r.length);
74 isc_sha1_final(&sha1ctx, key);
/freebsd-9.3-release/contrib/bind9/lib/isc/
H A Dhmacsha.c211 isc_sha1_t sha1ctx; local
212 isc_sha1_init(&sha1ctx);
213 isc_sha1_update(&sha1ctx, key, len);
214 isc_sha1_final(&sha1ctx, ctx->key);
218 isc_sha1_init(&ctx->sha1ctx);
222 isc_sha1_update(&ctx->sha1ctx, ipad, sizeof(ipad));
227 isc_sha1_invalidate(&ctx->sha1ctx);
239 isc_sha1_update(&ctx->sha1ctx, buf, len);
252 isc_sha1_final(&ctx->sha1ctx, newdigest);
258 isc_sha1_init(&ctx->sha1ctx);
[all...]
/freebsd-9.3-release/contrib/ntp/lib/isc/
H A Dhmacsha.c210 isc_sha1_t sha1ctx; local
211 isc_sha1_init(&sha1ctx);
212 isc_sha1_update(&sha1ctx, key, len);
213 isc_sha1_final(&sha1ctx, ctx->key);
217 isc_sha1_init(&ctx->sha1ctx);
221 isc_sha1_update(&ctx->sha1ctx, ipad, sizeof(ipad));
226 isc_sha1_invalidate(&ctx->sha1ctx);
238 isc_sha1_update(&ctx->sha1ctx, buf, len);
251 isc_sha1_final(&ctx->sha1ctx, newdigest);
257 isc_sha1_init(&ctx->sha1ctx);
[all...]
/freebsd-9.3-release/sys/opencrypto/
H A Dxform.h71 SHA1_CTX sha1ctx; member in union:authctx
/freebsd-9.3-release/contrib/bind9/lib/isc/include/isc/
H A Dhmacsha.h51 isc_sha1_t sha1ctx; member in struct:__anon237
/freebsd-9.3-release/contrib/ntp/lib/isc/include/isc/
H A Dhmacsha.h51 isc_sha1_t sha1ctx; member in struct:__anon73
/freebsd-9.3-release/sys/dev/cesa/
H A Dcesa.c454 SHA1_CTX sha1ctx; local
480 SHA1Init(&sha1ctx);
481 SHA1Update(&sha1ctx, ipad, SHA1_HMAC_BLOCK_LEN);
482 memcpy(hin, sha1ctx.h.b32, sizeof(sha1ctx.h.b32));
483 SHA1Init(&sha1ctx);
484 SHA1Update(&sha1ctx, opad, SHA1_HMAC_BLOCK_LEN);
485 memcpy(hout, sha1ctx.h.b32, sizeof(sha1ctx.h.b32));
/freebsd-9.3-release/sys/dev/safe/
H A Dsafe.c645 SHA1_CTX sha1ctx; local
658 SHA1Init(&sha1ctx);
659 SHA1Update(&sha1ctx, key, klen);
660 SHA1Update(&sha1ctx, hmac_ipad_buffer,
662 bcopy(sha1ctx.h.b32, ses->ses_hminner, sizeof(sha1ctx.h.b32));
674 SHA1Init(&sha1ctx);
675 SHA1Update(&sha1ctx, key, klen);
676 SHA1Update(&sha1ctx, hmac_opad_buffer,
678 bcopy(sha1ctx
[all...]
/freebsd-9.3-release/contrib/libarchive/libarchive/
H A Darchive_write_set_format_mtree.c76 archive_sha1_ctx sha1ctx; member in struct:mtree_writer
596 archive_sha1_init(&mtree->sha1ctx);
785 archive_sha1_final(&mtree->sha1ctx, buf);
873 archive_sha1_update(&mtree->sha1ctx, buff, n);
H A Darchive_read_support_format_xar.c131 archive_sha1_ctx sha1ctx; member in struct:chksumwork
1214 archive_sha1_init(&(sumwrk->sha1ctx));
1230 archive_sha1_update(&(sumwrk->sha1ctx), buff, size);
1248 archive_sha1_final(&(sumwrk->sha1ctx), sum);
/freebsd-9.3-release/sys/netinet/
H A Dip_carp.c346 SHA1_CTX sha1ctx; local
349 bcopy(&sc->sc_sha1, &sha1ctx, sizeof(sha1ctx));
351 SHA1Update(&sha1ctx, (void *)counter, sizeof(sc->sc_counter));
352 SHA1Final(md, &sha1ctx);
355 SHA1Init(&sha1ctx);
356 SHA1Update(&sha1ctx, sc->sc_pad, sizeof(sc->sc_pad));
357 SHA1Update(&sha1ctx, md, 20);
358 SHA1Final(md, &sha1ctx);
/freebsd-9.3-release/sys/dev/ubsec/
H A Dubsec.c850 SHA1_CTX sha1ctx; local
862 SHA1Init(&sha1ctx);
863 SHA1Update(&sha1ctx, key, klen);
864 SHA1Update(&sha1ctx, hmac_ipad_buffer,
866 bcopy(sha1ctx.h.b32, ses->ses_hminner, sizeof(sha1ctx.h.b32));
878 SHA1Init(&sha1ctx);
879 SHA1Update(&sha1ctx, key, klen);
880 SHA1Update(&sha1ctx, hmac_opad_buffer,
882 bcopy(sha1ctx
[all...]

Completed in 293 milliseconds