Home
last modified time | relevance | path

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

/external/ppp/pppd/plugins/radius/
Dsendserver.c38 unsigned char passbuf[MAX(AUTH_PASS_LEN, CHAP_VALUE_LENGTH)]; in rc_pack_list() local
103 memset ((char *) passbuf, '\0', AUTH_PASS_LEN); in rc_pack_list()
104 memcpy ((char *) passbuf, vp->strvalue, (size_t) length); in rc_pack_list()
120 *buf++ ^= passbuf[pc]; in rc_pack_list()
137 memset ((char *) passbuf, '\0', CHAP_VALUE_LENGTH); in rc_pack_list()
138 memcpy ((char *) passbuf, vp->strvalue, (size_t) length); in rc_pack_list()
149 *buf++ ^= passbuf[i]; in rc_pack_list()
/external/webrtc/webrtc/base/
Dhttpcommon.cc955 unsigned char userbuf[256], passbuf[256], domainbuf[16]; in HttpAuthenticate() local
971 std::min(sizeof(passbuf) - 1, password.GetLength())); in HttpAuthenticate()
972 memcpy(passbuf, sensitive, auth_id.PasswordLength); in HttpAuthenticate()
973 passbuf[auth_id.PasswordLength] = 0; in HttpAuthenticate()
984 std::min(sizeof(passbuf) - 1, password.GetLength())); in HttpAuthenticate()
985 memcpy(passbuf, sensitive, auth_id.PasswordLength); in HttpAuthenticate()
986 passbuf[auth_id.PasswordLength] = 0; in HttpAuthenticate()
992 auth_id.Password = passbuf; in HttpAuthenticate()