Home
last modified time | relevance | path

Searched refs:SHA1Update (Results 1 – 25 of 33) sorted by relevance

12

/titanic_44/usr/src/common/net/wanboot/crypt/
H A Dhmac_sha1.c39 SHA1Update(&keyContext, key, klen); in HMACHashKey()
65 SHA1Update(sha1Context, kipad, 64); in HMACInit()
71 SHA1Update(sha1Context, data, dlen); in HMACUpdate()
100 SHA1Update(sha1Context, kopad, 64); in HMACFinal()
101 SHA1Update(sha1Context, digest, 20); in HMACFinal()
H A Dsha1_test.c100 SHA1Update(&sha, (unsigned char *)testarray[j], in sha1test()
/titanic_44/usr/src/cmd/cmd-inet/usr.bin/pppd/
H A Dchap_ms.c435 SHA1Update(&sha1Context, peerchallenge, 16);
436 SHA1Update(&sha1Context, authenticatorchallenge, 16);
446 SHA1Update(&sha1Context, (uint8_t *)username, strlen(username));
563 SHA1Update(&sha1Context, hashhash, MD4_SIGNATURE_SIZE);
564 SHA1Update(&sha1Context, msresp->NTResp, sizeof (msresp->NTResp));
565 SHA1Update(&sha1Context, Magic1, 39);
571 SHA1Update(&sha1Context, digest, 20);
572 SHA1Update(&sha1Context, challenge, 8);
573 SHA1Update(&sha1Context, Magic2, 41);
/titanic_44/usr/src/uts/common/crypto/io/
H A Dsha1_mod.c84 SHA1Update(ctx, key, len); \
296 SHA1Update(sha1_ctx, in sha1_digest_update_uio()
444 SHA1Update(sha1_ctx, mp->b_rptr + offset, cur_len); in sha1_digest_update_mblk()
569 SHA1Update(&PROV_SHA1_CTX(ctx)->sc_sha1_ctx, in sha1_digest()
641 SHA1Update(&PROV_SHA1_CTX(ctx)->sc_sha1_ctx, in sha1_digest_update()
736 SHA1Update(&sha1_ctx, in sha1_digest_atomic()
834 SHA1Update(&ctx->hc_icontext, (uint8_t *)ipad, SHA1_HMAC_BLOCK_SIZE); in sha1_mac_init_ctx()
838 SHA1Update(&ctx->hc_ocontext, (uint8_t *)opad, SHA1_HMAC_BLOCK_SIZE); in sha1_mac_init_ctx()
927 SHA1Update(&PROV_SHA1_HMAC_CTX(ctx)->hc_icontext, in sha1_mac_update()
978 SHA1Update(&PROV_SHA1_HMAC_CTX(ctx)->hc_ocontext, digest, in sha1_mac_final()
[all …]
H A Decc.c613 digest, (void (*)())SHA1Update, in ecc_digest_svrfy_common()
750 (void (*)())SHA1Update, (void (*)())SHA1Final, in ecc_sign_update()
942 (void (*)())SHA1Update, (void (*)())SHA1Final, in ecc_verify_update()
H A Drsa.c981 digest, SHA1Update, SHA1Final, flag | CRYPTO_DO_SHA1); in rsa_digest_svrfy_common()
1182 NULL, SHA1Update, SHA1Final, CRYPTO_DO_SHA1 | in rsa_sign_update()
1373 NULL, SHA1Update, SHA1Final, CRYPTO_DO_SHA1 | in rsa_verify_update()
H A Dswrand.c70 #define HashUpdate(ctx, p, s) SHA1Update((ctx), (p), (s))
/titanic_44/usr/src/common/crypto/rng/
H A Dfips_random.c129 SHA1Update(&sha1_context, (unsigned char *)XVAL, SHA1BYTES); in fips_random_inner()
138 SHA1Update(&sha1_context, (unsigned char *)zero, in fips_random_inner()
/titanic_44/usr/src/lib/pkcs11/pkcs11_softtoken/common/
H A DsoftDigestUtil.c260 SHA1Update((SHA1_CTX *)session_p->digest.context, in soft_digest_common()
264 SHA1Update((SHA1_CTX *)session_p->digest.context, in soft_digest_common()
380 SHA1Update((SHA1_CTX *)session_p->digest.context, in soft_digest_update()
384 SHA1Update((SHA1_CTX *)session_p->digest.context, in soft_digest_update()
H A DsoftSSL.c117 SHA1Update(&sha1_ctx, (const uint8_t *)ssl3_const_vals[i], in soft_ssl3_churn()
119 SHA1Update(&sha1_ctx, secret, secretlen); in soft_ssl3_churn()
120 SHA1Update(&sha1_ctx, rand1, rand1len); in soft_ssl3_churn()
121 SHA1Update(&sha1_ctx, rand2, rand2len); in soft_ssl3_churn()
177 SHA1Update(&sha1_ctx, S2, L_S); in soft_tls_prf()
/titanic_44/usr/src/uts/common/sys/
H A Dsha1.h56 void SHA1Update(SHA1_CTX *, const void *, size_t);
/titanic_44/usr/src/uts/common/inet/kssl/
H A Dksslrec.c88 (hashinit_func_t)SHA1Init, (hashupdate_func_t)SHA1Update,
365 SHA1Update(&ssl->hs_sha1, buf, len); in kssl_update_handshake_hashes()
424 SHA1Update(sha1ctx, s, 4); in kssl_compute_handshake_hashes()
425 SHA1Update(sha1ctx, ssl->sid.master_secret, in kssl_compute_handshake_hashes()
427 SHA1Update(sha1ctx, kssl_pad_1, SSL3_SHA1_PAD_LEN); in kssl_compute_handshake_hashes()
431 SHA1Update(sha1ctx, ssl->sid.master_secret, in kssl_compute_handshake_hashes()
433 SHA1Update(sha1ctx, kssl_pad_2, SSL3_SHA1_PAD_LEN); in kssl_compute_handshake_hashes()
434 SHA1Update(sha1ctx, hashes->sha1, SHA1_HASH_LEN); in kssl_compute_handshake_hashes()
1334 SHA1Update(sha1ctx, (uchar_t *)ssl3_key_derive_seeds[step], in kssl_ssl3_key_material_derive_step()
1336 SHA1Update(sha1ctx, secret, secretlen); in kssl_ssl3_key_material_derive_step()
[all …]
/titanic_44/usr/src/uts/common/io/fibre-channel/fca/emlxs/
H A Demlxs_dhchap.c880 SHA1Update(&sha1ctx, (void *) &node_dhc->auth_cfg.local_entity, in emlxs_get_random_bytes()
882 SHA1Update(&sha1ctx, (void *) &now, sizeof (hrtime_t)); in emlxs_get_random_bytes()
5093 SHA1Update(&sha1ctx, (void *)&mytran_id, 1); in emlxs_hash_vrf()
5095 SHA1Update(&sha1ctx, (void *)remote_key, in emlxs_hash_vrf()
5098 SHA1Update(&sha1ctx, in emlxs_hash_vrf()
5174 SHA1Update(&sha1ctx, in emlxs_hash_vrf()
5178 SHA1Update(&sha1ctx, in emlxs_hash_vrf()
5183 SHA1Update(&sha1ctx, in emlxs_hash_vrf()
5192 SHA1Update(&sha1ctx, (void *)&mytran_id, 1); in emlxs_hash_vrf()
5194 SHA1Update(&sha1ctx, (void *)remote_key, in emlxs_hash_vrf()
[all …]
/titanic_44/usr/src/lib/libmd/capabilities/sun4u/common/
H A Dmapfile-cap36 SHA1Update;
/titanic_44/usr/src/man/man3ext/
H A DMakefile51 SHA1Update.3ext \
216 SHA1Update.3ext := LINKSRC = sha1.3ext
/titanic_44/usr/src/lib/libmd/common/
H A Dmapfile-vers65 SHA1Update;
/titanic_44/usr/src/uts/common/fs/zev/
H A Dzev_checksums.c436 SHA1Update(&ctx, buf, ZEV_L0_SIZE); in zev_l0_sig()
447 SHA1Update(&ctx, l0_sig, SHA1_DIGEST_LENGTH); in zev_l0_blocksig()
448 SHA1Update(&ctx, &block_no, sizeof(block_no)); in zev_l0_blocksig()
/titanic_44/usr/src/lib/pkcs11/pkcs11_tpm/common/
H A Ddig_mgr.c430 SHA1Update(ctx->context.sha1ctx, data, data_len); in digest_mgr_digest_update()
H A Dmech_sha.c48 SHA1Update(ctx->context.sha1ctx, in_data, in_data_len); in sha1_hash()
H A Dutility.c630 SHA1Update(&ctx, data, len); in compute_sha()
/titanic_44/usr/src/common/crypto/sha1/
H A Dsha1.c186 SHA1Update(SHA1_CTX *ctx, const void *inptr, size_t input_len) in SHA1Update() function
333 SHA1Update(SHA1_CTX *ctx, const void *inptr, size_t input_len) in SHA1Update() function
429 SHA1Update(ctx, PADDING, ((index < 56) ? 56 : 120) - index); in SHA1Final()
432 SHA1Update(ctx, bitcount_be, sizeof (bitcount_be)); in SHA1Final()
/titanic_44/usr/src/lib/libsum/common/
H A Dsum-lmd.c215 lmd->updatef = (Lmd_update_f)SHA1Update; in sha1_open()
/titanic_44/usr/src/pkg/manifests/
H A Dsystem-library.man3ext.inc46 link path=usr/share/man/man3ext/SHA1Update.3ext target=sha1.3ext
/titanic_44/usr/src/uts/common/crypto/api/
H A Dkcf_random.c95 #define HashUpdate(ctx, p, s) SHA1Update((ctx), (p), (s))
/titanic_44/usr/src/psm/stand/boot/sparc/common/
H A Dwanboot.c240 SHA1Update(&c, (const uint8_t *)&t, sizeof (t)); in generate_nonce()

12