Strophe
0.10
XMPP client library
|
Data Structures | |
struct | hash_alg |
Macros | |
#define | SCRAM_DIGEST_SIZE SHA512_DIGEST_SIZE |
Functions | |
void | SCRAM_ClientKey (const struct hash_alg *alg, const uint8_t *password, size_t len, const uint8_t *salt, size_t salt_len, uint32_t i, uint8_t *key) |
void | SCRAM_ClientSignature (const struct hash_alg *alg, const uint8_t *ClientKey, const uint8_t *AuthMessage, size_t len, uint8_t *sign) |
void | SCRAM_ClientProof (const struct hash_alg *alg, const uint8_t *ClientKey, const uint8_t *ClientSignature, uint8_t *proof) |
Variables | |
const struct hash_alg | scram_sha1 |
const struct hash_alg | scram_sha256 |
const struct hash_alg | scram_sha512 |
SCRAM helper functions.
#define SCRAM_DIGEST_SIZE SHA512_DIGEST_SIZE |
void SCRAM_ClientKey | ( | const struct hash_alg * | alg, |
const uint8_t * | password, | ||
size_t | len, | ||
const uint8_t * | salt, | ||
size_t | salt_len, | ||
uint32_t | i, | ||
uint8_t * | key | ||
) |
void SCRAM_ClientSignature | ( | const struct hash_alg * | alg, |
const uint8_t * | ClientKey, | ||
const uint8_t * | AuthMessage, | ||
size_t | len, | ||
uint8_t * | sign | ||
) |
void SCRAM_ClientProof | ( | const struct hash_alg * | alg, |
const uint8_t * | ClientKey, | ||
const uint8_t * | ClientSignature, | ||
uint8_t * | proof | ||
) |
const struct hash_alg scram_sha1 |
const struct hash_alg scram_sha256 |
const struct hash_alg scram_sha512 |