Home
last modified time | relevance | path

Searched refs:tAuth (Results 1 – 3 of 3) sorted by relevance

/external/libvncserver/libvncclient/
Dtls_gnutls.c214 uint32_t tAuth[256], t; in ReadVeNCryptSecurityType() local
226 if (count>sizeof(tAuth)) in ReadVeNCryptSecurityType()
228 rfbClientLog("%d security types are too many; maximum is %d\n", count, sizeof(tAuth)); in ReadVeNCryptSecurityType()
237 if (!ReadFromRFBServer(client, (char *)&tAuth[loop], 4)) return FALSE; in ReadVeNCryptSecurityType()
238 t=rfbClientSwap32IfLE(tAuth[loop]); in ReadVeNCryptSecurityType()
252 if (!WriteToRFBServer(client, (char *)&tAuth[loop], 4)) return FALSE; in ReadVeNCryptSecurityType()
254 tAuth[loop]=t; in ReadVeNCryptSecurityType()
262 snprintf(buf2, sizeof(buf2), (loop>0 ? ", %d" : "%d"), (int)tAuth[loop]); in ReadVeNCryptSecurityType()
Dtls_openssl.c367 uint32_t tAuth[256], t; in ReadVeNCryptSecurityType() local
379 if (count>sizeof(tAuth)) in ReadVeNCryptSecurityType()
381 rfbClientLog("%d security types are too many; maximum is %d\n", count, sizeof(tAuth)); in ReadVeNCryptSecurityType()
390 if (!ReadFromRFBServer(client, (char *)&tAuth[loop], 4)) return FALSE; in ReadVeNCryptSecurityType()
391 t=rfbClientSwap32IfLE(tAuth[loop]); in ReadVeNCryptSecurityType()
405 if (!WriteToRFBServer(client, (char *)&tAuth[loop], 4)) return FALSE; in ReadVeNCryptSecurityType()
407 tAuth[loop]=t; in ReadVeNCryptSecurityType()
415 snprintf(buf2, sizeof(buf2), (loop>0 ? ", %d" : "%d"), (int)tAuth[loop]); in ReadVeNCryptSecurityType()
Drfbproto.c568 uint8_t tAuth[256]; in ReadSupportedSecurityType() local
586 if (!ReadFromRFBServer(client, (char *)&tAuth[loop], 1)) return FALSE; in ReadSupportedSecurityType()
587 rfbClientLog("%d) Received security type %d\n", loop, tAuth[loop]); in ReadSupportedSecurityType()
589 if (tAuth[loop]==rfbVncAuth || tAuth[loop]==rfbNoAuth || in ReadSupportedSecurityType()
591 tAuth[loop]==rfbVeNCrypt || in ReadSupportedSecurityType()
593 (tAuth[loop]==rfbARD && client->GetCredential) || in ReadSupportedSecurityType()
594 … (!subAuth && (tAuth[loop]==rfbTLS || (tAuth[loop]==rfbVeNCrypt && client->GetCredential)))) in ReadSupportedSecurityType()
601 if (client->clientAuthSchemes[i]==(uint32_t)tAuth[loop]) in ReadSupportedSecurityType()
604 authScheme=tAuth[loop]; in ReadSupportedSecurityType()
612 authScheme=tAuth[loop]; in ReadSupportedSecurityType()
[all …]