Refactor hex_to_bytes
This commit is contained in:
parent
2a2c19be37
commit
55d39b8625
2 changed files with 10 additions and 7 deletions
1
utils.h
1
utils.h
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue