#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 HEXCHAR | ( | c | ) | ((c & 0x0F) > 9 ? 'a' + (c & 0x0F) - 10 : '0' + (c & 0x0F)) |
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.
References HEXCHAR.
Referenced by _gsasl_cram_md5_client_step(), and _gsasl_cram_md5_server_step().