djbdnscurve6 45
djbdnscurve6
Loading...
Searching...
No Matches
Functions
hex.c File Reference
#include <string.h>
#include "byte.h"
#include "uint_t.h"
Include dependency graph for hex.c:

Go to the source code of this file.

Functions

int char2hex (char in, uint8 *out)
 
int hex2char (uint8 in, char *out)
 
int hex_decode (const char *src, uint8 *dst)
 
int hex_encode (const uint8 *src, int srclen, char *dst, int dstlen)
 

Function Documentation

◆ char2hex()

int char2hex ( char  in,
uint8 *  out 
)

Definition at line 5 of file hex.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ hex2char()

int hex2char ( uint8  in,
char *  out 
)

Definition at line 21 of file hex.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ hex_decode()

int hex_decode ( const char *  src,
uint8 *  dst 
)

Definition at line 30 of file hex.c.

Here is the call graph for this function:

◆ hex_encode()

int hex_encode ( const uint8 *  src,
int  srclen,
char *  dst,
int  dstlen 
)

Definition at line 42 of file hex.c.

Here is the call graph for this function:
Here is the caller graph for this function: