OpenSSL  1.0.1c
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros
Classes | Macros | Functions
jpake.c File Reference
#include "jpake.h"
#include <openssl/crypto.h>
#include <openssl/sha.h>
#include <openssl/err.h>
#include <memory.h>

Go to the source code of this file.

Classes

struct  JPAKE_CTX_PUBLIC
 
struct  JPAKE_CTX
 

Macros

#define JPAKE_STEP_PART_init   JPAKE_STEP2_init
 
#define JPAKE_STEP_PART_release   JPAKE_STEP2_release
 

Functions

void JPAKE_STEP_PART_init (JPAKE_STEP_PART *p)
 
void JPAKE_STEP_PART_release (JPAKE_STEP_PART *p)
 
void JPAKE_STEP1_init (JPAKE_STEP1 *s1)
 
void JPAKE_STEP1_release (JPAKE_STEP1 *s1)
 
JPAKE_CTXJPAKE_CTX_new (const char *name, const char *peer_name, const BIGNUM *p, const BIGNUM *g, const BIGNUM *q, const BIGNUM *secret)
 
void JPAKE_CTX_free (JPAKE_CTX *ctx)
 
int JPAKE_STEP1_generate (JPAKE_STEP1 *send, JPAKE_CTX *ctx)
 
int JPAKE_STEP1_process (JPAKE_CTX *ctx, const JPAKE_STEP1 *received)
 
int JPAKE_STEP2_generate (JPAKE_STEP2 *send, JPAKE_CTX *ctx)
 
int JPAKE_STEP2_process (JPAKE_CTX *ctx, const JPAKE_STEP2 *received)
 
void JPAKE_STEP3A_init (JPAKE_STEP3A *s3a)
 
int JPAKE_STEP3A_generate (JPAKE_STEP3A *send, JPAKE_CTX *ctx)
 
int JPAKE_STEP3A_process (JPAKE_CTX *ctx, const JPAKE_STEP3A *received)
 
void JPAKE_STEP3A_release (JPAKE_STEP3A *s3a)
 
void JPAKE_STEP3B_init (JPAKE_STEP3B *s3b)
 
int JPAKE_STEP3B_generate (JPAKE_STEP3B *send, JPAKE_CTX *ctx)
 
int JPAKE_STEP3B_process (JPAKE_CTX *ctx, const JPAKE_STEP3B *received)
 
void JPAKE_STEP3B_release (JPAKE_STEP3B *s3b)
 
const BIGNUMJPAKE_get_shared_key (JPAKE_CTX *ctx)
 

Macro Definition Documentation

#define JPAKE_STEP_PART_init   JPAKE_STEP2_init

Definition at line 47 of file jpake.c.

#define JPAKE_STEP_PART_release   JPAKE_STEP2_release

Definition at line 48 of file jpake.c.

Function Documentation

void JPAKE_CTX_free ( JPAKE_CTX ctx)

Definition at line 126 of file jpake.c.

JPAKE_CTX* JPAKE_CTX_new ( const char *  name,
const char *  peer_name,
const BIGNUM p,
const BIGNUM g,
const BIGNUM q,
const BIGNUM secret 
)

Definition at line 115 of file jpake.c.

const BIGNUM* JPAKE_get_shared_key ( JPAKE_CTX ctx)

Definition at line 507 of file jpake.c.

int JPAKE_STEP1_generate ( JPAKE_STEP1 send,
JPAKE_CTX ctx 
)

Definition at line 276 of file jpake.c.

void JPAKE_STEP1_init ( JPAKE_STEP1 s1)

Definition at line 62 of file jpake.c.

int JPAKE_STEP1_process ( JPAKE_CTX ctx,
const JPAKE_STEP1 received 
)

Definition at line 302 of file jpake.c.

void JPAKE_STEP1_release ( JPAKE_STEP1 s1)

Definition at line 68 of file jpake.c.

int JPAKE_STEP2_generate ( JPAKE_STEP2 send,
JPAKE_CTX ctx 
)

Definition at line 345 of file jpake.c.

int JPAKE_STEP2_process ( JPAKE_CTX ctx,
const JPAKE_STEP2 received 
)

Definition at line 414 of file jpake.c.

int JPAKE_STEP3A_generate ( JPAKE_STEP3A send,
JPAKE_CTX ctx 
)

Definition at line 456 of file jpake.c.

void JPAKE_STEP3A_init ( JPAKE_STEP3A s3a)

Definition at line 453 of file jpake.c.

int JPAKE_STEP3A_process ( JPAKE_CTX ctx,
const JPAKE_STEP3A received 
)

Definition at line 464 of file jpake.c.

void JPAKE_STEP3A_release ( JPAKE_STEP3A s3a)

Definition at line 478 of file jpake.c.

int JPAKE_STEP3B_generate ( JPAKE_STEP3B send,
JPAKE_CTX ctx 
)

Definition at line 484 of file jpake.c.

void JPAKE_STEP3B_init ( JPAKE_STEP3B s3b)

Definition at line 481 of file jpake.c.

int JPAKE_STEP3B_process ( JPAKE_CTX ctx,
const JPAKE_STEP3B received 
)

Definition at line 491 of file jpake.c.

void JPAKE_STEP3B_release ( JPAKE_STEP3B s3b)

Definition at line 504 of file jpake.c.

void JPAKE_STEP_PART_init ( JPAKE_STEP_PART p)

Definition at line 50 of file jpake.c.

void JPAKE_STEP_PART_release ( JPAKE_STEP_PART p)

Definition at line 56 of file jpake.c.