Strophe
0.9
XMPP client library
|
SCRAM-SHA1 helper functions. More...
Macros | |
#define | HMAC_BLOCK_SIZE 64 |
Functions | |
static void | crypto_HMAC_SHA1 (const uint8_t *key, size_t key_len, const uint8_t *text, size_t len, uint8_t *digest) |
static void | SCRAM_SHA1_Hi (const uint8_t *text, size_t len, const uint8_t *salt, size_t salt_len, uint32_t i, uint8_t *digest) |
void | SCRAM_SHA1_ClientKey (const uint8_t *password, size_t len, const uint8_t *salt, size_t salt_len, uint32_t i, uint8_t *key) |
void | SCRAM_SHA1_ClientSignature (const uint8_t *ClientKey, const uint8_t *AuthMessage, size_t len, uint8_t *sign) |
void | SCRAM_SHA1_ClientProof (const uint8_t *ClientKey, const uint8_t *ClientSignature, uint8_t *proof) |
Variables | |
static const uint8_t | ipad = 0x36 |
static const uint8_t | opad = 0x5C |
SCRAM-SHA1 helper functions.
#define HMAC_BLOCK_SIZE 64 |
|
static |
|
static |
void SCRAM_SHA1_ClientKey | ( | const uint8_t * | password, |
size_t | len, | ||
const uint8_t * | salt, | ||
size_t | salt_len, | ||
uint32_t | i, | ||
uint8_t * | key | ||
) |
void SCRAM_SHA1_ClientSignature | ( | const uint8_t * | ClientKey, |
const uint8_t * | AuthMessage, | ||
size_t | len, | ||
uint8_t * | sign | ||
) |
void SCRAM_SHA1_ClientProof | ( | const uint8_t * | ClientKey, |
const uint8_t * | ClientSignature, | ||
uint8_t * | proof | ||
) |
|
static |
|
static |