aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/src/encoding.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/encoding.h')
-rw-r--r--src/encoding.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/encoding.h b/src/encoding.h
index f4fe51e..9db4c6e 100644
--- a/src/encoding.h
+++ b/src/encoding.h
@@ -16,4 +16,6 @@ bool key_from_base64(uint8_t key[static WG_KEY_LEN], const char *base64);
void key_to_hex(char hex[static WG_KEY_LEN_HEX], const uint8_t key[static WG_KEY_LEN]);
bool key_from_hex(uint8_t key[static WG_KEY_LEN], const char *hex);
+bool key_is_zero(const uint8_t key[static WG_KEY_LEN]);
+
#endif