summaryrefslogtreecommitdiff
path: root/src/noise.h
diff options
context:
space:
mode:
authorjaseg <git@jaseg.net>2018-11-08 19:53:11 +0900
committerjaseg <git@jaseg.net>2018-11-08 19:53:11 +0900
commit21be46a0b5364c5f00f4d081ad9524ae9a36d022 (patch)
tree9a1dc33ea40b88b038c7ef7702cddddf66373a41 /src/noise.h
parente4e231880413c58215130c4b084ac49a03c16b9b (diff)
downloadsecure-hid-21be46a0b5364c5f00f4d081ad9524ae9a36d022.tar.gz
secure-hid-21be46a0b5364c5f00f4d081ad9524ae9a36d022.tar.bz2
secure-hid-21be46a0b5364c5f00f4d081ad9524ae9a36d022.zip
HID report transmission partially works now
partially i.e. if you attach the keyboard before the noise handshake. I suspect some memory corruption somewhere.
Diffstat (limited to 'src/noise.h')
-rw-r--r--src/noise.h1
1 files changed, 1 insertions, 0 deletions
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