Home
last modified time | relevance | path

Searched refs:SHA1_CTX (Results 1 – 25 of 35) sorted by relevance

12

/titanic_41/usr/src/uts/common/sys/
H A Dsha1.h51 } SHA1_CTX; typedef
55 void SHA1Init(SHA1_CTX *);
56 void SHA1Update(SHA1_CTX *, const void *, size_t);
57 void SHA1Final(void *, SHA1_CTX *);
/titanic_41/usr/src/common/net/wanboot/crypt/
H A Dhmac_sha1.h41 extern void HMACInit(SHA1_CTX *, const uchar_t *, size_t);
42 extern void HMACUpdate(SHA1_CTX *, const uchar_t *, size_t);
43 extern void HMACFinal(SHA1_CTX *sha1Context, const uchar_t *, size_t,
H A Dhmac_sha1.c36 SHA1_CTX keyContext; in HMACHashKey()
44 HMACInit(SHA1_CTX *sha1Context, const uchar_t *key, size_t klen) in HMACInit()
69 HMACUpdate(SHA1_CTX *sha1Context, const uchar_t *data, size_t dlen) in HMACUpdate()
75 HMACFinal(SHA1_CTX *sha1Context, const uchar_t *key, size_t klen, in HMACFinal()
H A Dsha1_test.c83 SHA1_CTX sha; in sha1test()
H A Dhmac_test.c57 SHA1_CTX sha; in hmactest()
/titanic_41/usr/src/lib/pkcs11/pkcs11_softtoken/common/
H A DsoftDigestUtil.c84 session_p->digest.context = malloc(sizeof (SHA1_CTX)); in soft_digest_init()
97 SHA1Init((SHA1_CTX *)session_p->digest.context); in soft_digest_init()
260 SHA1Update((SHA1_CTX *)session_p->digest.context, in soft_digest_common()
264 SHA1Update((SHA1_CTX *)session_p->digest.context, in soft_digest_common()
268 (SHA1_CTX *)session_p->digest.context); in soft_digest_common()
274 (SHA1_CTX *)session_p->digest.context); in soft_digest_common()
275 len = sizeof (SHA1_CTX); 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 DsoftMAC.h75 SHA1_CTX hc_icontext; /* inner SHA1 context */
76 SHA1_CTX hc_ocontext; /* outer SHA1 context */
H A DsoftSessionUtil.c498 op_data_len += sizeof (SHA1_CTX); in soft_get_operationstate()
545 sizeof (SHA1_CTX)); in soft_get_operationstate()
574 ret_val = (CK_BYTE_PTR) malloc(sizeof (SHA1_CTX)); in alloc_digest()
682 sizeof (SHA1_CTX)); in soft_set_operationstate()
H A DsoftSSL.c110 SHA1_CTX sha1_ctx; in soft_ssl3_churn()
168 SHA1_CTX sha1_ctx; in soft_tls_prf()
/titanic_41/usr/src/common/crypto/sha1/
H A Dsha1_impl.h56 SHA1_CTX sc_sha1_ctx; /* SHA1 context */
65 SHA1_CTX hc_icontext; /* inner SHA1 context */
66 SHA1_CTX hc_ocontext; /* outer SHA1 context */
H A Dsha1.c69 SHA1_CTX *, const uint8_t *);
77 void sha1_block_data_order(SHA1_CTX *ctx, const void *inpp, size_t num_blocks);
83 static void SHA1Transform(SHA1_CTX *, const uint8_t *);
128 SHA1Init(SHA1_CTX *ctx) in SHA1Init()
186 SHA1Update(SHA1_CTX *ctx, const void *inptr, size_t input_len) in SHA1Update()
333 SHA1Update(SHA1_CTX *ctx, const void *inptr, size_t input_len) in SHA1Update()
420 SHA1Final(void *digest, SHA1_CTX *ctx) in SHA1Final()
500 SHA1_CTX *ctx, const uint8_t blk[64])
623 SHA1Transform(SHA1_CTX *ctx, const uint8_t blk[64])
/titanic_41/usr/src/uts/common/inet/kssl/
H A Dksslproto.h253 SHA1_CTX sha;
315 SHA1_CTX hs_sha1;
/titanic_41/usr/src/lib/pkcs11/pkcs11_tpm/common/
H A Ddig_mgr.c314 ctx->context_len = sizeof (SHA1_CTX); in digest_mgr_init()
315 ctx->context.sha1ctx = (SHA1_CTX *) in digest_mgr_init()
H A Dutility.c626 SHA1_CTX ctx; in compute_sha()
/titanic_41/usr/src/common/crypto/rng/
H A Dfips_random.c108 SHA1_CTX sha1_context; in fips_random_inner()
/titanic_41/usr/src/cmd/cmd-inet/usr.lib/wanboot/hmac/
H A Dhmac.c59 SHA1_CTX ctx; in hash_gen()
/titanic_41/usr/src/psm/stand/boot/sparc/common/
H A Dwanboot.c229 SHA1_CTX c; in generate_nonce()
470 size_t ramdisk_size, off_t *offset, SHA1_CTX *sha) in write_msg_to_ramdisk()
978 static SHA1_CTX sha; in process_miniroot()
1225 SHA1_CTX sha; in process_wanbootfs()
/titanic_41/usr/src/uts/common/crypto/io/
H A Dsha1_mod.c262 sha1_digest_update_uio(SHA1_CTX *sha1_ctx, crypto_data_t *data) in sha1_digest_update_uio()
325 sha1_digest_final_uio(SHA1_CTX *sha1_ctx, crypto_data_t *digest, in sha1_digest_final_uio()
418 sha1_digest_update_mblk(SHA1_CTX *sha1_ctx, crypto_data_t *data) in sha1_digest_update_mblk()
470 sha1_digest_final_mblk(SHA1_CTX *sha1_ctx, crypto_data_t *digest, in sha1_digest_final_mblk()
721 SHA1_CTX sha1_ctx; in sha1_digest_atomic()
H A Dswrand.c68 #define HASH_CTX SHA1_CTX
/titanic_41/usr/src/cmd/cmd-inet/usr.bin/pppd/
H A Dchap_ms.c431 SHA1_CTX sha1Context;
538 SHA1_CTX sha1Context;
/titanic_41/usr/src/lib/libsum/common/
H A Dsum-lmd.c200 SHA1_CTX context;
/titanic_41/usr/src/uts/common/io/fibre-channel/fca/emlxs/
H A Demlxs_dhchap.c874 SHA1_CTX sha1ctx; in emlxs_get_random_bytes()
878 bzero(&sha1ctx, sizeof (SHA1_CTX)); in emlxs_get_random_bytes()
5029 SHA1_CTX sha1ctx; in emlxs_hash_vrf()
5089 bzero(&sha1ctx, sizeof (SHA1_CTX)); in emlxs_hash_vrf()
5169 bzero(&sha1ctx, sizeof (SHA1_CTX)); in emlxs_hash_vrf()
5241 SHA1_CTX sha1ctx; in emlxs_hash_rsp()
5306 bzero(&sha1ctx, sizeof (SHA1_CTX)); in emlxs_hash_rsp()
5386 bzero(&sha1ctx, sizeof (SHA1_CTX)); in emlxs_hash_rsp()
5442 SHA1_CTX sha1ctx; in emlxs_interm_hash()
5488 bzero(&sha1ctx, sizeof (SHA1_CTX)); in emlxs_interm_hash()
[all …]
/titanic_41/usr/src/uts/common/fs/zev/
H A Dzev_checksums.c433 SHA1_CTX ctx; in zev_l0_sig()
444 SHA1_CTX ctx; in zev_l0_blocksig()
/titanic_41/usr/src/cmd/cmd-inet/usr.lib/wanboot/keygen/
H A Dkeygen.c365 SHA1_CTX ctx; in client_gen_key()
/titanic_41/usr/src/uts/common/crypto/api/
H A Dkcf_random.c93 #define HASH_CTX SHA1_CTX

12