Home
last modified time | relevance | path

Searched refs:MD5_HASH_SIZE (Results 1 – 2 of 2) sorted by relevance

/external/ppp/pppd/
Dchap-md5.c41 #define MD5_HASH_SIZE 16 macro
64 unsigned char hash[MD5_HASH_SIZE]; in chap_md5_verify_response()
69 if (response_len == MD5_HASH_SIZE) { in chap_md5_verify_response()
78 if (memcmp(hash, response, MD5_HASH_SIZE) == 0) { in chap_md5_verify_response()
101 response[0] = MD5_HASH_SIZE; in chap_md5_make_response()
/external/ppp/pppd/plugins/radius/
Dradius.c49 #define MD5_HASH_SIZE 16 macro
400 if (response_len != MD5_HASH_SIZE) in radius_chap_verify()
403 memcpy(&cpassword[1], response, MD5_HASH_SIZE); in radius_chap_verify()
408 cpassword, MD5_HASH_SIZE + 1, VENDOR_NONE); in radius_chap_verify()
827 u_char buf[MD5_HASH_SIZE]; in radius_setmppekeys2()