/netbsd-current/crypto/external/bsd/netpgp/dist/src/netpgpverify/ |
H A D | digest.h | 63 NETPGPV_SHA1_CTX sha1ctx; /* SHA1 */ member in union:digest_t::__anon281
|
H A D | digest.c | 118 netpgpv_SHA1Init(&hash->u.sha1ctx); 122 hash->ctx = &hash->u.sha1ctx;
|
/netbsd-current/external/bsd/ntp/dist/lib/isc/ |
H A D | hmacsha.c | 212 isc_sha1_t sha1ctx; local 213 isc_sha1_init(&sha1ctx); 214 isc_sha1_update(&sha1ctx, key, len); 215 isc_sha1_final(&sha1ctx, ctx->key); 219 isc_sha1_init(&ctx->sha1ctx); 223 isc_sha1_update(&ctx->sha1ctx, ipad, sizeof(ipad)); 228 isc_sha1_invalidate(&ctx->sha1ctx); 240 isc_sha1_update(&ctx->sha1ctx, buf, len); 253 isc_sha1_final(&ctx->sha1ctx, newdigest); 259 isc_sha1_init(&ctx->sha1ctx); [all...] |
/netbsd-current/crypto/external/bsd/netpgp/dist/src/libdigest/ |
H A D | digest.h | 73 SHA1_CTX sha1ctx; /* SHA1 */ member in union:digest_t::__anon371
|
H A D | digest.c | 202 SHA1Init(&hash->u.sha1ctx); 206 hash->ctx = &hash->u.sha1ctx;
|
/netbsd-current/crypto/external/bsd/openssl/dist/providers/implementations/kdfs/ |
H A D | tls1_prf.c | 74 static int tls1_prf_alg(EVP_MAC_CTX *mdctx, EVP_MAC_CTX *sha1ctx, 373 static int tls1_prf_alg(EVP_MAC_CTX *mdctx, EVP_MAC_CTX *sha1ctx, argument 378 if (sha1ctx != NULL) { 395 if (!tls1_prf_P_hash(sha1ctx, sec + slen - L_S2, L_S2,
|
/netbsd-current/sys/dev/marvell/ |
H A D | mvcesa.c | 259 SHA1_CTX sha1ctx; local 274 SHA1Init(&sha1ctx); 275 SHA1Update(&sha1ctx, c->cri_key, klen_bytes); 276 SHA1Update(&sha1ctx, hmac_ipad_buffer, 278 memcpy(ses->ses_hminner, sha1ctx.state, 279 sizeof(sha1ctx.state)); 293 SHA1Init(&sha1ctx); 294 SHA1Update(&sha1ctx, c->cri_key, klen_bytes); 295 SHA1Update(&sha1ctx, hmac_opad_buffer, 297 memcpy(ses->ses_hmouter, sha1ctx [all...] |
/netbsd-current/external/bsd/ntp/dist/lib/isc/include/isc/ |
H A D | hmacsha.h | 53 isc_sha1_t sha1ctx; member in struct:__anon75
|
/netbsd-current/sys/netinet/ |
H A D | ip_carp.c | 263 SHA1_CTX sha1ctx; local 285 memcpy(&sha1ctx, &sc->sc_sha1, sizeof(sha1ctx)); 286 SHA1Final((unsigned char *)kmd, &sha1ctx); 351 SHA1_CTX sha1ctx; local 354 memcpy(&sha1ctx, &sc->sc_sha1, sizeof(sha1ctx)); 356 SHA1Update(&sha1ctx, (void *)counter, sizeof(sc->sc_counter)); 357 SHA1Final(md, &sha1ctx); 360 SHA1Init(&sha1ctx); [all...] |
/netbsd-current/sys/dev/pci/ |
H A D | ubsec.c | 961 SHA1_CTX sha1ctx; local 1061 SHA1Init(&sha1ctx); 1062 SHA1Update(&sha1ctx, macini->cri_key, 1064 SHA1Update(&sha1ctx, hmac_ipad_buffer, 1066 memcpy(ses->ses_hminner, sha1ctx.state, 1067 sizeof(sha1ctx.state)); 1082 SHA1Init(&sha1ctx); 1083 SHA1Update(&sha1ctx, macini->cri_key, 1085 SHA1Update(&sha1ctx, hmac_opad_buffer, 1087 memcpy(ses->ses_hmouter, sha1ctx [all...] |
/netbsd-current/external/bsd/libarchive/dist/libarchive/ |
H A D | archive_write_set_format_mtree.c | 159 archive_sha1_ctx sha1ctx; member in struct:mtree_writer 1472 if (archive_sha1_init(&mtree->sha1ctx) == ARCHIVE_OK) 1528 archive_sha1_update(&mtree->sha1ctx, buff, n); 1565 archive_sha1_final(&mtree->sha1ctx, reg->digest.sha1);
|
H A D | archive_write_set_format_xar.c | 131 archive_sha1_ctx sha1ctx; member in struct:chksumwork 2578 archive_sha1_init(&(sumwrk->sha1ctx)); 2594 archive_sha1_update(&(sumwrk->sha1ctx), buff, size); 2611 archive_sha1_final(&(sumwrk->sha1ctx), sumval->val);
|
H A D | archive_read_support_format_xar.c | 130 archive_sha1_ctx sha1ctx; member in struct:chksumwork 1364 archive_sha1_init(&(sumwrk->sha1ctx)); 1380 archive_sha1_update(&(sumwrk->sha1ctx), buff, size); 1398 archive_sha1_final(&(sumwrk->sha1ctx), sum);
|
/netbsd-current/sys/opencrypto/ |
H A D | cryptosoft.c | 53 SHA1_CTX sha1ctx; member in union:authctx
|