| /freebsd-13.1/lib/libcrypt/ |
| H A D | crypt-md5.c | 71 MD5Update(&ctx, (const u_char *)pw, strlen(pw)); in crypt_md5() 77 MD5Update(&ctx, (const u_char *)salt, (u_int)sl); in crypt_md5() 81 MD5Update(&ctx1, (const u_char *)pw, strlen(pw)); in crypt_md5() 82 MD5Update(&ctx1, (const u_char *)salt, (u_int)sl); in crypt_md5() 83 MD5Update(&ctx1, (const u_char *)pw, strlen(pw)); in crypt_md5() 86 MD5Update(&ctx, (const u_char *)final, in crypt_md5() 95 MD5Update(&ctx, (const u_char *)final, 1); in crypt_md5() 97 MD5Update(&ctx, (const u_char *)pw, 1); in crypt_md5() 114 MD5Update(&ctx1, (const u_char *)pw, strlen(pw)); in crypt_md5() 122 MD5Update(&ctx1, (const u_char *)pw, strlen(pw)); in crypt_md5() [all …]
|
| /freebsd-13.1/sys/netsmb/ |
| H A D | smb_crypt.c | 253 MD5Update(&md5, vcp->vc_mackey, vcp->vc_mackeylen); in smb_rq_sign() 255 MD5Update(&md5, mtod(mb, void *), mb->m_len); in smb_rq_sign() 292 MD5Update(&md5, vcp->vc_mackey, vcp->vc_mackeylen); in smb_rq_verify() 293 MD5Update(&md5, mtod(mb, void *), 14); in smb_rq_verify() 296 MD5Update(&md5, sigbuf, 8); in smb_rq_verify() 297 MD5Update(&md5, mtod(mb, u_char *) + 22, mb->m_len - 22); in smb_rq_verify() 299 MD5Update(&md5, mtod(mb, void *), mb->m_len); in smb_rq_verify()
|
| /freebsd-13.1/lib/libradius/ |
| H A D | radlib.c | 41 #define MD5Update MD5_Update macro 117 MD5Update(&ctx, md5, 16); in insert_scrambled_password() 312 MD5Update(&ctx, zeroes, LEN_AUTH); in is_valid_request() 1488 MD5Update(&Context, S, strlen(S)); in rad_demangle() 1489 MD5Update(&Context, R, LEN_AUTH); in rad_demangle() 1501 MD5Update(&Context, C, 16); in rad_demangle() 1543 MD5Update(&Context, S, Slen); in rad_demangle_mppe_key() 1544 MD5Update(&Context, R, LEN_AUTH); in rad_demangle_mppe_key() 1545 MD5Update(&Context, A, SALT_LEN); in rad_demangle_mppe_key() 1557 MD5Update(&Context, S, Slen); in rad_demangle_mppe_key() [all …]
|
| /freebsd-13.1/lib/libfetch/ |
| H A D | http.c | 1158 MD5Update(&Md5Ctx, ":", 1); in DigestCalcHA1() 1160 MD5Update(&Md5Ctx, ":", 1); in DigestCalcHA1() 1167 MD5Update(&Md5Ctx, ":", 1); in DigestCalcHA1() 1169 MD5Update(&Md5Ctx, ":", 1); in DigestCalcHA1() 1202 MD5Update(&Md5Ctx, ":", 1); in DigestCalcResponse() 1205 MD5Update(&Md5Ctx, ":", 1); in DigestCalcResponse() 1214 MD5Update(&Md5Ctx, ":", 1); in DigestCalcResponse() 1216 MD5Update(&Md5Ctx, ":", 1); in DigestCalcResponse() 1219 MD5Update(&Md5Ctx, ":", 1); in DigestCalcResponse() 1221 MD5Update(&Md5Ctx, ":", 1); in DigestCalcResponse() [all …]
|
| /freebsd-13.1/lib/libmd/ |
| H A D | md5.h | 13 #ifndef MD5Update 14 #define MD5Update _libmd_MD5Update macro
|
| H A D | md5c.c | 151 MD5Update (MD5_CTX *context, const void *in, unsigned int inputLen) in MD5Update() function 202 MD5Update (context, PADDING, padLen); in MD5Pad() 205 MD5Update (context, bits, 8); in MD5Pad() 339 #undef MD5Update 340 __weak_reference(_libmd_MD5Update, MD5Update);
|
| /freebsd-13.1/sbin/iscontrol/ |
| H A D | auth_subr.c | 68 MD5Update(&ctx, &id, 1); in chapMD5() 74 MD5Update(&ctx, tmp, len); in chapMD5() 81 MD5Update(&ctx, tmp, len); in chapMD5()
|
| /freebsd-13.1/sys/netipsec/ |
| H A D | xform_tcp.c | 129 MD5Update(fstate, (u_char *)data, len); in tcp_signature_apply() 146 MD5Update(ctx, (char *)&ipp, sizeof(ipp)); in ip_pseudo_compute() 167 MD5Update(ctx, (char *)&ip6p, sizeof(ip6p)); in ip6_pseudo_compute() 202 MD5Update(&ctx, (char *)th, sizeof(struct tcphdr)); in tcp_signature_compute() 215 MD5Update(&ctx, sav->key_auth->key_data, _KEYLEN(sav->key_auth)); in tcp_signature_compute()
|
| /freebsd-13.1/sys/geom/bde/ |
| H A D | g_bde_crypt.c | 93 MD5Update(&ct, sc->key.salt, 8); in g_bde_kkey() 94 MD5Update(&ct, buf2, sizeof buf2); in g_bde_kkey() 95 MD5Update(&ct, sc->key.salt + 8, 8); in g_bde_kkey() 100 MD5Update(&ct, &sc->key.mkey[buf[t]], 1); in g_bde_kkey() 102 MD5Update(&ct, buf2, sizeof buf2); in g_bde_kkey()
|
| H A D | g_bde_lock.c | 212 MD5Update(&c, "0000", 4); /* Versioning */ in g_bde_encode_lock() 213 MD5Update(&c, ptr, G_BDE_LOCKSIZE); in g_bde_encode_lock() 280 MD5Update(&c, "0000", 4); /* Versioning */ in g_bde_decode_lock() 281 MD5Update(&c, ptr, G_BDE_LOCKSIZE); in g_bde_decode_lock()
|
| /freebsd-13.1/contrib/wpa/src/crypto/ |
| H A D | crypto_internal.c | 78 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()
|
| H A D | md5_i.h | 19 void MD5Update(struct MD5Context *context, unsigned char const *buf,
|
| /freebsd-13.1/contrib/ntp/include/ |
| H A D | ntp_md5.h | 27 # define MD5Update(c, p, s) isc_md5_update(c, p, s) macro 41 # define EVP_DigestUpdate(c, p, s) MD5Update(c, (const void *)(p), \
|
| /freebsd-13.1/contrib/netbsd-tests/lib/libc/hash/ |
| H A D | h_hash.c | 95 MD5Update(&ctx, buf, len); in regress() 100 MD5Update(&ctx, buf, len); in regress()
|
| /freebsd-13.1/lib/libc/tests/stdio/ |
| H A D | eintr_test.c | 68 MD5Update(&md5, p, strlen(p)); in ATF_TC_BODY() 124 MD5Update(&md5, &c, 1); in ATF_TC_BODY()
|
| /freebsd-13.1/contrib/netbsd-tests/lib/libc/string/ |
| H A D | t_memcpy.c | 75 MD5Update(mc, b1, sizeof(testBlock_t)); in runTest() 76 MD5Update(mc, b2, sizeof(testBlock_t)); in runTest()
|
| /freebsd-13.1/usr.sbin/ctld/ |
| H A D | chap.c | 54 MD5Update(&ctx, &id, sizeof(id)); in chap_compute_md5() 55 MD5Update(&ctx, secret, strlen(secret)); in chap_compute_md5() 56 MD5Update(&ctx, challenge, challenge_len); in chap_compute_md5()
|
| /freebsd-13.1/usr.sbin/iscsid/ |
| H A D | chap.c | 54 MD5Update(&ctx, &id, sizeof(id)); in chap_compute_md5() 55 MD5Update(&ctx, secret, strlen(secret)); in chap_compute_md5() 56 MD5Update(&ctx, challenge, challenge_len); in chap_compute_md5()
|
| /freebsd-13.1/sys/geom/raid3/ |
| H A D | g_raid3.h | 292 MD5Update(&ctx, data, 112); in raid3_metadata_encode() 314 MD5Update(&ctx, data, 100); in raid3_metadata_decode_v0v1v2() 344 MD5Update(&ctx, data, 104); in raid3_metadata_decode_v3() 374 MD5Update(&ctx, data, 112); in raid3_metadata_decode_v4v5()
|
| /freebsd-13.1/sys/netpfil/ipfilter/netinet/ |
| H A D | ip_dstlist.c | 1128 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.1/sys/geom/mirror/ |
| H A D | g_mirror.h | 287 MD5Update(&ctx, data, 119); in mirror_metadata_encode() 312 MD5Update(&ctx, data, 107); in mirror_metadata_decode_v0v1() 345 MD5Update(&ctx, data, 111); in mirror_metadata_decode_v2() 378 MD5Update(&ctx, data, 119); in mirror_metadata_decode_v3v4()
|
| /freebsd-13.1/contrib/ipfilter/ |
| H A D | arc4random.c | 200 MD5Update(&md5ctx, src, length); in ipf_rand_push() 212 MD5Update(&md5ctx, nsrc, 64); in ipf_rand_push()
|
| /freebsd-13.1/sbin/ipf/ipftest/ |
| H A D | md5.h | 60 extern void MD5Update(MD5_CTX *, unsigned char *, unsigned int);
|
| /freebsd-13.1/sys/sys/ |
| H A D | md5.h | 48 void MD5Update (MD5_CTX *, const void *, unsigned int);
|
| /freebsd-13.1/sbin/routed/rtquery/ |
| H A D | rtquery.c | 87 extern void MD5Update(MD5_CTX*, u_char*, u_int); 408 MD5Update(&md5_ctx, in query_loop() 410 MD5Update(&md5_ctx, in query_loop() 747 MD5Update(&md5_ctx, (u_char *)&IMSG, in rip_input() 750 MD5Update(&md5_ctx, (u_char *)passwd, in rip_input()
|