#include <stdio.h>
#include <string.h>
#include <openssl/safestack.h>
#include <openssl/bn.h>
#include <openssl/crypto.h>
Go to the source code of this file.
|
SRP_VBASE * | SRP_VBASE_new (char *seed_key) |
|
int | SRP_VBASE_free (SRP_VBASE *vb) |
|
int | SRP_VBASE_init (SRP_VBASE *vb, char *verifier_file) |
|
SRP_user_pwd * | SRP_VBASE_get_by_user (SRP_VBASE *vb, char *username) |
|
char * | SRP_create_verifier (const char *user, const char *pass, char **salt, char **verifier, const char *N, const char *g) |
|
int | SRP_create_verifier_BN (const char *user, const char *pass, BIGNUM **salt, BIGNUM **verifier, BIGNUM *N, BIGNUM *g) |
|
char * | SRP_check_known_gN_param (BIGNUM *g, BIGNUM *N) |
|
SRP_gN * | SRP_get_default_gN (const char *id) |
|
BIGNUM * | SRP_Calc_server_key (BIGNUM *A, BIGNUM *v, BIGNUM *u, BIGNUM *b, BIGNUM *N) |
|
BIGNUM * | SRP_Calc_B (BIGNUM *b, BIGNUM *N, BIGNUM *g, BIGNUM *v) |
|
int | SRP_Verify_A_mod_N (BIGNUM *A, BIGNUM *N) |
|
BIGNUM * | SRP_Calc_u (BIGNUM *A, BIGNUM *B, BIGNUM *N) |
|
BIGNUM * | SRP_Calc_x (BIGNUM *s, const char *user, const char *pass) |
|
BIGNUM * | SRP_Calc_A (BIGNUM *a, BIGNUM *N, BIGNUM *g) |
|
BIGNUM * | SRP_Calc_client_key (BIGNUM *N, BIGNUM *B, BIGNUM *g, BIGNUM *x, BIGNUM *a, BIGNUM *u) |
|
int | SRP_Verify_B_mod_N (BIGNUM *B, BIGNUM *N) |
|
#define DB_SRP_REVOKED 'R' |
#define SRP_ERR_OPEN_FILE 3 |
#define SRP_ERR_VBASE_BN_LIB 2 |
#define SRP_ERR_VBASE_INCOMPLETE_FILE 1 |
#define SRP_MINIMAL_N 1024 |
BIGNUM* SRP_Calc_x |
( |
BIGNUM * |
s, |
|
|
const char * |
user, |
|
|
const char * |
pass |
|
) |
| |
char* SRP_create_verifier |
( |
const char * |
user, |
|
|
const char * |
pass, |
|
|
char ** |
salt, |
|
|
char ** |
verifier, |
|
|
const char * |
N, |
|
|
const char * |
g |
|
) |
| |
int SRP_create_verifier_BN |
( |
const char * |
user, |
|
|
const char * |
pass, |
|
|
BIGNUM ** |
salt, |
|
|
BIGNUM ** |
verifier, |
|
|
BIGNUM * |
N, |
|
|
BIGNUM * |
g |
|
) |
| |
SRP_gN* SRP_get_default_gN |
( |
const char * |
id | ) |
|
int SRP_VBASE_init |
( |
SRP_VBASE * |
vb, |
|
|
char * |
verifier_file |
|
) |
| |