Searched refs:userpass (Results 1 – 2 of 2) sorted by relevance
/external/libvncserver/libvncclient/ |
D | rfbproto.c | 855 uint8_t userpass[128], ciphertext[128]; in HandleARDAuth() local 960 if (passwordLen > sizeof(userpass)/2) in HandleARDAuth() 961 passwordLen = sizeof(userpass)/2; in HandleARDAuth() 962 if (usernameLen > sizeof(userpass)/2) in HandleARDAuth() 963 usernameLen = sizeof(userpass)/2; in HandleARDAuth() 965 gcry_randomize(userpass, sizeof(userpass), GCRY_STRONG_RANDOM); in HandleARDAuth() 966 memcpy(userpass, cred->userCredential.username, usernameLen); in HandleARDAuth() 967 memcpy(userpass+sizeof(userpass)/2, cred->userCredential.password, passwordLen); in HandleARDAuth() 981 error = gcry_cipher_encrypt(aes, ciphertext, sizeof(ciphertext), userpass, sizeof(userpass)); in HandleARDAuth()
|
/external/chromium-trace/catapult/third_party/Paste/paste/ |
D | httpheaders.py | 1008 userpass = "%s:%s" % (username.strip(), password.strip()) 1009 return "Basic %s" % userpass.encode('base64').strip()
|