gsasl  1.8.0
Defines | Functions
digest.c File Reference
#include <string.h>
#include "digest.h"
#include "gc.h"

Go to the source code of this file.

Defines

#define HEXCHAR(c)   ((c & 0x0F) > 9 ? 'a' + (c & 0x0F) - 10 : '0' + (c & 0x0F))

Functions

void cram_md5_digest (const char *challenge, size_t challengelen, const char *secret, size_t secretlen, char response[CRAM_MD5_DIGEST_LEN])

Define Documentation

#define HEXCHAR (   c)    ((c & 0x0F) > 9 ? 'a' + (c & 0x0F) - 10 : '0' + (c & 0x0F))

Definition at line 55 of file digest.c.


Function Documentation

void cram_md5_digest ( const char *  challenge,
size_t  challengelen,
const char *  secret,
size_t  secretlen,
char  response[CRAM_MD5_DIGEST_LEN] 
)

Definition at line 58 of file digest.c.