Refactor hex_to_bytes

This commit is contained in:
Dimitri Lozeve 2020-06-02 21:36:42 +02:00
parent 2a2c19be37
commit 55d39b8625
2 changed files with 10 additions and 7 deletions

View file

@ -3,6 +3,7 @@
#include <stdlib.h>
unsigned char hex_to_byte(const char c);
size_t hex_to_bytes(unsigned char *out, const char hex[static 1]);
unsigned char *bytes_to_base64(unsigned char *out,
const unsigned char in[static 1], size_t len);