gsasl
2.2.1
|
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 *out) |
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 166 of file mechtools.c.
int _gsasl_hash | ( | Gsasl_hash | hash, |
const char * | in, | ||
size_t | inlen, | ||
char * | out | ||
) |
Definition at line 296 of file mechtools.c.
void _gsasl_hex_decode | ( | const char * | hexstr, |
char * | bin | ||
) |
Definition at line 256 of file mechtools.c.
void _gsasl_hex_encode | ( | const char * | in, |
size_t | inlen, | ||
char * | out | ||
) |
Definition at line 221 of file mechtools.c.
bool _gsasl_hex_p | ( | const char * | hexstr | ) |
Definition at line 268 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 329 of file mechtools.c.
int _gsasl_parse_gs2_header | ( | const char * | data, |
size_t | len, | ||
char ** | authzid, | ||
size_t * | headerlen | ||
) |
Definition at line 97 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 368 of file mechtools.c.