Home
last modified time | relevance | path

Searched refs:SPAKE2_CTX (Results 1 – 5 of 5) sorted by relevance

/external/boringssl/src/include/openssl/
Dcurve25519.h130 OPENSSL_EXPORT SPAKE2_CTX *SPAKE2_CTX_new(
136 OPENSSL_EXPORT void SPAKE2_CTX_free(SPAKE2_CTX *ctx);
150 OPENSSL_EXPORT int SPAKE2_generate_msg(SPAKE2_CTX *ctx, uint8_t *out,
179 OPENSSL_EXPORT int SPAKE2_process_msg(SPAKE2_CTX *ctx, uint8_t *out_key,
193 BORINGSSL_MAKE_DELETER(SPAKE2_CTX, SPAKE2_CTX_free)
Dbase.h323 typedef struct spake2_ctx_st SPAKE2_CTX; typedef
/external/boringssl/src/crypto/curve25519/
Dspake25519.c271 SPAKE2_CTX *SPAKE2_CTX_new(enum spake2_role_t my_role, in SPAKE2_CTX_new()
274 SPAKE2_CTX *ctx = OPENSSL_malloc(sizeof(SPAKE2_CTX)); in SPAKE2_CTX_new()
279 OPENSSL_memset(ctx, 0, sizeof(SPAKE2_CTX)); in SPAKE2_CTX_new()
294 void SPAKE2_CTX_free(SPAKE2_CTX *ctx) { in SPAKE2_CTX_free()
359 int SPAKE2_generate_msg(SPAKE2_CTX *ctx, uint8_t *out, size_t *out_len, in SPAKE2_generate_msg()
475 int SPAKE2_process_msg(SPAKE2_CTX *ctx, uint8_t *out_key, size_t *out_key_len, in SPAKE2_process_msg()
Dspake25519_test.cc33 bssl::UniquePtr<SPAKE2_CTX> alice(SPAKE2_CTX_new( in Run()
39 bssl::UniquePtr<SPAKE2_CTX> bob(SPAKE2_CTX_new( in Run()
/external/boringssl/src/tool/
Dspeed.cc557 bssl::UniquePtr<SPAKE2_CTX> alice(SPAKE2_CTX_new(spake2_role_alice, in SpeedSPAKE2()
571 bssl::UniquePtr<SPAKE2_CTX> bob(SPAKE2_CTX_new(spake2_role_bob, in SpeedSPAKE2()