jabberd2  2.3.1
Functions
hex.c File Reference
#include "util.h"

Go to the source code of this file.

Functions

void hex_from_raw (const unsigned char *in, int inlen, char *out)
 turn raw into hex - out must be (inlen*2)+1 More...
 
int hex_to_raw (const char *in, int inlen, char *out)
 turn hex into raw - out must be (inlen/2) More...
 

Function Documentation

void hex_from_raw ( const unsigned char *  in,
int  inlen,
char *  out 
)

turn raw into hex - out must be (inlen*2)+1

Definition at line 26 of file hex.c.

Referenced by sess_start(), and shahash_r().

int hex_to_raw ( const char *  in,
int  inlen,
char *  out 
)

turn hex into raw - out must be (inlen/2)

Definition at line 40 of file hex.c.