• Home
  • Raw
  • Download

Lines Matching refs:md5

107   struct MD5Context md5;  in digest_calc_ha1()  local
110 MD5Init (&md5); in digest_calc_ha1()
111 MD5Update (&md5, username, strlen (username)); in digest_calc_ha1()
112 MD5Update (&md5, ":", 1); in digest_calc_ha1()
113 MD5Update (&md5, realm, strlen (realm)); in digest_calc_ha1()
114 MD5Update (&md5, ":", 1); in digest_calc_ha1()
115 MD5Update (&md5, password, strlen (password)); in digest_calc_ha1()
116 MD5Final (ha1, &md5); in digest_calc_ha1()
119 MD5Init (&md5); in digest_calc_ha1()
120 MD5Update (&md5, ha1, sizeof (ha1)); in digest_calc_ha1()
121 MD5Update (&md5, ":", 1); in digest_calc_ha1()
122 MD5Update (&md5, nonce, strlen (nonce)); in digest_calc_ha1()
123 MD5Update (&md5, ":", 1); in digest_calc_ha1()
124 MD5Update (&md5, cnonce, strlen (cnonce)); in digest_calc_ha1()
125 MD5Final (ha1, &md5); in digest_calc_ha1()
155 struct MD5Context md5; in digest_calc_response() local
160 MD5Init (&md5); in digest_calc_response()
161 MD5Update (&md5, method, strlen(method)); in digest_calc_response()
162 MD5Update (&md5, ":", 1); in digest_calc_response()
163 MD5Update (&md5, uri, strlen(uri)); in digest_calc_response()
169 MD5Update (&md5, ":", 1); in digest_calc_response()
171 MD5Update (&md5, hentity, strlen(hentity)); in digest_calc_response()
174 MD5Final (ha2, &md5); in digest_calc_response()
176 MD5Init (&md5); in digest_calc_response()
178 MD5Update (&md5, ha1, HASH_MD5_HEX_LEN); in digest_calc_response()
179 MD5Update (&md5, ":", 1); in digest_calc_response()
180 MD5Update (&md5, nonce, strlen(nonce)); in digest_calc_response()
181 MD5Update (&md5, ":", 1); in digest_calc_response()
184 MD5Update (&md5, noncecount, strlen(noncecount)); in digest_calc_response()
185 MD5Update (&md5, ":", 1); in digest_calc_response()
186 MD5Update (&md5, cnonce, strlen(cnonce)); in digest_calc_response()
187 MD5Update (&md5, ":", 1); in digest_calc_response()
188 MD5Update (&md5, qop, strlen(qop)); in digest_calc_response()
189 MD5Update (&md5, ":", 1); in digest_calc_response()
191 MD5Update (&md5, ha2hex, HASH_MD5_HEX_LEN); in digest_calc_response()
192 MD5Final (resphash, &md5); in digest_calc_response()
405 struct MD5Context md5; in calculate_nonce() local
410 MD5Init (&md5); in calculate_nonce()
415 MD5Update (&md5, timestamp, 4); in calculate_nonce()
416 MD5Update (&md5, ":", 1); in calculate_nonce()
417 MD5Update (&md5, method, strlen (method)); in calculate_nonce()
418 MD5Update (&md5, ":", 1); in calculate_nonce()
420 MD5Update (&md5, rnd, rnd_size); in calculate_nonce()
421 MD5Update (&md5, ":", 1); in calculate_nonce()
422 MD5Update (&md5, uri, strlen (uri)); in calculate_nonce()
423 MD5Update (&md5, ":", 1); in calculate_nonce()
424 MD5Update (&md5, realm, strlen (realm)); in calculate_nonce()
425 MD5Final (tmpnonce, &md5); in calculate_nonce()