4void hex_to_bytes(
const char* hex,
unsigned char* outBytes,
unsigned long* outBytesLen);
5void bytes_to_hex(
unsigned char* bytes,
unsigned long bytesLen,
char* hex);
6void copy_bytes(
unsigned char* src,
unsigned char* dest,
unsigned long length);
7void xor_strings(
char* dest,
char* src1,
char* src2,
int length);
void bytes_to_hex(unsigned char *bytes, unsigned long bytesLen, char *hex)
Definition utils.c:12
void getIthByteInHex(char *hex, int i, char *dest)
Definition utils.c:51
void hex_to_bytes(const char *hex, unsigned char *outBytes, unsigned long *outBytesLen)
Definition utils.c:5
void xor_strings(char *dest, char *src1, char *src2, int length)
Definition utils.c:26
void copy_bytes(unsigned char *src, unsigned char *dest, unsigned long length)
Definition utils.c:19
int hexStringToInteger(char *hex)
Definition utils.c:58