Searched defs:digest (Results 1 - 25 of 80) sorted by relevance

1234

/illumos-gate/usr/src/lib/gss_mechs/mech_dh/backend/crypto/
H A Dmd5.h54 unsigned char digest[16]; /* actual digest after MD5Final call */ member in struct:__anon2621
/illumos-gate/usr/src/uts/common/gssapi/mechs/krb5/include/
H A Drsa-md4.h44 /* 16 u_char's in the digest */
89 unsigned char digest[16]; /* actual digest after MD4Final call */ member in struct:__anon4920
/illumos-gate/usr/src/lib/libsip/common/
H A Dsip_hash.c40 * the caller provides the hash table, the digest (opaque), the index into
42 * for removing an object, the caller provides the hash table, the digest
82 * Given the hash table, the digest to be searched for, index into the hash
87 sip_hash_find(sip_hash_t *sip_hash, void *digest, int hindex, argument
98 if (match_func(tmp->sip_obj, digest)) {
135 * Given the hash table, the digest to be searched for, the index into the
140 sip_hash_delete(sip_hash_t *sip_hash, void *digest, int hindex, argument
152 if (del_func(tmp->sip_obj, digest, &found)) {
H A Dsip_gids.c75 char *str6, int lstr6, uchar_t *digest)
102 _sasl_MD5Final(digest, &ctx);
126 MD5Final(digest, &ctx);
73 sip_md5_hash(char *str1, int lstr1, char *str2, int lstr2, char *str3, int lstr3, char *str4, int lstr4, char *str5, int lstr5, char *str6, int lstr6, uchar_t *digest) argument
H A Dsip_logging.c248 sip_print_digest(uint16_t *digest, int len, FILE *fp) argument
253 (void) fprintf(fp, "%u ", digest[cnt]);
/illumos-gate/usr/src/uts/common/io/qede/579xx/hsi/mcp/
H A Dmfw_sig_meta.h55 uint8_t digest[MFW_DIGEST_SIZE]; member in struct:sig_meta_group
/illumos-gate/usr/src/boot/sys/cddl/boot/zfs/
H A Dedonr_zfs.c38 uint8_t digest[EDONR_MODE / 8]; local
44 EdonRFinal(&ctx, digest);
45 bcopy(digest, zcp->zc_word, sizeof (zcp->zc_word));
/illumos-gate/usr/src/cmd/bhyve/
H A Dnet_utils.c106 unsigned char digest[16]; local
114 MD5Final(digest, &mdctx);
119 macaddr[3] = digest[0];
120 macaddr[4] = digest[1];
121 macaddr[5] = digest[2];
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/crypto/keyhash_provider/
H A Dhmac_md5.c54 char digest[MD5_CKSUM_LENGTH]; local
63 * Solaris Kerberos: The digest length is that of MD5_CKSUM_LENGTH not the key
64 * length, as keys can be of varying lengths but should not affect the digest
65 * length. The signing key is the digest and therefore is also the same
117 (CK_BYTE_PTR)digest, (CK_ULONG_PTR)&hashlen)) != CKR_OK) {
124 md5tmp.data = digest;
H A Dk5_md5des.c163 unsigned char digest[MD5_CKSUM_LENGTH]; local
253 (CK_BYTE_PTR)digest, (CK_ULONG_PTR)&hashlen)) != CKR_OK) {
263 *valid = (memcmp(plaintext+CONFLENGTH, digest, sizeof(digest)) == 0);
265 *valid = (memcmp(plaintext, digest, sizeof(digest)) == 0);
/illumos-gate/usr/src/uts/common/fs/zfs/
H A Dedonr_zfs.c52 uint8_t digest[EDONR_MODE / 8]; local
58 EdonRFinal(&ctx, digest);
59 bcopy(digest, zcp->zc_word, sizeof (zcp->zc_word));
/illumos-gate/usr/src/lib/libldap5/sources/ldap/common/
H A Dcram_md5.c17 /* text is the challenge, key is the password, digest is an allocated
18 buffer (min 16 chars) which will contain the resulting digest */
20 int key_len, unsigned char *digest)
52 (void) MD5Final(digest, &context);
57 (void) MD5Update(&context, digest, 16);
59 (void) MD5Final(digest, &context);
74 unsigned char digest[16]; local
81 bzero(digest, sizeof (digest));
94 (unsigned char *)cred->bv_val, cred->bv_len, digest);
19 hmac_md5(unsigned char *text, int text_len, unsigned char *key, int key_len, unsigned char *digest) argument
[all...]
/illumos-gate/usr/src/lib/smbclnt/libfknsmb/common/
H A Dfksmb_sign_pkcs.c101 * Get the final digest.
171 * 32-byte SHA256 HMAC digest.
250 * Note, the SMB2 signature is just the AES CMAC digest.
254 smb3_cmac_final(smb_sign_ctx_t ctx, uint8_t *digest) argument
259 rv = C_SignFinal(ctx, digest, &len);
/illumos-gate/usr/src/lib/smbsrv/libfksmbsrv/common/
H A Dfksmb_sign_pkcs.c100 * Get the final digest.
170 * 32-byte SHA256 HMAC digest.
249 * Note, the SMB2 signature is just the AES CMAC digest.
253 smb3_cmac_final(smb_sign_ctx_t ctx, uint8_t *digest) argument
258 rv = C_SignFinal(ctx, digest, &len);
/illumos-gate/usr/src/uts/common/crypto/api/
H A Dkcf_digest.c40 * Message digest routines
76 * digest: Storage for the digest. The length needed depends on the
84 * When complete and successful, 'digest' will contain the digest value.
96 crypto_mechanism_t *mech, crypto_data_t *data, crypto_data_t *digest,
115 data, digest);
131 crypto_data_t *digest, crypto_call_req_t *crq)
154 digest, KCF_SWFP_RHNDL(crq));
163 pd->pd_sid, mech, NULL, data, digest);
95 crypto_digest_prov(crypto_provider_t provider, crypto_session_id_t sid, crypto_mechanism_t *mech, crypto_data_t *data, crypto_data_t *digest, crypto_call_req_t *crq) argument
130 crypto_digest(crypto_mechanism_t *mech, crypto_data_t *data, crypto_data_t *digest, crypto_call_req_t *crq) argument
385 crypto_digest_final(crypto_context_t context, crypto_data_t *digest, crypto_call_req_t *cr) argument
456 crypto_digest_single(crypto_context_t context, crypto_data_t *data, crypto_data_t *digest, crypto_call_req_t *cr) argument
[all...]
/illumos-gate/usr/src/lib/smbsrv/libsmb/common/
H A Dsmb_crypt.c64 * Compute an MD4 digest.
82 unsigned char *digest)
105 /* Initialize the digest operation in the session */
118 rv = C_SignFinal(hSession, (CK_BYTE_PTR)digest, &diglen);
78 smb_auth_hmac_md5(unsigned char *data, int data_len, unsigned char *key, int key_len, unsigned char *digest) argument
/illumos-gate/usr/src/uts/common/fs/smbclnt/netsmb/
H A Dsmb_sign.c108 uchar_t digest[MD5_DIGEST_LENGTH]; local
117 * (2) reduce the number of digest calls, at the
151 * fill in the sequence number, and digest.
182 rc = smb_md5_final(ctx, digest);
191 bcopy(digest, signature, SMBSIGLEN);
/illumos-gate/usr/src/uts/common/crypto/core/
H A Dkcf_prov_lib.c126 crypto_digest_data(crypto_data_t *data, void *dctx, uchar_t *digest, argument
192 final(digest, dctx);
276 * The caller requested to digest more data than it provided.
332 * to digest more data than it provided.
/illumos-gate/usr/src/lib/pkcs11/pkcs11_kernel/common/
H A DkernelDigest.c75 * the message digest.
77 session_p->digest.flags |= CRYPTO_OPERATION_ACTIVE;
80 session_p->digest.mech.mechanism = pMechanism->mechanism;
81 session_p->digest.mech.pParameter = NULL;
82 session_p->digest.mech.ulParameterLen = 0;
83 session_p->digest.flags |= CRYPTO_EMULATE;
117 session_p->digest.flags &= ~CRYPTO_OPERATION_ACTIVE;
148 crypto_digest_t digest; local
172 if (!(session_p->digest.flags & CRYPTO_OPERATION_ACTIVE)) {
186 if (session_p->digest
[all...]
/illumos-gate/usr/src/lib/libsasl/lib/
H A Dcheckpw.c274 unsigned char digest[16]; local
314 _sasl_MD5Final(digest, &ctx);
316 /* convert digest from binary to ASCII hex */
318 sprintf(digeststr + (i*2), "%02x", digest[i]);
H A Dmd5.c7 /* MD5C.C - RSA Data Security, Inc., MD5 message-digest algorithm
133 /* MD5 block update operation. Continues an MD5 message-digest
178 /* MD5 finalization. Ends an MD5 message-digest operation, writing the
179 the message digest and zeroizing the context.
182 void _sasl_MD5Final (digest, context)
183 unsigned char digest[16]; /* message digest */
200 /* Store state in digest */
201 Encode (digest, context->state, 16);
467 void _sasl_hmac_md5_final(unsigned char digest[HMAC_MD5_SIZ argument
[all...]
/illumos-gate/usr/src/lib/crypt_modules/sunmd5/
H A Dsunmd5.c95 md5bit(uint8_t *digest, int bit_num) argument
104 /* return the value of bit N from the digest */
105 return ((digest[byte_off] & (0x01 << bit_off)) ? 1 : 0);
259 uint8_t digest[DIGEST_LEN]; /* where the MD5 digest is stored */ member in struct:__anon2571
268 int indirect_a; /* 7bit index into digest */
271 int indirect_b; /* 7bit index into digest */
317 /* compute the digest */
319 MD5Final(data.digest, &data.context);
331 /* update with the previous digest */
[all...]
/illumos-gate/usr/src/lib/libsqlite/src/
H A Dmd5.c19 * This code implements the MD5 message-digest algorithm.
29 * To compute the message digest of a chunk of bytes, declare an
32 * will fill a supplied 16-byte array with the digest.
236 static void MD5Final(unsigned char digest[16], MD5Context *pCtx){ argument
273 memcpy(digest, ctx->buf, 16);
278 ** Convert a digest into base-16. digest should be declared as
279 ** "unsigned char digest[16]" in the calling function. The MD5
280 ** digest is stored in the first 16 bytes. zBuf should
283 static void DigestToBase16(unsigned char *digest, cha argument
301 unsigned char digest[16]; local
322 unsigned char digest[16]; local
379 unsigned char digest[16]; local
[all...]
/illumos-gate/usr/src/lib/libsum/common/
H A Dsum-sha1.c51 uint8_t digest[20]; member in struct:Sha1_s
283 * Add padding and return the message digest.
309 for (i = 0; i < elementsof(sha->digest); i++)
311 sha->digest[i] = (unsigned char)((sha->state[i >> 2] >> ((3 - (i & 3)) * 8)) & 255);
312 sha->digest_sum[i] ^= sha->digest[i];
327 d = (flags & SUM_TOTAL) ? sha->digest_sum : sha->digest;
328 for (n = 0; n < elementsof(sha->digest); n++)
338 data->size = elementsof(sha->digest);
340 data->buf = sha->digest;
/illumos-gate/usr/src/grub/grub-0.97/stage2/
H A Dmd5.c215 unsigned char *digest; local
241 digest = md5_final ();
242 memcpy (alt_result, digest, 16);
254 digest = md5_final ();
258 memcpy (alt_result, digest, 16);
277 digest = md5_final ();
284 digest[i == 4 ? 5 : 12+i] | (digest[6+i] << 8) | (digest[i] << 16);
301 unsigned int w = digest[1
339 unsigned char* digest = md5 (buffer); local
[all...]

Completed in 91 milliseconds

1234