#include <config.h>
#include "session.h"
#include <stdlib.h>
#include <string.h>
#include <gc.h>
Go to the source code of this file.
|
int | digest_md5_encode (const char *input, size_t input_len, char **output, size_t *output_len, digest_md5_qop qop, unsigned long sendseqnum, char key[DIGEST_MD5_LENGTH]) |
|
int | digest_md5_decode (const char *input, size_t input_len, char **output, size_t *output_len, digest_md5_qop qop, unsigned long readseqnum, char key[DIGEST_MD5_LENGTH]) |
|
◆ C2I
Value: ((buf[3] & 0xFF) | \
((buf[2] & 0xFF) << 8) | \
((buf[1] & 0xFF) << 16) | \
((buf[0] & 0xFF) << 24))
Definition at line 114 of file session.c.
◆ MAC_DATA_LEN
◆ MAC_HMAC_LEN
◆ MAC_MSG_TYPE
#define MAC_MSG_TYPE "\x00\x01" |
◆ MAC_MSG_TYPE_LEN
#define MAC_MSG_TYPE_LEN 2 |
◆ MAC_SEQNUM_LEN
◆ MD5LEN
◆ SASL_INTEGRITY_PREFIX_LENGTH
#define SASL_INTEGRITY_PREFIX_LENGTH 4 |
◆ digest_md5_decode()
int digest_md5_decode |
( |
const char * |
input, |
|
|
size_t |
input_len, |
|
|
char ** |
output, |
|
|
size_t * |
output_len, |
|
|
digest_md5_qop |
qop, |
|
|
unsigned long |
readseqnum, |
|
|
char |
key[DIGEST_MD5_LENGTH] |
|
) |
| |
◆ digest_md5_encode()
int digest_md5_encode |
( |
const char * |
input, |
|
|
size_t |
input_len, |
|
|
char ** |
output, |
|
|
size_t * |
output_len, |
|
|
digest_md5_qop |
qop, |
|
|
unsigned long |
sendseqnum, |
|
|
char |
key[DIGEST_MD5_LENGTH] |
|
) |
| |