OpenSSL  1.0.1c
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros
Functions
srp_lib.c File Reference
#include "cryptlib.h"
#include "srp_lcl.h"
#include <openssl/srp.h>
#include <openssl/evp.h>
#include "srp_grps.h"

Go to the source code of this file.

Functions

BIGNUMSRP_Calc_u (BIGNUM *A, BIGNUM *B, BIGNUM *N)
 
BIGNUMSRP_Calc_server_key (BIGNUM *A, BIGNUM *v, BIGNUM *u, BIGNUM *b, BIGNUM *N)
 
BIGNUMSRP_Calc_B (BIGNUM *b, BIGNUM *N, BIGNUM *g, BIGNUM *v)
 
BIGNUMSRP_Calc_x (BIGNUM *s, const char *user, const char *pass)
 
BIGNUMSRP_Calc_A (BIGNUM *a, BIGNUM *N, BIGNUM *g)
 
BIGNUMSRP_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)
 
int SRP_Verify_A_mod_N (BIGNUM *A, BIGNUM *N)
 
char * SRP_check_known_gN_param (BIGNUM *g, BIGNUM *N)
 
SRP_gNSRP_get_default_gN (const char *id)
 

Function Documentation

BIGNUM* SRP_Calc_A ( BIGNUM a,
BIGNUM N,
BIGNUM g 
)

Definition at line 235 of file srp_lib.c.

BIGNUM* SRP_Calc_B ( BIGNUM b,
BIGNUM N,
BIGNUM g,
BIGNUM v 
)

Definition at line 170 of file srp_lib.c.

BIGNUM* SRP_Calc_client_key ( BIGNUM N,
BIGNUM B,
BIGNUM g,
BIGNUM x,
BIGNUM a,
BIGNUM u 
)

Definition at line 255 of file srp_lib.c.

BIGNUM* SRP_Calc_server_key ( BIGNUM A,
BIGNUM v,
BIGNUM u,
BIGNUM b,
BIGNUM N 
)

Definition at line 143 of file srp_lib.c.

BIGNUM* SRP_Calc_u ( BIGNUM A,
BIGNUM B,
BIGNUM N 
)

Definition at line 108 of file srp_lib.c.

BIGNUM* SRP_Calc_x ( BIGNUM s,
const char *  user,
const char *  pass 
)

Definition at line 203 of file srp_lib.c.

char* SRP_check_known_gN_param ( BIGNUM g,
BIGNUM N 
)

Definition at line 327 of file srp_lib.c.

SRP_gN* SRP_get_default_gN ( const char *  id)

Definition at line 344 of file srp_lib.c.

int SRP_Verify_A_mod_N ( BIGNUM A,
BIGNUM N 
)

Definition at line 317 of file srp_lib.c.

int SRP_Verify_B_mod_N ( BIGNUM B,
BIGNUM N 
)

Definition at line 295 of file srp_lib.c.