| commit | f27459e41259bd66179febbd3b89cc183791172c | [log] [tgz] |
|---|---|---|
| author | Arnar Birgisson <arnarb@google.com> | Tue Feb 09 18:09:00 2016 -0800 |
| committer | Adam Langley <agl@google.com> | Tue Mar 01 19:34:10 2016 +0000 |
| tree | ebf4d314c8c0be2ba42258c7ee153bbdf0f848cb | |
| parent | e4f3f4df6e521e9f98f6b2e340b98b59cba2c237 [diff] [blame] |
Add SPAKE2 over Ed25519. SPAKE2 is a password-authenticated key exchange. This implementation is over the twisted Edwards curve Ed25519, and uses SHA-512 as the hash primitive. See https://tools.ietf.org/html/draft-irtf-cfrg-spake2-03 Change-Id: I2cd3c3ebdc3d55ac3aea3a9eb0d06275509597ac Reviewed-on: https://boringssl-review.googlesource.com/7114 Reviewed-by: Adam Langley <agl@google.com>
diff --git a/include/openssl/base.h b/include/openssl/base.h index f1da61a..8507f37 100644 --- a/include/openssl/base.h +++ b/include/openssl/base.h
@@ -240,6 +240,7 @@ typedef struct sha256_state_st SHA256_CTX; typedef struct sha512_state_st SHA512_CTX; typedef struct sha_state_st SHA_CTX; +typedef struct spake2_ctx_st SPAKE2_CTX; typedef struct srtp_protection_profile_st SRTP_PROTECTION_PROFILE; typedef struct ssl_cipher_st SSL_CIPHER; typedef struct ssl_ctx_st SSL_CTX;