From 21be46a0b5364c5f00f4d081ad9524ae9a36d022 Mon Sep 17 00:00:00 2001 From: jaseg Date: Thu, 8 Nov 2018 19:53:11 +0900 Subject: HID report transmission partially works now partially i.e. if you attach the keyboard before the noise handshake. I suspect some memory corruption somewhere. --- src/noise.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/noise.h') diff --git a/src/noise.h b/src/noise.h index 68d15e1..fb1f93d 100644 --- a/src/noise.h +++ b/src/noise.h @@ -20,5 +20,6 @@ extern volatile uint8_t host_packet_length; NoiseHandshakeState *start_protocol_handshake(void); int generate_identity_key(void); NoiseHandshakeState *try_continue_noise_handshake(NoiseHandshakeState *handshake); +int send_encrypted_message(uint8_t *msg, size_t len); #endif -- cgit