/illumos-gate/usr/src/lib/crypt_modules/bsdmd5/ |
H A D | bsdmd5.c | 100 MD5Update(&ctx, (uchar_t *)plaintext, strlen(plaintext)); in crypt_genhash_impl() 103 MD5Update(&ctx, (uchar_t *)crypt_alg_magic, strlen(crypt_alg_magic)); in crypt_genhash_impl() 106 MD5Update(&ctx, (uchar_t *)sp, sl); in crypt_genhash_impl() 110 MD5Update(&ctx1, (uchar_t *)plaintext, strlen(plaintext)); in crypt_genhash_impl() 111 MD5Update(&ctx1, sp, sl); in crypt_genhash_impl() 112 MD5Update(&ctx1, (uchar_t *)plaintext, strlen(plaintext)); in crypt_genhash_impl() 115 MD5Update(&ctx, final, pl > 16 ? 16 : pl); in crypt_genhash_impl() 123 MD5Update(&ctx, final, 1); in crypt_genhash_impl() 125 MD5Update(&ctx, (uchar_t *)plaintext, 1); in crypt_genhash_impl() 144 MD5Update(&ctx1, (uchar_t *)plaintext, in crypt_genhash_impl() [all …]
|
/illumos-gate/usr/src/lib/libldap5/sources/ldap/common/ |
H A D | digest_md5.c | 146 MD5Update(&ctx, (unsigned char *) &r, sizeof (r)); in digest_nonce() 147 MD5Update(&ctx, (unsigned char *) &counter, sizeof (counter)); in digest_nonce() 186 MD5Update(ctx, base, len); in MD5_UTF8_8859_1() 194 if (scan != base) MD5Update(ctx, base, scan - base); in MD5_UTF8_8859_1() 197 MD5Update(ctx, &cbuf, 1); in MD5_UTF8_8859_1() 218 MD5Update(&ctx, (CONST_UCHAR *) user, ulen); in digest_hash_pass() 222 MD5Update(&ctx, colon, 1); in digest_hash_pass() 225 MD5Update(&ctx, (CONST_UCHAR *) realm, rlen); in digest_hash_pass() 229 MD5Update(&ctx, colon, 1); in digest_hash_pass() 231 MD5Update(&ctx, (CONST_UCHAR *) pass, passlen); in digest_hash_pass() [all …]
|
H A D | cram_md5.c | 30 (void) MD5Update(&tctx, key, key_len); in hmac_md5() 48 (void) MD5Update(&context, k_ipad, 64); in hmac_md5() 49 (void) MD5Update(&context, text, text_len); in hmac_md5() 54 (void) MD5Update(&context, k_opad, 64); in hmac_md5() 55 (void) MD5Update(&context, digest, 16); in hmac_md5()
|
/illumos-gate/usr/src/lib/libsip/common/ |
H A D | sip_gids.c | 104 MD5Update(&ctx, (uchar_t *)&sip_hash_salt, sizeof (uint64_t)); in sip_md5_hash() 107 MD5Update(&ctx, (uchar_t *)str1, lstr1); in sip_md5_hash() 110 MD5Update(&ctx, (uchar_t *)str2, lstr2); in sip_md5_hash() 113 MD5Update(&ctx, (uchar_t *)str3, lstr3); in sip_md5_hash() 116 MD5Update(&ctx, (uchar_t *)str4, lstr4); in sip_md5_hash() 119 MD5Update(&ctx, (uchar_t *)str5, lstr5); in sip_md5_hash() 122 MD5Update(&ctx, (uchar_t *)str6, lstr6); in sip_md5_hash() 258 MD5Update(&ctx, (uchar_t *)via->sip_hdr_start, hdrlen); in sip_branchid() 260 MD5Update(&ctx, (uchar_t *)to->sip_hdr_start, hdrlen); in sip_branchid() 262 MD5Update(&ctx, (uchar_t *)from->sip_hdr_start, hdrlen); in sip_branchid() [all …]
|
/illumos-gate/usr/src/lib/libresolv2/common/dst/ |
H A D | hmac_link.c | 113 MD5Update(ctx, key->hk_ipad, HMAC_LEN); in dst_hmac_md5_sign() 117 MD5Update(ctx, data, len); in dst_hmac_md5_sign() 126 MD5Update(ctx, key->hk_opad, HMAC_LEN); in dst_hmac_md5_sign() 127 MD5Update(ctx, signature, MD5_LEN); in dst_hmac_md5_sign() 180 MD5Update(ctx, key->hk_ipad, HMAC_LEN); in dst_hmac_md5_verify() 183 MD5Update(ctx, data, len); in dst_hmac_md5_verify() 193 MD5Update(ctx, key->hk_opad, HMAC_LEN); in dst_hmac_md5_verify() 194 MD5Update(ctx, digest, MD5_LEN); in dst_hmac_md5_verify() 243 MD5Update(&ctx, key, keylen); in dst_buffer_to_hmac_md5()
|
/illumos-gate/usr/src/uts/common/io/scsi/adapters/iscsi/ |
H A D | radius_packet.c | 253 MD5Update(&context, &packet->code, 1); in rcv_radius_response() 254 MD5Update(&context, &packet->identifier, 1); in rcv_radius_response() 255 MD5Update(&context, packet->length, 2); in rcv_radius_response() 256 MD5Update(&context, req_authenticator, RAD_AUTHENTICATOR_LEN); in rcv_radius_response() 260 MD5Update(&context, packet->data, in rcv_radius_response() 263 MD5Update(&context, shared_secret, shared_secret_len); in rcv_radius_response()
|
H A D | radius_auth.c | 102 MD5Update(&context, rad_svr_shared_secret, rad_svr_shared_secret_len); in radius_chap_validate() 106 MD5Update(&context, (uint8_t *)lbolt, strlen(lbolt)); in radius_chap_validate() 110 MD5Update(&context, random_number, sizeof (random_number)); in radius_chap_validate()
|
/illumos-gate/usr/src/uts/common/io/comstar/port/iscsit/ |
H A D | iscsit_radiuspacket.c | 254 MD5Update(&context, &packet->code, 1); in iscsit_rcv_radius_response() 255 MD5Update(&context, &packet->identifier, 1); in iscsit_rcv_radius_response() 256 MD5Update(&context, packet->length, 2); in iscsit_rcv_radius_response() 257 MD5Update(&context, req_authenticator, RAD_AUTHENTICATOR_LEN); in iscsit_rcv_radius_response() 268 MD5Update(&context, packet->data, in iscsit_rcv_radius_response() 271 MD5Update(&context, shared_secret, shared_secret_len); in iscsit_rcv_radius_response()
|
H A D | iscsit_radiusauth.c | 98 MD5Update(&context, rad_svr_shared_secret, rad_svr_shared_secret_len); in iscsit_radius_chap_validate() 102 MD5Update(&context, (uint8_t *)lbolt, strlen(lbolt)); in iscsit_radius_chap_validate() 105 MD5Update(&context, random_number, sizeof (random_number)); in iscsit_radius_chap_validate()
|
H A D | iscsit_authclient.c | 154 MD5Update(&context, resp, 1); in client_compute_chap_resp() 159 MD5Update(&context, (uchar_t *)password, password_len); in client_compute_chap_resp() 164 MD5Update(&context, chap_c, challenge_len); in client_compute_chap_resp()
|
/illumos-gate/usr/src/lib/smbsrv/libmlsvc/common/ |
H A D | netr_ssp.c | 349 MD5Update(&md5h, (uchar_t *)&zeroes, 4); in netr_ssp_make_token() 350 MD5Update(&md5h, (uchar_t *)nas, 8); in netr_ssp_make_token() 352 MD5Update(&md5h, confounder, NL_AUTH_CONFOUNDER_SIZE); in netr_ssp_make_token() 353 MD5Update(&md5h, pdu_body, nds->pdu_body_size); in netr_ssp_make_token() 527 MD5Update(&md5h, (uchar_t *)&zeroes, 4); in netr_ssp_check_token() 528 MD5Update(&md5h, (uchar_t *)nas, 8); in netr_ssp_check_token() 530 MD5Update(&md5h, confounder, NL_AUTH_CONFOUNDER_SIZE); in netr_ssp_check_token() 531 MD5Update(&md5h, pdu_body, nds->pdu_body_size); in netr_ssp_check_token()
|
/illumos-gate/usr/src/lib/crypt_modules/sunmd5/ |
H A D | sunmd5.c | 310 MD5Update(&data.context, (uchar_t *)plaintext, strlen(plaintext)); in crypt_genhash_impl() 314 MD5Update(&data.context, (uchar_t *)puresalt, strlen(puresalt)); in crypt_genhash_impl() 333 MD5Update(&data.context, data.digest, sizeof (data.digest)); in crypt_genhash_impl() 415 MD5Update(&data.context, in crypt_genhash_impl() 427 MD5Update(&data.context, in crypt_genhash_impl()
|
/illumos-gate/usr/src/uts/common/crypto/io/ |
H A D | md5_mod.c | 127 MD5Update(ctx, key, len); \ 354 MD5Update(md5_ctx, data->cd_uio->uio_iov[vec_idx].iov_base + in md5_digest_update_uio() 501 MD5Update(md5_ctx, mp->b_rptr + offset, cur_len); in md5_digest_update_mblk() 626 MD5Update(&PROV_MD5_CTX(ctx)->mc_md5_ctx, in md5_digest() 698 MD5Update(&PROV_MD5_CTX(ctx)->mc_md5_ctx, in md5_digest_update() 793 MD5Update(&md5_ctx, data->cd_raw.iov_base + data->cd_offset, in md5_digest_atomic() 890 MD5Update(&ctx->hc_icontext, ipad, MD5_HMAC_BLOCK_SIZE); in md5_mac_init_ctx() 894 MD5Update(&ctx->hc_ocontext, opad, MD5_HMAC_BLOCK_SIZE); in md5_mac_init_ctx() 985 MD5Update(&PROV_MD5_HMAC_CTX(ctx)->hc_icontext, in md5_mac_update() 1035 MD5Update(&PROV_MD5_HMAC_CTX(ctx)->hc_ocontext, digest, in md5_mac_final() [all …]
|
/illumos-gate/usr/src/lib/sasl_plugins/digestmd5/ |
H A D | digestmd5.c | 352 utils->MD5Update(&Md5Ctx, pszMethod, strlen((char *) pszMethod)); in DigestCalcResponse() 354 utils->MD5Update(&Md5Ctx, (unsigned char *) COLON, 1); in DigestCalcResponse() 357 utils->MD5Update(&Md5Ctx, pszDigestUri, strlen((char *) pszDigestUri)); in DigestCalcResponse() 360 utils->MD5Update(&Md5Ctx, COLON, 1); in DigestCalcResponse() 361 utils->MD5Update(&Md5Ctx, HEntity, HASHHEXLEN); in DigestCalcResponse() 368 utils->MD5Update(&Md5Ctx, HA1, HASHHEXLEN); in DigestCalcResponse() 369 utils->MD5Update(&Md5Ctx, COLON, 1); in DigestCalcResponse() 370 utils->MD5Update(&Md5Ctx, pszNonce, strlen((char *) pszNonce)); in DigestCalcResponse() 371 utils->MD5Update(&Md5Ctx, COLON, 1); in DigestCalcResponse() 375 utils->MD5Update(&Md5Ctx, (unsigned char *)ncvalue, strlen(ncvalue)); in DigestCalcResponse() [all …]
|
/illumos-gate/usr/src/lib/pkcs11/pkcs11_softtoken/common/ |
H A D | softSSL.c | 127 MD5Update(&md5_ctx, secret, secretlen); in soft_ssl3_churn() 128 MD5Update(&md5_ctx, sha1_digest, SHA1_HASH_SIZE); in soft_ssl3_churn() 173 MD5Update(&md5_ctx, S1, L_S); in soft_tls_prf() 703 MD5Update(&exp_md5_ctx, random_data->pClientRandom, in soft_ssl_key_and_mac_derive() 705 MD5Update(&exp_md5_ctx, random_data->pServerRandom, in soft_ssl_key_and_mac_derive() 713 MD5Update(&exp_md5_ctx, random_data->pServerRandom, in soft_ssl_key_and_mac_derive() 715 MD5Update(&exp_md5_ctx, random_data->pClientRandom, in soft_ssl_key_and_mac_derive() 1070 MD5Update(&exp_md5_ctx, secret, secretlen); in soft_ssl_weaken_key() 1071 MD5Update(&exp_md5_ctx, rand1, rand1len); in soft_ssl_weaken_key() 1072 MD5Update(&exp_md5_ctx, rand2, rand2len); in soft_ssl_weaken_key()
|
H A D | softDigestUtil.c | 252 MD5Update((MD5_CTX *)session_p->digest.context, in soft_digest_common() 256 MD5Update((MD5_CTX *)session_p->digest.context, in soft_digest_common() 387 MD5Update((MD5_CTX *)session_p->digest.context, in soft_digest_update() 391 MD5Update((MD5_CTX *)session_p->digest.context, in soft_digest_update()
|
/illumos-gate/usr/src/lib/libsmbfs/smb/ |
H A D | ntlm.c | 276 MD5Update(&context, challenges, sizeof (challenges)); in ntlm_put_v1x_responses() 358 MD5Update(&context, k_ipad, 64); /* start with inner pad */ in HMACT64() 359 MD5Update(&context, data, data_len); /* then data of datagram */ in HMACT64() 366 MD5Update(&context, k_opad, 64); /* start with outer pad */ in HMACT64() 367 MD5Update(&context, digest, 16); /* then results of 1st hash */ in HMACT64()
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/pppd/ |
H A D | chap.c | 520 MD5Update(&mdContext, &cstate->resp_id, 1); 521 MD5Update(&mdContext, (u_char *)secret, (unsigned)secret_len); 522 MD5Update(&mdContext, rchallenge, rchallenge_len); 650 MD5Update(&mdContext, &cstate->chal_id, 1); 651 MD5Update(&mdContext, (u_char *)secret, secret_len); 652 MD5Update(&mdContext, cstate->challenge, cstate->chal_len);
|
/illumos-gate/usr/src/uts/common/sys/ |
H A D | md5.h | 63 void MD5Update(MD5_CTX *, const void *, unsigned int);
|
/illumos-gate/usr/src/lib/gss_mechs/mech_dh/backend/crypto/ |
H A D | md5.h | 56 void MD5Update (MD5_CTX *mdContext, unsigned char *inBuf, unsigned int inLen);
|
/illumos-gate/usr/src/lib/libsqlite/src/ |
H A D | md5.c | 184 void MD5Update(MD5Context *pCtx, const unsigned char *buf, unsigned int len){ in MD5Update() function 306 MD5Update(&ctx, (unsigned char*)argv[1], (unsigned)strlen(argv[1])); in md5_cmd() 338 MD5Update(&ctx, (unsigned char*)zBuf, (unsigned)n); in md5file_cmd() 370 MD5Update(p, (unsigned char*)argv[i], strlen(argv[i])); in md5step()
|
/illumos-gate/usr/src/lib/libsasl/include/ |
H A D | md5_private.h | 36 #define _sasl_MD5Update(md5_ctx, s, n) MD5Update(md5_ctx, s, n)
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/in.routed/ |
H A D | rtquery.c | 405 MD5Update(&md5_ctx, (uchar_t *)&OMSG, cc+4); in query_loop() 406 MD5Update(&md5_ctx, in query_loop() 718 MD5Update(&md5_ctx, (uchar_t *)&IMSG, in rip_input() 720 MD5Update(&md5_ctx, in rip_input()
|
/illumos-gate/usr/src/uts/common/io/fibre-channel/fca/emlxs/ |
H A D | emlxs_dhchap.c | 5064 MD5Update(&mdctx, (unsigned char *) &mytran_id, 1); in emlxs_hash_vrf() 5066 MD5Update(&mdctx, (unsigned char *) remote_key, in emlxs_hash_vrf() 5070 MD5Update(&mdctx, in emlxs_hash_vrf() 5132 MD5Update(&mdctx, in emlxs_hash_vrf() 5136 MD5Update(&mdctx, in emlxs_hash_vrf() 5141 MD5Update(&mdctx, in emlxs_hash_vrf() 5150 MD5Update(&mdctx, (void *)&mytran_id, 1); in emlxs_hash_vrf() 5152 MD5Update(&mdctx, (void *)remote_key, in emlxs_hash_vrf() 5155 MD5Update(&mdctx, (void *)md5_digest, MD5_LEN); in emlxs_hash_vrf() 5279 MD5Update(&mdctx, (unsigned char *)&mytran_id, 1); in emlxs_hash_rsp() [all …]
|
/illumos-gate/usr/src/cmd/bhyve/common/ |
H A D | net_utils.c | 112 MD5Update(&mdctx, nstr, (unsigned int)strlen(nstr)); in net_genmac()
|