challenge.c File Reference

#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 Documentation

#define DIGIT (  ) 

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

Definition at line 55 of file challenge.c.

Referenced by cram_md5_challenge().

#define TEMPLATE   "<XXXXXXXXXXXXXXXXXXXX.0@localhost>"

Definition at line 56 of file challenge.c.

Referenced by cram_md5_challenge().


Function Documentation

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().


Generated on Tue Aug 22 12:06:07 2006 for gsasl by  doxygen 1.4.7