Home
last modified time | relevance | path

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

/illumos-gate/usr/src/cmd/bhyve/
H A Drfb.c346 unsigned char crypt_expected[RFBP_SECURITY_VNC_AUTH_LEN]; in rfb_handshake_auth() local
388 memcpy(crypt_expected, challenge, RFBP_SECURITY_VNC_AUTH_LEN); in rfb_handshake_auth()
393 (const_DES_cblock *)crypt_expected, &ks, DES_ENCRYPT); in rfb_handshake_auth()
396 (const_DES_cblock *)(crypt_expected + RFBP_SECURITY_VNC_PASSWD_LEN), in rfb_handshake_auth()
399 if (memcmp(crypt_expected, buf, RFBP_SECURITY_VNC_AUTH_LEN) != 0) { in rfb_handshake_auth()