ESPHome 2026.11.0b6
Loading...
Searching...
No Matches
vnc_des.h
Go to the documentation of this file.
1#pragma once
2
3#include <cstdint>
4
5namespace esphome::vnc {
6
8void des_encrypt_block(const uint8_t key[8], uint8_t block[8]);
9
12void vnc_auth_response(const uint8_t *key_progmem, uint8_t challenge[16]);
13
14} // namespace esphome::vnc
const char * key
void des_encrypt_block(const uint8_t key[8], uint8_t block[8])
DES-ECB encryption of one block in place. The key is in normal DES byte order; parity bits are ignore...
Definition vnc_des.cpp:146
void vnc_auth_response(const uint8_t *key_progmem, uint8_t challenge[16])
VNC Authentication response: encrypts both 8-byte halves of the challenge in place.
Definition vnc_des.cpp:153