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/rtc_base/
Dhttp_common.cc455 unsigned char userbuf[256], passbuf[256], domainbuf[16]; in HttpAuthenticate() local
471 std::min(sizeof(passbuf) - 1, password.GetLength())); in HttpAuthenticate()
472 memcpy(passbuf, sensitive, auth_id.PasswordLength); in HttpAuthenticate()
473 passbuf[auth_id.PasswordLength] = 0; in HttpAuthenticate()
484 std::min(sizeof(passbuf) - 1, password.GetLength())); in HttpAuthenticate()
485 memcpy(passbuf, sensitive, auth_id.PasswordLength); in HttpAuthenticate()
486 passbuf[auth_id.PasswordLength] = 0; in HttpAuthenticate()
492 auth_id.Password = passbuf; in HttpAuthenticate()