SCRAM helper functions.
More...
|
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) |
|
◆ SCRAM_DIGEST_SIZE
◆ SCRAM_ClientKey()
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 |
|
) |
| |
◆ SCRAM_ClientSignature()
void SCRAM_ClientSignature |
( |
const struct hash_alg * |
alg, |
|
|
const uint8_t * |
ClientKey, |
|
|
const uint8_t * |
AuthMessage, |
|
|
size_t |
len, |
|
|
uint8_t * |
sign |
|
) |
| |
◆ SCRAM_ClientProof()
void SCRAM_ClientProof |
( |
const struct hash_alg * |
alg, |
|
|
const uint8_t * |
ClientKey, |
|
|
const uint8_t * |
ClientSignature, |
|
|
uint8_t * |
proof |
|
) |
| |
◆ scram_algs
◆ scram_algs_num
const size_t scram_algs_num |
|
extern |