Home
last modified time | relevance | path

Searched refs:MD5Update (Results 1 – 25 of 67) sorted by relevance

123

/freebsd-13-stable/lib/libcrypt/
HDcrypt-md5.c69 MD5Update(&ctx, (const u_char *)pw, strlen(pw)); in crypt_md5()
72 MD5Update(&ctx, (const u_char *)magic, strlen(magic)); in crypt_md5()
75 MD5Update(&ctx, (const u_char *)salt, (u_int)sl); in crypt_md5()
79 MD5Update(&ctx1, (const u_char *)pw, strlen(pw)); in crypt_md5()
80 MD5Update(&ctx1, (const u_char *)salt, (u_int)sl); in crypt_md5()
81 MD5Update(&ctx1, (const u_char *)pw, strlen(pw)); in crypt_md5()
84 MD5Update(&ctx, (const u_char *)final, in crypt_md5()
93 MD5Update(&ctx, (const u_char *)final, 1); in crypt_md5()
95 MD5Update(&ctx, (const u_char *)pw, 1); in crypt_md5()
112 MD5Update(&ctx1, (const u_char *)pw, strlen(pw)); in crypt_md5()
[all …]
/freebsd-13-stable/sys/netsmb/
HDsmb_crypt.c251 MD5Update(&md5, vcp->vc_mackey, vcp->vc_mackeylen); in smb_rq_sign()
253 MD5Update(&md5, mtod(mb, void *), mb->m_len); in smb_rq_sign()
290 MD5Update(&md5, vcp->vc_mackey, vcp->vc_mackeylen); in smb_rq_verify()
291 MD5Update(&md5, mtod(mb, void *), 14); in smb_rq_verify()
294 MD5Update(&md5, sigbuf, 8); in smb_rq_verify()
295 MD5Update(&md5, mtod(mb, u_char *) + 22, mb->m_len - 22); in smb_rq_verify()
297 MD5Update(&md5, mtod(mb, void *), mb->m_len); in smb_rq_verify()
/freebsd-13-stable/lib/libradius/
HDradlib.c39 #define MD5Update MD5_Update macro
114 MD5Update(&ctx, srvp->secret, strlen(srvp->secret)); in insert_scrambled_password()
115 MD5Update(&ctx, md5, 16); in insert_scrambled_password()
140 MD5Update(&ctx, &h->out[POS_CODE], POS_AUTH - POS_CODE); in insert_request_authenticator()
142 MD5Update(&ctx, &h->in[POS_AUTH], LEN_AUTH); in insert_request_authenticator()
144 MD5Update(&ctx, &h->out[POS_AUTH], LEN_AUTH); in insert_request_authenticator()
145 MD5Update(&ctx, &h->out[POS_ATTRS], h->out_len - POS_ATTRS); in insert_request_authenticator()
146 MD5Update(&ctx, srvp->secret, strlen(srvp->secret)); in insert_request_authenticator()
215 MD5Update(&ctx, &h->in[POS_CODE], POS_AUTH - POS_CODE); in is_valid_response()
216 MD5Update(&ctx, &h->out[POS_AUTH], LEN_AUTH); in is_valid_response()
[all …]
/freebsd-13-stable/lib/libfetch/
HDhttp.c84 #define MD5Update(c, data, len) MD5_Update(c, data, len) macro
1152 MD5Update(&Md5Ctx, pszUserName, strlen(pszUserName)); in DigestCalcHA1()
1153 MD5Update(&Md5Ctx, ":", 1); in DigestCalcHA1()
1154 MD5Update(&Md5Ctx, pszRealm, strlen(pszRealm)); in DigestCalcHA1()
1155 MD5Update(&Md5Ctx, ":", 1); in DigestCalcHA1()
1156 MD5Update(&Md5Ctx, pszPassword, strlen(pszPassword)); in DigestCalcHA1()
1161 MD5Update(&Md5Ctx, HA1, HASHLEN); in DigestCalcHA1()
1162 MD5Update(&Md5Ctx, ":", 1); in DigestCalcHA1()
1163 MD5Update(&Md5Ctx, pszNonce, strlen(pszNonce)); in DigestCalcHA1()
1164 MD5Update(&Md5Ctx, ":", 1); in DigestCalcHA1()
[all …]
/freebsd-13-stable/lib/libmd/
HDmd5.h12 #ifndef MD5Update
13 #define MD5Update _libmd_MD5Update macro
HDmd5c.c149 MD5Update (MD5_CTX *context, const void *in, unsigned int inputLen) in MD5Update() function
200 MD5Update (context, PADDING, padLen); in MD5Pad()
203 MD5Update (context, bits, 8); in MD5Pad()
337 #undef MD5Update
338 __weak_reference(_libmd_MD5Update, MD5Update);
/freebsd-13-stable/sbin/iscontrol/
HDauth_subr.c66 MD5Update(&ctx, &id, 1); in chapMD5()
72 MD5Update(&ctx, tmp, len); in chapMD5()
79 MD5Update(&ctx, tmp, len); in chapMD5()
/freebsd-13-stable/sys/netipsec/
HDxform_tcp.c128 MD5Update(fstate, (u_char *)data, len); in tcp_signature_apply()
150 MD5Update(ctx, (char *)&ipp, sizeof(ipp)); in ip_pseudo_compute()
177 MD5Update(ctx, (char *)&ip6p, sizeof(ip6p)); in ip6_pseudo_compute()
212 MD5Update(&ctx, (char *)th, sizeof(struct tcphdr)); in tcp_signature_compute()
225 MD5Update(&ctx, sav->key_auth->key_data, _KEYLEN(sav->key_auth)); in tcp_signature_compute()
/freebsd-13-stable/sys/geom/bde/
HDg_bde_crypt.c91 MD5Update(&ct, sc->key.salt, 8); in g_bde_kkey()
92 MD5Update(&ct, buf2, sizeof buf2); in g_bde_kkey()
93 MD5Update(&ct, sc->key.salt + 8, 8); in g_bde_kkey()
98 MD5Update(&ct, &sc->key.mkey[buf[t]], 1); in g_bde_kkey()
100 MD5Update(&ct, buf2, sizeof buf2); in g_bde_kkey()
HDg_bde_lock.c210 MD5Update(&c, "0000", 4); /* Versioning */ in g_bde_encode_lock()
211 MD5Update(&c, ptr, G_BDE_LOCKSIZE); in g_bde_encode_lock()
278 MD5Update(&c, "0000", 4); /* Versioning */ in g_bde_decode_lock()
279 MD5Update(&c, ptr, G_BDE_LOCKSIZE); in g_bde_decode_lock()
/freebsd-13-stable/contrib/wpa/src/crypto/
HDcrypto_internal.c78 MD5Update(&ctx->u.md5, key, key_len); in crypto_hash_init()
92 MD5Update(&ctx->u.md5, k_pad, sizeof(k_pad)); in crypto_hash_init()
151 MD5Update(&ctx->u.md5, data, len); in crypto_hash_update()
260 MD5Update(&ctx->u.md5, k_pad, sizeof(k_pad)); in crypto_hash_finish()
261 MD5Update(&ctx->u.md5, mac, 16); in crypto_hash_finish()
HDmd5_i.h19 void MD5Update(struct MD5Context *context, unsigned char const *buf,
/freebsd-13-stable/contrib/ntp/include/
HDntp_md5.h17 # define MD5Update(c, p, s) isc_md5_update(c, (const void *)p, s) macro
48 # define EVP_DigestUpdate(c, p, s) MD5Update(c, (const void *)(p), \
/freebsd-13-stable/contrib/netbsd-tests/lib/libc/hash/
HDh_hash.c95 MD5Update(&ctx, buf, len); in regress()
100 MD5Update(&ctx, buf, len); in regress()
/freebsd-13-stable/contrib/ntp/libntp/
HDa_md5encrypt.c175 MD5Update(ctx, (const void *)key->buf, key->len); in make_mac()
176 MD5Update(ctx, (const void *)msg->buf, msg->len); in make_mac()
283 MD5Update(&md5_ctx, (void *)&SOCK_ADDR6(addr), sizeof(SOCK_ADDR6(addr))); in addr2refid()
/freebsd-13-stable/lib/libc/tests/stdio/
HDeintr_test.c68 MD5Update(&md5, p, strlen(p)); in ATF_TC_BODY()
124 MD5Update(&md5, &c, 1); in ATF_TC_BODY()
/freebsd-13-stable/contrib/netbsd-tests/lib/libc/string/
HDt_memcpy.c75 MD5Update(mc, b1, sizeof(testBlock_t)); in runTest()
76 MD5Update(mc, b2, sizeof(testBlock_t)); in runTest()
/freebsd-13-stable/lib/libiscsiutil/
HDchap.c50 MD5Update(&ctx, &id, sizeof(id)); in chap_compute_md5()
51 MD5Update(&ctx, secret, strlen(secret)); in chap_compute_md5()
52 MD5Update(&ctx, challenge, challenge_len); in chap_compute_md5()
/freebsd-13-stable/sys/geom/raid3/
HDg_raid3.h290 MD5Update(&ctx, data, 112); in raid3_metadata_encode()
312 MD5Update(&ctx, data, 100); in raid3_metadata_decode_v0v1v2()
342 MD5Update(&ctx, data, 104); in raid3_metadata_decode_v3()
372 MD5Update(&ctx, data, 112); in raid3_metadata_decode_v4v5()
/freebsd-13-stable/sys/netpfil/ipfilter/netinet/
HDip_dstlist.c1128 MD5Update(&ctx, (u_char *)&d->ipld_seed, sizeof(d->ipld_seed)); in ipf_dstlist_select()
1129 MD5Update(&ctx, (u_char *)&fin->fin_src6, in ipf_dstlist_select()
1131 MD5Update(&ctx, (u_char *)&fin->fin_dst6, in ipf_dstlist_select()
1140 MD5Update(&ctx, (u_char *)&d->ipld_seed, sizeof(d->ipld_seed)); in ipf_dstlist_select()
1141 MD5Update(&ctx, (u_char *)&fin->fin_src6, in ipf_dstlist_select()
1150 MD5Update(&ctx, (u_char *)&d->ipld_seed, sizeof(d->ipld_seed)); in ipf_dstlist_select()
1151 MD5Update(&ctx, (u_char *)&fin->fin_dst6, in ipf_dstlist_select()
/freebsd-13-stable/sys/geom/mirror/
HDg_mirror.h286 MD5Update(&ctx, data, 119); in mirror_metadata_encode()
311 MD5Update(&ctx, data, 107); in mirror_metadata_decode_v0v1()
344 MD5Update(&ctx, data, 111); in mirror_metadata_decode_v2()
377 MD5Update(&ctx, data, 119); in mirror_metadata_decode_v3v4()
/freebsd-13-stable/contrib/ipfilter/
HDarc4random.c200 MD5Update(&md5ctx, src, length); in ipf_rand_push()
212 MD5Update(&md5ctx, nsrc, 64); in ipf_rand_push()
/freebsd-13-stable/sbin/ipf/ipftest/
HDmd5.h59 extern void MD5Update(MD5_CTX *, unsigned char *, unsigned int);
/freebsd-13-stable/sys/sys/
HDmd5.h47 void MD5Update (MD5_CTX *, const void *, unsigned int);
/freebsd-13-stable/sbin/routed/rtquery/
HDrtquery.c84 extern void MD5Update(MD5_CTX*, u_char*, u_int);
405 MD5Update(&md5_ctx, in query_loop()
407 MD5Update(&md5_ctx, in query_loop()
744 MD5Update(&md5_ctx, (u_char *)&IMSG, in rip_input()
747 MD5Update(&md5_ctx, (u_char *)passwd, in rip_input()

123