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

Go to the source code of this file.

Functions

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

Function Documentation

void hex_from_raw ( 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 ( char *  in,
int  inlen,
char *  out 
)

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

Definition at line 40 of file hex.c.