Searched defs:WG_KEY_LEN (Results 1 – 4 of 4) sorted by relevance
24 void key_to_base64(char base64[static WG_KEY_LEN_BASE64], const uint8_t key[static WG_KEY_LEN]) in key_to_base64()50 bool key_from_base64(uint8_t key[static WG_KEY_LEN], const char *base64) in key_from_base64()74 void key_to_hex(char hex[static WG_KEY_LEN_HEX], const uint8_t key[static WG_KEY_LEN]) in key_to_hex()85 bool key_from_hex(uint8_t key[static WG_KEY_LEN], const char *hex) in key_from_hex()116 bool key_is_zero(const uint8_t key[static WG_KEY_LEN]) in key_is_zero()
70 static char *key(const uint8_t key[static WG_KEY_LEN]) in key()78 static const char *maybe_key(const uint8_t maybe_key[static WG_KEY_LEN], bool have_it) in maybe_key()85 static const char *masked_key(const uint8_t masked_key[static WG_KEY_LEN]) in masked_key()
107 static inline bool parse_key(uint8_t key[static WG_KEY_LEN], const char *value) in parse_key()117 static bool parse_keyfile(uint8_t key[static WG_KEY_LEN], const char *path) in parse_keyfile()
22 #define WG_KEY_LEN 32 macro