#include <stddef.h>
#include <stdio.h>
#include <string.h>
#include <assert.h>
#include "challenge.h"
#include <gc.h>
Go to the source code of this file.
Defines | |
#define | NONCELEN 10 |
#define | TEMPLATE "<XXXXXXXXXXXXXXXXXXXX.0@localhost>" |
#define | DIGIT(c) |
Functions | |
void | cram_md5_challenge (char challenge[CRAM_MD5_CHALLENGE_LEN]) |
#define DIGIT | ( | c | ) |
Value:
(((c) & 0x0F) > 9 ? \ '0' + ((c) & 0x0F) - 10 : \ '0' + ((c) & 0x0F))
Definition at line 60 of file challenge.c.
Referenced by cram_md5_challenge().
#define NONCELEN 10 |
#define TEMPLATE "<XXXXXXXXXXXXXXXXXXXX.0@localhost>" |
void cram_md5_challenge | ( | char | challenge[CRAM_MD5_CHALLENGE_LEN] | ) |
Definition at line 65 of file challenge.c.
References DIGIT, NONCELEN, and TEMPLATE.
Referenced by _gsasl_cram_md5_server_start().