Home
last modified time | relevance | path

Searched refs:sha1ctx (Results 1 – 7 of 7) sorted by relevance

/titanic_50/usr/src/lib/pkcs11/pkcs11_tpm/common/
H A Ddig_mgr.c315 ctx->context.sha1ctx = (SHA1_CTX *) in digest_mgr_init()
317 if (!ctx->context.sha1ctx) in digest_mgr_init()
319 SHA1Init(ctx->context.sha1ctx); in digest_mgr_init()
358 free(ctx->context.sha1ctx); in digest_mgr_cleanup()
359 ctx->context.sha1ctx = NULL; in digest_mgr_cleanup()
430 SHA1Update(ctx->context.sha1ctx, data, data_len); in digest_mgr_digest_update()
502 SHA1Final(hash, ctx->context.sha1ctx); in digest_mgr_digest_final()
H A Dmech_sha.c46 if (ctx->context.sha1ctx == NULL) in sha1_hash()
48 SHA1Update(ctx->context.sha1ctx, in_data, in_data_len); in sha1_hash()
50 SHA1Final(out_data, ctx->context.sha1ctx); in sha1_hash()
H A Dtpmtok_int.h285 SHA1_CTX *sha1ctx; member
/titanic_50/usr/src/uts/common/io/fibre-channel/fca/emlxs/
H A Demlxs_dhchap.c874 SHA1_CTX sha1ctx; in emlxs_get_random_bytes() local
878 bzero(&sha1ctx, sizeof (SHA1_CTX)); in emlxs_get_random_bytes()
879 SHA1Init(&sha1ctx); in emlxs_get_random_bytes()
880 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()
883 SHA1Final((void *) sha1_digest, &sha1ctx); in emlxs_get_random_bytes()
5029 SHA1_CTX sha1ctx; in emlxs_hash_vrf() local
5089 bzero(&sha1ctx, sizeof (SHA1_CTX)); in emlxs_hash_vrf()
5091 SHA1Init(&sha1ctx); in emlxs_hash_vrf()
5093 SHA1Update(&sha1ctx, (void *)&mytran_id, 1); in emlxs_hash_vrf()
[all …]
/titanic_50/usr/src/uts/common/inet/kssl/
H A Dksslrec.c377 SHA1_CTX *sha1ctx = &sha1; in kssl_compute_handshake_hashes() local
388 SHA1Final(hashes->sha1, sha1ctx); in kssl_compute_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()
428 SHA1Final(hashes->sha1, sha1ctx); in kssl_compute_handshake_hashes()
430 SHA1Init(sha1ctx); 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()
[all …]
/titanic_50/usr/src/uts/common/crypto/io/
H A Decc.c98 SHA1_CTX sha1ctx; member
102 #define sha1_ctx dctx_u.sha1ctx
H A Drsa.c96 SHA1_CTX sha1ctx; member
102 #define sha1_ctx dctx_u.sha1ctx