Searched refs:sha1ctx (Results 1 – 7 of 7) sorted by relevance
/dragonfly/sys/dev/crypto/safe/ |
H A D | safe.c | 651 SHA1_CTX sha1ctx; in safe_setup_mackey() local 665 SHA1Init(&sha1ctx); in safe_setup_mackey() 666 SHA1Update(&sha1ctx, key, klen); in safe_setup_mackey() 667 SHA1Update(&sha1ctx, hmac_ipad_buffer, in safe_setup_mackey() 669 bcopy(sha1ctx.h.b32, ses->ses_hminner, sizeof(sha1ctx.h.b32)); in safe_setup_mackey() 682 SHA1Init(&sha1ctx); in safe_setup_mackey() 683 SHA1Update(&sha1ctx, key, klen); in safe_setup_mackey() 684 SHA1Update(&sha1ctx, hmac_opad_buffer, in safe_setup_mackey() 686 bcopy(sha1ctx.h.b32, ses->ses_hmouter, sizeof(sha1ctx.h.b32)); in safe_setup_mackey()
|
/dragonfly/sys/opencrypto/ |
H A D | xform.h | 75 SHA1_CTX sha1ctx; member
|
/dragonfly/sys/dev/crypto/ubsec/ |
H A D | ubsec.c | 843 SHA1_CTX sha1ctx; in ubsec_setup_mackey() local 856 SHA1Init(&sha1ctx); in ubsec_setup_mackey() 857 SHA1Update(&sha1ctx, key, klen); in ubsec_setup_mackey() 858 SHA1Update(&sha1ctx, hmac_ipad_buffer, in ubsec_setup_mackey() 860 bcopy(sha1ctx.h.b32, ses->ses_hminner, sizeof(sha1ctx.h.b32)); in ubsec_setup_mackey() 873 SHA1Init(&sha1ctx); in ubsec_setup_mackey() 874 SHA1Update(&sha1ctx, key, klen); in ubsec_setup_mackey() 875 SHA1Update(&sha1ctx, hmac_opad_buffer, in ubsec_setup_mackey() 877 bcopy(sha1ctx.h.b32, ses->ses_hmouter, sizeof(sha1ctx.h.b32)); in ubsec_setup_mackey() 898 SHA1_CTX sha1ctx; in ubsec_newsession()
|
/dragonfly/sys/netinet/ |
H A D | ip_carp.c | 559 SHA1_CTX sha1ctx; in carp_hmac_generate() local 562 bcopy(&sc->sc_sha1, &sha1ctx, sizeof(sha1ctx)); in carp_hmac_generate() 564 SHA1Update(&sha1ctx, (void *)counter, sizeof(sc->sc_counter)); in carp_hmac_generate() 565 SHA1Final(md, &sha1ctx); in carp_hmac_generate() 568 SHA1Init(&sha1ctx); in carp_hmac_generate() 569 SHA1Update(&sha1ctx, sc->sc_pad, sizeof(sc->sc_pad)); in carp_hmac_generate() 570 SHA1Update(&sha1ctx, md, 20); in carp_hmac_generate() 571 SHA1Final(md, &sha1ctx); in carp_hmac_generate()
|
/dragonfly/contrib/libarchive/libarchive/ |
H A D | archive_write_set_format_mtree.c | 160 archive_sha1_ctx sha1ctx; member 1473 if (archive_sha1_init(&mtree->sha1ctx) == ARCHIVE_OK) in sum_init() 1529 archive_sha1_update(&mtree->sha1ctx, buff, n); in sum_update() 1566 archive_sha1_final(&mtree->sha1ctx, reg->digest.sha1); in sum_final()
|
H A D | archive_write_set_format_xar.c | 132 archive_sha1_ctx sha1ctx; member 2583 archive_sha1_init(&(sumwrk->sha1ctx)); in checksum_init() 2599 archive_sha1_update(&(sumwrk->sha1ctx), buff, size); in checksum_update() 2616 archive_sha1_final(&(sumwrk->sha1ctx), sumval->val); in checksum_final()
|
H A D | archive_read_support_format_xar.c | 131 archive_sha1_ctx sha1ctx; member 1361 archive_sha1_init(&(sumwrk->sha1ctx)); in _checksum_init() 1377 archive_sha1_update(&(sumwrk->sha1ctx), buff, size); in _checksum_update() 1395 archive_sha1_final(&(sumwrk->sha1ctx), sum); in _checksum_final()
|