|
gsasl
2.2.2
|
#include <config.h>#include "mechtools.h"#include <string.h>#include <stdlib.h>#include <stdio.h>#include <gsasl.h>#include <gc.h>Go to the source code of this file.
Functions | |
| int | _gsasl_parse_gs2_header (const char *data, size_t len, char **authzid, size_t *headerlen) |
| int | _gsasl_gs2_generate_header (bool nonstd, char cbflag, const char *cbname, const char *authzid, size_t extralen, const char *extra, char **gs2h, size_t *gs2hlen) |
| void | _gsasl_hex_encode (const char *in, size_t inlen, char *out) |
| void | _gsasl_hex_decode (const char *hexstr, char *bin) |
| bool | _gsasl_hex_p (const char *hexstr) |
| int | _gsasl_hash (Gsasl_hash hash, const char *in, size_t inlen, char *outhash) |
| int | _gsasl_hmac (Gsasl_hash hash, const char *key, size_t keylen, const char *in, size_t inlen, char *outhash) |
| int | _gsasl_pbkdf2 (Gsasl_hash hash, const char *password, size_t passwordlen, const char *salt, size_t saltlen, unsigned int c, char *dk, size_t dklen) |
| int _gsasl_gs2_generate_header | ( | bool | nonstd, |
| char | cbflag, | ||
| const char * | cbname, | ||
| const char * | authzid, | ||
| size_t | extralen, | ||
| const char * | extra, | ||
| char ** | gs2h, | ||
| size_t * | gs2hlen | ||
| ) |
Definition at line 165 of file mechtools.c.
| int _gsasl_hash | ( | Gsasl_hash | hash, |
| const char * | in, | ||
| size_t | inlen, | ||
| char * | outhash | ||
| ) |
Definition at line 295 of file mechtools.c.
| void _gsasl_hex_decode | ( | const char * | hexstr, |
| char * | bin | ||
| ) |
Definition at line 255 of file mechtools.c.
| void _gsasl_hex_encode | ( | const char * | in, |
| size_t | inlen, | ||
| char * | out | ||
| ) |
Definition at line 220 of file mechtools.c.
| bool _gsasl_hex_p | ( | const char * | hexstr | ) |
Definition at line 267 of file mechtools.c.
| int _gsasl_hmac | ( | Gsasl_hash | hash, |
| const char * | key, | ||
| size_t | keylen, | ||
| const char * | in, | ||
| size_t | inlen, | ||
| char * | outhash | ||
| ) |
Definition at line 328 of file mechtools.c.
| int _gsasl_parse_gs2_header | ( | const char * | data, |
| size_t | len, | ||
| char ** | authzid, | ||
| size_t * | headerlen | ||
| ) |
Definition at line 96 of file mechtools.c.
| int _gsasl_pbkdf2 | ( | Gsasl_hash | hash, |
| const char * | password, | ||
| size_t | passwordlen, | ||
| const char * | salt, | ||
| size_t | saltlen, | ||
| unsigned int | c, | ||
| char * | dk, | ||
| size_t | dklen | ||
| ) |
Definition at line 367 of file mechtools.c.