home / secrets / src / util / hexstring.h

hexstring.h



//
//  hexstring.h
//  secrets
//
//  Created by Anders on 09/07/2020.
//

#ifndef hexstring_h
#define hexstring_h

#include <stdint.h>

void hexstring_to_bin(uint8_t *result, const char* hexstring, uint32_t expected_size);
char* hexstring_from_bin(char *result, const uint8_t *binary, uint32_t size);

#endif /* hexstring_h */