Home
last modified time | relevance | path

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

123

/freebsd-14.2/lib/libcrypt/
H A Dcrypt-md5.c70 MD5Update(&ctx, (const u_char *)pw, strlen(pw)); in crypt_md5()
76 MD5Update(&ctx, (const u_char *)salt, (u_int)sl); in crypt_md5()
80 MD5Update(&ctx1, (const u_char *)pw, strlen(pw)); in crypt_md5()
81 MD5Update(&ctx1, (const u_char *)salt, (u_int)sl); in crypt_md5()
82 MD5Update(&ctx1, (const u_char *)pw, strlen(pw)); in crypt_md5()
85 MD5Update(&ctx, (const u_char *)final, in crypt_md5()
94 MD5Update(&ctx, (const u_char *)final, 1); in crypt_md5()
96 MD5Update(&ctx, (const u_char *)pw, 1); in crypt_md5()
113 MD5Update(&ctx1, (const u_char *)pw, strlen(pw)); in crypt_md5()
121 MD5Update(&ctx1, (const u_char *)pw, strlen(pw)); in crypt_md5()
[all …]
/freebsd-14.2/sys/netsmb/
H A Dsmb_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-14.2/lib/libradius/
H A Dradlib.c39 #define MD5Update MD5_Update macro
115 MD5Update(&ctx, md5, 16); in insert_scrambled_password()
310 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-14.2/lib/libfetch/
H A Dhttp.c1153 MD5Update(&Md5Ctx, ":", 1); in DigestCalcHA1()
1155 MD5Update(&Md5Ctx, ":", 1); in DigestCalcHA1()
1162 MD5Update(&Md5Ctx, ":", 1); in DigestCalcHA1()
1164 MD5Update(&Md5Ctx, ":", 1); in DigestCalcHA1()
1197 MD5Update(&Md5Ctx, ":", 1); in DigestCalcResponse()
1200 MD5Update(&Md5Ctx, ":", 1); in DigestCalcResponse()
1209 MD5Update(&Md5Ctx, ":", 1); in DigestCalcResponse()
1211 MD5Update(&Md5Ctx, ":", 1); in DigestCalcResponse()
1214 MD5Update(&Md5Ctx, ":", 1); in DigestCalcResponse()
1216 MD5Update(&Md5Ctx, ":", 1); in DigestCalcResponse()
[all …]
/freebsd-14.2/lib/libmd/
H A Dmd5.h12 #ifndef MD5Update
13 #define MD5Update _libmd_MD5Update macro
H A Dmd5c.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-14.2/sys/netipsec/
H A Dxform_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-14.2/sys/geom/bde/
H A Dg_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()
H A Dg_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-14.2/contrib/wpa/src/crypto/
H A Dcrypto_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()
H A Dmd5_i.h19 void MD5Update(struct MD5Context *context, unsigned char const *buf,
/freebsd-14.2/contrib/ntp/include/
H A Dntp_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-14.2/contrib/netbsd-tests/lib/libc/hash/
H A Dh_hash.c95 MD5Update(&ctx, buf, len); in regress()
100 MD5Update(&ctx, buf, len); in regress()
/freebsd-14.2/contrib/ntp/libntp/
H A Da_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-14.2/lib/libc/tests/stdio/
H A Deintr_test.c68 MD5Update(&md5, p, strlen(p)); in ATF_TC_BODY()
124 MD5Update(&md5, &c, 1); in ATF_TC_BODY()
/freebsd-14.2/contrib/netbsd-tests/lib/libc/string/
H A Dt_memcpy.c75 MD5Update(mc, b1, sizeof(testBlock_t)); in runTest()
76 MD5Update(mc, b2, sizeof(testBlock_t)); in runTest()
/freebsd-14.2/lib/libiscsiutil/
H A Dchap.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-14.2/sys/geom/raid3/
H A Dg_raid3.h292 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-14.2/sys/netpfil/ipfilter/netinet/
H A Dip_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-14.2/sys/geom/mirror/
H A Dg_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-14.2/sbin/ipf/ipftest/
H A Dmd5.h59 extern void MD5Update(MD5_CTX *, unsigned char *, unsigned int);
/freebsd-14.2/sys/dev/qat/qat_api/qat_utils/src/
H A DQatUtilsCrypto.c15 MD5Update(&ctx, in, MD5_BLOCK_LENGTH); in qatUtilsHashMD5()
87 MD5Update(&ctx, in, len); in qatUtilsHashMD5Full()
/freebsd-14.2/sys/sys/
H A Dmd5.h47 void MD5Update (MD5_CTX *, const void *, unsigned int);
/freebsd-14.2/sbin/routed/rtquery/
H A Drtquery.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()
/freebsd-14.2/crypto/openssh/openbsd-compat/
H A Dmd5.c69 MD5Update(MD5_CTX *ctx, const unsigned char *input, size_t len) in MD5Update() function
120 MD5Update(ctx, PADDING, padlen - 8); /* padlen - 8 <= 64 */ in MD5Pad()
121 MD5Update(ctx, count, 8); in MD5Pad()

123