Lines Matching defs:challenge
801 unsigned char challenge[AUTH_LENGTH];
874 * The client encrypts the challenge with DES, using a password
883 /* VNC clients encrypts the challenge with all the bit fields
896 /* Initialize a 16-byte random challenge */
897 arc4random_buf(challenge, sizeof(challenge));
898 stream_write(cfd, challenge, AUTH_LENGTH);
900 /* Receive the 16-byte challenge response */
903 memcpy(crypt_expected, challenge, AUTH_LENGTH);
907 DES_ecb_encrypt((const_DES_cblock *)challenge,
910 DES_ecb_encrypt((const_DES_cblock *)(challenge + PASSWD_LENGTH),