/opensolaris-onvv-gate/usr/src/uts/common/sys/ |
H A D | sha1.h | 39 * SHA1_CTX directly. NEVER change this structure without verifying 51 } SHA1_CTX; typedef in typeref:struct:__anon9104 55 void SHA1Init(SHA1_CTX *); 56 void SHA1Update(SHA1_CTX *, const void *, size_t); 57 void SHA1Final(void *, SHA1_CTX *);
|
/opensolaris-onvv-gate/usr/src/common/net/wanboot/crypt/ |
H A D | hmac_sha1.h | 41 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 D | hmac_sha1.c | 36 SHA1_CTX keyContext; 44 HMACInit(SHA1_CTX *sha1Context, const uchar_t *key, size_t klen) 69 HMACUpdate(SHA1_CTX *sha1Context, const uchar_t *data, size_t dlen) 75 HMACFinal(SHA1_CTX *sha1Context, const uchar_t *key, size_t klen,
|
H A D | sha1_test.c | 83 SHA1_CTX sha;
|
H A D | hmac_test.c | 57 SHA1_CTX sha;
|
/opensolaris-onvv-gate/usr/src/common/crypto/sha1/ |
H A D | sha1_impl.h | 58 SHA1_CTX sc_sha1_ctx; /* SHA1 context */ 67 SHA1_CTX hc_icontext; /* inner SHA1 context */ 68 SHA1_CTX hc_ocontext; /* outer SHA1 context */ 76 extern SHA1_CTX *fips_sha1_build_context(void); 77 extern int fips_sha1_hash(SHA1_CTX *, uchar_t *, ulong_t, uchar_t *);
|
H A D | sha1.c | 64 SHA1_CTX *, const uint8_t *); 72 void sha1_block_data_order(SHA1_CTX *ctx, const void *inpp, size_t num_blocks); 78 static void SHA1Transform(SHA1_CTX *, const uint8_t *); 118 * input: SHA1_CTX * : the context to initializes. 123 SHA1Init(SHA1_CTX *ctx) 174 * input: SHA1_CTX * : the context to update 181 SHA1Update(SHA1_CTX *ctx, const void *inptr, size_t input_len) 328 SHA1Update(SHA1_CTX *ctx, const void *inptr, size_t input_len) 410 * SHA1_CTX * : the context to finalize, save, and zero 415 SHA1Final(void *digest, SHA1_CTX *ct [all...] |
/opensolaris-onvv-gate/usr/src/common/crypto/fips/ |
H A D | fips_sha1_util.c | 53 SHA1_CTX * 56 SHA1_CTX *sha1_context; 60 if ((sha1_context = malloc(sizeof (SHA1_CTX))) == NULL) 62 if ((sha1_context = kmem_zalloc(sizeof (SHA1_CTX), 87 fips_sha1_hash(SHA1_CTX *sha1_context, uchar_t *in, ulong_t inlen, uchar_t *out) 94 SHA1Update((SHA1_CTX *)sha1_context, in, (uint_t)inlen); 96 SHA1Update((SHA1_CTX *)sha1_context, in, inlen); 98 SHA1Final(out, (SHA1_CTX *)sha1_context); 105 kmem_free(sha1_context, sizeof (SHA1_CTX)); 276 SHA1_CTX *sha1_contex [all...] |
H A D | fips_ecc_util.c | 83 SHA1_CTX *sha1_context = NULL; 140 if ((sha1_context = kmem_zalloc(sizeof (SHA1_CTX), 143 if ((sha1_context = malloc(sizeof (SHA1_CTX))) == NULL) { 197 kmem_free(sha1_context, sizeof (SHA1_CTX));
|
H A D | fips_checksum.c | 71 process_section(SHA1_CTX *shactx, Elf64_Shdr *section, struct _buf *file, 74 process_section(SHA1_CTX *shactx, Elf64_Shdr *section, int file, 136 SHA1_CTX sha1ctx;
|
H A D | fips_dsa_util.c | 160 SHA1_CTX *sha1_context; 180 SHA1_CTX *sha1_context;
|
H A D | fips_rsa_util.c | 79 SHA1_CTX *sha1_context = NULL; 98 if ((sha1_context = kmem_zalloc(sizeof (SHA1_CTX), 101 if ((sha1_context = malloc(sizeof (SHA1_CTX))) == NULL) 128 kmem_free(sha1_context, sizeof (SHA1_CTX));
|
/opensolaris-onvv-gate/usr/src/lib/pkcs11/pkcs11_softtoken/common/ |
H A D | softDigestUtil.c | 84 session_p->digest.context = malloc(sizeof (SHA1_CTX)); 97 SHA1Init((SHA1_CTX *)session_p->digest.context); 260 SHA1Update((SHA1_CTX *)session_p->digest.context, 264 SHA1Update((SHA1_CTX *)session_p->digest.context, 268 (SHA1_CTX *)session_p->digest.context); 274 (SHA1_CTX *)session_p->digest.context); 275 len = sizeof (SHA1_CTX); 380 SHA1Update((SHA1_CTX *)session_p->digest.context, 384 SHA1Update((SHA1_CTX *)session_p->digest.context,
|
H A D | softMAC.h | 75 SHA1_CTX hc_icontext; /* inner SHA1 context */ 76 SHA1_CTX hc_ocontext; /* outer SHA1 context */
|
H A D | softSessionUtil.c | 498 op_data_len += sizeof (SHA1_CTX); 540 /* Save SHA1_CTX for the active digest operation */ 545 sizeof (SHA1_CTX)); 574 ret_val = (CK_BYTE_PTR) malloc(sizeof (SHA1_CTX)); 679 /* Restore SHA1_CTX from the saved digest operation */ 682 sizeof (SHA1_CTX));
|
/opensolaris-onvv-gate/usr/src/common/crypto/rng/ |
H A D | fips_random.c | 108 SHA1_CTX sha1_context; 142 * sha1_context, which is of type SHA1_CTX, defined in sha1.h.
|
/opensolaris-onvv-gate/usr/src/cmd/cmd-inet/usr.lib/wanboot/hmac/ |
H A D | hmac.c | 59 SHA1_CTX ctx;
|
/opensolaris-onvv-gate/usr/src/lib/pkcs11/pkcs11_tpm/common/ |
H A D | dig_mgr.c | 314 ctx->context_len = sizeof (SHA1_CTX); 315 ctx->context.sha1ctx = (SHA1_CTX *)
|
/opensolaris-onvv-gate/usr/src/uts/common/inet/kssl/ |
H A D | ksslproto.h | 253 SHA1_CTX sha; 315 SHA1_CTX hs_sha1;
|
/opensolaris-onvv-gate/usr/src/uts/common/crypto/io/ |
H A D | sha1_mod.c | 268 sha1_digest_update_uio(SHA1_CTX *sha1_ctx, crypto_data_t *data) 331 sha1_digest_final_uio(SHA1_CTX *sha1_ctx, crypto_data_t *digest, 424 sha1_digest_update_mblk(SHA1_CTX *sha1_ctx, crypto_data_t *data) 476 sha1_digest_final_mblk(SHA1_CTX *sha1_ctx, crypto_data_t *digest, 727 SHA1_CTX sha1_ctx;
|
H A D | ecc.c | 95 SHA1_CTX sha1ctx; 1350 SHA1_CTX *sha1_context; 1364 if ((sha1_context = kmem_zalloc(sizeof (SHA1_CTX), 1391 kmem_free(sha1_context, sizeof (SHA1_CTX));
|
/opensolaris-onvv-gate/usr/src/cmd/cmd-inet/usr.bin/pppd/ |
H A D | chap_ms.c | 431 SHA1_CTX sha1Context; 538 SHA1_CTX sha1Context;
|
/opensolaris-onvv-gate/usr/src/common/crypto/sha1/amd64/ |
H A D | sha1-x86_64.pl | 56 # void sha1_block_data_order(SHA1_CTX *ctx, const void *inpp, size_t blocks); 235 sha1_block_data_order(SHA1_CTX *ctx, const void *inpp, size_t blocks)
|
/opensolaris-onvv-gate/usr/src/lib/libsum/common/ |
H A D | sum-lmd.c | 200 SHA1_CTX context;
|
/opensolaris-onvv-gate/usr/src/psm/stand/boot/sparc/common/ |
H A D | wanboot.c | 230 SHA1_CTX c; 471 size_t ramdisk_size, off_t *offset, SHA1_CTX *sha) 979 static SHA1_CTX sha; 1226 SHA1_CTX sha;
|