Home
last modified time | relevance | path

Searched refs:JPAKE_CTX (Results 1 – 4 of 4) sorted by relevance

/external/openssl/crypto/jpake/
Djpake.h24 typedef struct JPAKE_CTX JPAKE_CTX; typedef
58 JPAKE_CTX *JPAKE_CTX_new(const char *name, const char *peer_name,
61 void JPAKE_CTX_free(JPAKE_CTX *ctx);
68 int JPAKE_STEP1_generate(JPAKE_STEP1 *send, JPAKE_CTX *ctx);
69 int JPAKE_STEP1_process(JPAKE_CTX *ctx, const JPAKE_STEP1 *received);
77 int JPAKE_STEP2_generate(JPAKE_STEP2 *send, JPAKE_CTX *ctx);
78 int JPAKE_STEP2_process(JPAKE_CTX *ctx, const JPAKE_STEP2 *received);
87 int JPAKE_STEP3A_generate(JPAKE_STEP3A *send, JPAKE_CTX *ctx);
88 int JPAKE_STEP3A_process(JPAKE_CTX *ctx, const JPAKE_STEP3A *received);
92 int JPAKE_STEP3B_generate(JPAKE_STEP3B *send, JPAKE_CTX *ctx);
[all …]
Djpake.c24 struct JPAKE_CTX struct
74 static void JPAKE_CTX_init(JPAKE_CTX *ctx, const char *name, in JPAKE_CTX_init()
95 static void JPAKE_CTX_release(JPAKE_CTX *ctx) in JPAKE_CTX_release()
115 JPAKE_CTX *JPAKE_CTX_new(const char *name, const char *peer_name, in JPAKE_CTX_new()
119 JPAKE_CTX *ctx = OPENSSL_malloc(sizeof *ctx); in JPAKE_CTX_new()
126 void JPAKE_CTX_free(JPAKE_CTX *ctx) in JPAKE_CTX_free()
187 const BIGNUM *zkpg, JPAKE_CTX *ctx) in generate_zkp()
215 JPAKE_CTX *ctx) in verify_zkp()
248 const BIGNUM *g, JPAKE_CTX *ctx) in generate_step_part()
255 static void genrand(JPAKE_CTX *ctx) in genrand()
[all …]
Djpaketest.c26 static int run_jpake(JPAKE_CTX *alice, JPAKE_CTX *bob) in run_jpake()
115 JPAKE_CTX *alice; in main()
116 JPAKE_CTX *bob; in main()
/external/openssl/apps/
Dapps.c2467 static JPAKE_CTX *jpake_init(const char *us, const char *them, in jpake_init()
2474 JPAKE_CTX *ctx; in jpake_init()
2504 static void jpake_send_step1(BIO *bconn, JPAKE_CTX *ctx) in jpake_send_step1()
2516 static void jpake_send_step2(BIO *bconn, JPAKE_CTX *ctx) in jpake_send_step2()
2527 static void jpake_send_step3a(BIO *bconn, JPAKE_CTX *ctx) in jpake_send_step3a()
2538 static void jpake_send_step3b(BIO *bconn, JPAKE_CTX *ctx) in jpake_send_step3b()
2568 static void jpake_receive_step1(JPAKE_CTX *ctx, BIO *bconn) in jpake_receive_step1()
2583 static void jpake_receive_step2(JPAKE_CTX *ctx, BIO *bconn) in jpake_receive_step2()
2597 static void jpake_receive_step3a(JPAKE_CTX *ctx, BIO *bconn) in jpake_receive_step3a()
2613 static void jpake_receive_step3b(JPAKE_CTX *ctx, BIO *bconn) in jpake_receive_step3b()
[all …]