/freebsd-11-stable/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-11-stable/sys/opencrypto/ |
H A D | xform_auth.h | 81 SHA1_CTX sha1ctx; member in union:authctx
|
/freebsd-11-stable/contrib/ntp/lib/isc/include/isc/ |
H A D | hmacsha.h | 51 isc_sha1_t sha1ctx; member in struct:__anon4824
|
/freebsd-11-stable/sys/dev/cesa/ |
H A D | cesa.c | 452 SHA1_CTX sha1ctx; local 479 SHA1Init(&sha1ctx); 480 SHA1Update(&sha1ctx, ipad, SHA1_HMAC_BLOCK_LEN); 481 memcpy(hin, sha1ctx.h.b32, sizeof(sha1ctx.h.b32)); 482 SHA1Init(&sha1ctx); 483 SHA1Update(&sha1ctx, opad, SHA1_HMAC_BLOCK_LEN); 484 memcpy(hout, sha1ctx.h.b32, sizeof(sha1ctx.h.b32));
|
/freebsd-11-stable/sys/netinet/ |
H A D | ip_carp.c | 413 SHA1_CTX sha1ctx; local 418 bcopy(&sc->sc_sha1, &sha1ctx, sizeof(sha1ctx)); 420 SHA1Update(&sha1ctx, (void *)counter, sizeof(sc->sc_counter)); 421 SHA1Final(md, &sha1ctx); 424 SHA1Init(&sha1ctx); 425 SHA1Update(&sha1ctx, sc->sc_pad, sizeof(sc->sc_pad)); 426 SHA1Update(&sha1ctx, md, 20); 427 SHA1Final(md, &sha1ctx);
|
/freebsd-11-stable/sys/dev/safe/ |
H A D | safe.c | 646 SHA1_CTX sha1ctx; local 659 SHA1Init(&sha1ctx); 660 SHA1Update(&sha1ctx, key, klen); 661 SHA1Update(&sha1ctx, hmac_ipad_buffer, 663 bcopy(sha1ctx.h.b32, ses->ses_hminner, sizeof(sha1ctx.h.b32)); 675 SHA1Init(&sha1ctx); 676 SHA1Update(&sha1ctx, key, klen); 677 SHA1Update(&sha1ctx, hmac_opad_buffer, 679 bcopy(sha1ctx [all...] |
/freebsd-11-stable/sys/dev/ubsec/ |
H A D | ubsec.c | 852 SHA1_CTX sha1ctx; local 864 SHA1Init(&sha1ctx); 865 SHA1Update(&sha1ctx, key, klen); 866 SHA1Update(&sha1ctx, hmac_ipad_buffer, 868 bcopy(sha1ctx.h.b32, ses->ses_hminner, sizeof(sha1ctx.h.b32)); 880 SHA1Init(&sha1ctx); 881 SHA1Update(&sha1ctx, key, klen); 882 SHA1Update(&sha1ctx, hmac_opad_buffer, 884 bcopy(sha1ctx [all...] |
/freebsd-11-stable/contrib/libarchive/libarchive/ |
H A D | archive_write_set_format_mtree.c | 160 archive_sha1_ctx sha1ctx; member in struct:mtree_writer 1473 if (archive_sha1_init(&mtree->sha1ctx) == ARCHIVE_OK) 1529 archive_sha1_update(&mtree->sha1ctx, buff, n); 1566 archive_sha1_final(&mtree->sha1ctx, reg->digest.sha1);
|
H A D | archive_write_set_format_xar.c | 132 archive_sha1_ctx sha1ctx; member in struct:chksumwork 2583 archive_sha1_init(&(sumwrk->sha1ctx)); 2599 archive_sha1_update(&(sumwrk->sha1ctx), buff, size); 2616 archive_sha1_final(&(sumwrk->sha1ctx), sumval->val);
|
H A D | archive_read_support_format_xar.c | 131 archive_sha1_ctx sha1ctx; member in struct:chksumwork 1361 archive_sha1_init(&(sumwrk->sha1ctx)); 1377 archive_sha1_update(&(sumwrk->sha1ctx), buff, size); 1395 archive_sha1_final(&(sumwrk->sha1ctx), sum);
|
/freebsd-11-stable/sys/dev/cxgbe/crypto/ |
H A D | t4_crypto.c | 1722 u32[i] = htobe32(auth_ctx->sha1ctx.h.b32[i]);
|