/freebsd-9.3-release/contrib/bind9/lib/dns/ |
H A D | openssldsa_link.c | 76 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 D | opensslrsa_link.c | 187 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 D | dst_internal.h | 149 isc_sha1_t *sha1ctx; member in union:dst_context::__anon135
|
H A D | hmac_link.c | 492 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 D | isc-hmac-fixup.c | 71 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 D | hmacsha.c | 211 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 D | hmacsha.c | 210 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 D | xform.h | 71 SHA1_CTX sha1ctx; member in union:authctx
|
/freebsd-9.3-release/contrib/bind9/lib/isc/include/isc/ |
H A D | hmacsha.h | 51 isc_sha1_t sha1ctx; member in struct:__anon237
|
/freebsd-9.3-release/contrib/ntp/lib/isc/include/isc/ |
H A D | hmacsha.h | 51 isc_sha1_t sha1ctx; member in struct:__anon73
|
/freebsd-9.3-release/sys/dev/cesa/ |
H A D | cesa.c | 454 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 D | safe.c | 645 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 D | archive_write_set_format_mtree.c | 76 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 D | archive_read_support_format_xar.c | 131 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 D | ip_carp.c | 346 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 D | ubsec.c | 850 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...] |