Home
last modified time | relevance | path

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

12

/illumos-gate/usr/src/uts/common/sys/
H A Dsha1.h49 } SHA1_CTX; typedef
54 void SHA1Init(SHA1_CTX *);
55 void SHA1Update(SHA1_CTX *, const void *, size_t);
56 void SHA1Final(void *, SHA1_CTX *);
/illumos-gate/usr/src/lib/pkcs11/pkcs11_softtoken/common/
H A DsoftDigestUtil.c85 session_p->digest.context = malloc(sizeof (SHA1_CTX)); in soft_digest_init()
98 SHA1Init((SHA1_CTX *)session_p->digest.context); in soft_digest_init()
276 SHA1Update((SHA1_CTX *)session_p->digest.context, in soft_digest_common()
280 SHA1Update((SHA1_CTX *)session_p->digest.context, in soft_digest_common()
284 (SHA1_CTX *)session_p->digest.context); in soft_digest_common()
290 (SHA1_CTX *)session_p->digest.context); in soft_digest_common()
291 len = sizeof (SHA1_CTX); in soft_digest_common()
398 SHA1Update((SHA1_CTX *)session_p->digest.context, in soft_digest_update()
402 SHA1Update((SHA1_CTX *)session_p->digest.context, in soft_digest_update()
H A DsoftMAC.h73 SHA1_CTX hc_icontext; /* inner SHA1 context */
74 SHA1_CTX hc_ocontext; /* outer SHA1 context */
H A DsoftSessionUtil.c517 op_data_len += sizeof (SHA1_CTX); in soft_get_operationstate()
564 sizeof (SHA1_CTX)); in soft_get_operationstate()
593 ret_val = (CK_BYTE_PTR) malloc(sizeof (SHA1_CTX)); in alloc_digest()
701 sizeof (SHA1_CTX)); in soft_set_operationstate()
H A DsoftSSL.c112 SHA1_CTX sha1_ctx; in soft_ssl3_churn()
170 SHA1_CTX sha1_ctx; in soft_tls_prf()
/illumos-gate/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.c84 SHA1_CTX *, const uint8_t [64]);
92 void sha1_block_data_order(SHA1_CTX *ctx, const void *inpp, size_t num_blocks);
98 static void SHA1Transform(SHA1_CTX *, const uint8_t [64]);
121 SHA1Init(SHA1_CTX *ctx) in SHA1Init()
179 SHA1Update(SHA1_CTX *ctx, const void *inptr, size_t input_len) in SHA1Update()
326 SHA1Update(SHA1_CTX *ctx, const void *inptr, size_t input_len) in SHA1Update()
413 SHA1Final(void *digest, SHA1_CTX *ctx) in SHA1Final()
512 SHA1_CTX *ctx, const uint8_t blk[64])
635 SHA1Transform(SHA1_CTX *ctx, const uint8_t blk[64])
/illumos-gate/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()
H A Dtpmtok_int.h286 SHA1_CTX *sha1ctx;
/illumos-gate/usr/src/boot/libsa/crypto/
H A Ddigest.c11 SHA1_CTX sha1_ctx; in sha1()
/illumos-gate/usr/src/uts/common/crypto/io/
H A Dsha1_mod.c265 sha1_digest_update_uio(SHA1_CTX *sha1_ctx, crypto_data_t *data) in sha1_digest_update_uio()
328 sha1_digest_final_uio(SHA1_CTX *sha1_ctx, crypto_data_t *digest, in sha1_digest_final_uio()
421 sha1_digest_update_mblk(SHA1_CTX *sha1_ctx, crypto_data_t *data) in sha1_digest_update_mblk()
473 sha1_digest_final_mblk(SHA1_CTX *sha1_ctx, crypto_data_t *digest, in sha1_digest_final_mblk()
724 SHA1_CTX sha1_ctx; in sha1_digest_atomic()
920 SHA1_CTX *ictx = NULL; in sha1_mac()
921 SHA1_CTX *octx = NULL; in sha1_mac()
H A Dswrand.c68 #define HASH_CTX SHA1_CTX
H A Decc.c98 SHA1_CTX sha1ctx;
H A Drsa.c96 SHA1_CTX sha1ctx;
/illumos-gate/usr/src/cmd/boot/bootadm/
H A Dbootadm_digest.c44 SHA1_CTX sha1_ctx; in bootadm_digest()
/illumos-gate/usr/src/common/crypto/rng/
H A Dfips_random.c108 SHA1_CTX sha1_context; in fips_random_inner()
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/pppd/
H A Dchap_ms.c424 SHA1_CTX sha1Context;
531 SHA1_CTX sha1Context;
/illumos-gate/usr/src/contrib/ast/src/lib/libsum/
H A Dsum-lmd.c200 SHA1_CTX context;
/illumos-gate/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()
5241 SHA1_CTX sha1ctx; in emlxs_hash_rsp()
5442 SHA1_CTX sha1ctx; in emlxs_interm_hash()
5488 bzero(&sha1ctx, sizeof (SHA1_CTX)); in emlxs_interm_hash()
6067 SHA1_CTX sha1ctx; in emlxs_hash_Cai()
6130 bzero(&sha1ctx, sizeof (SHA1_CTX)); in emlxs_hash_Cai()
6210 SHA1_CTX sha1ctx; in emlxs_hash_verification()
[all …]
/illumos-gate/usr/src/uts/common/crypto/api/
H A Dkcf_random.c93 #define HASH_CTX SHA1_CTX
/illumos-gate/usr/src/lib/libkmf/libkmf/common/
H A Dpk11keys.c694 SHA1_CTX ctx; in create_id_hash()
/illumos-gate/usr/src/lib/libelfsign/common/
H A Delfsignlib.c900 SHA1_CTX ctx; in elfsign_hash_common()
/illumos-gate/usr/src/uts/i86pc/dboot/
H A Ddboot_startkern.c1182 SHA1_CTX ctx; in check_image_hash()
/illumos-gate/usr/src/common/crypto/sha1/sparc/sun4u/
H A Dsha1_asm.S2437 ! Compute final hash values for this block and store back to SHA1_CTX

12