Skip to content

Commit 5a81a2a

Browse files
committed
Stop treating ECDH as experimental
1 parent f49c989 commit 5a81a2a

File tree

3 files changed

+8
-12
lines changed

3 files changed

+8
-12
lines changed

.travis.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -20,24 +20,24 @@ env:
2020
- WIDEMUL=auto BIGNUM=auto ENDOMORPHISM=no STATICPRECOMPUTATION=yes ECMULTGENPRECISION=auto ASM=no BUILD=check EXTRAFLAGS= HOST= ECDH=no RECOVERY=no EXPERIMENTAL=no CTIMETEST=yes BENCH=yes ITERS=2
2121
matrix:
2222
- WIDEMUL=int64 RECOVERY=yes
23-
- WIDEMUL=int64 ECDH=yes EXPERIMENTAL=yes
23+
- WIDEMUL=int64 ECDH=yes
2424
- WIDEMUL=int64 ENDOMORPHISM=yes
2525
- WIDEMUL=int128
2626
- WIDEMUL=int128 RECOVERY=yes
2727
- WIDEMUL=int128 ENDOMORPHISM=yes
28-
- WIDEMUL=int128 ENDOMORPHISM=yes ECDH=yes EXPERIMENTAL=yes
28+
- WIDEMUL=int128 ENDOMORPHISM=yes ECDH=yes
2929
- WIDEMUL=int128 ASM=x86_64
3030
- WIDEMUL=int128 ENDOMORPHISM=yes ASM=x86_64
3131
- BIGNUM=no
32-
- BIGNUM=no ENDOMORPHISM=yes RECOVERY=yes EXPERIMENTAL=yes
32+
- BIGNUM=no ENDOMORPHISM=yes RECOVERY=yes
3333
- BIGNUM=no STATICPRECOMPUTATION=no
3434
- BUILD=distcheck CTIMETEST= BENCH=
3535
- CPPFLAGS=-DDETERMINISTIC
3636
- CFLAGS=-O0 CTIMETEST=
3737
- ECMULTGENPRECISION=2
3838
- ECMULTGENPRECISION=8
39-
- VALGRIND=yes ENDOMORPHISM=yes BIGNUM=no ASM=x86_64 EXPERIMENTAL=yes ECDH=yes RECOVERY=yes EXTRAFLAGS="--disable-openssl-tests" CPPFLAGS=-DVALGRIND BUILD=
40-
- VALGRIND=yes BIGNUM=no ASM=x86_64 EXPERIMENTAL=yes ECDH=yes RECOVERY=yes EXTRAFLAGS="--disable-openssl-tests" CPPFLAGS=-DVALGRIND BUILD=
39+
- VALGRIND=yes ENDOMORPHISM=yes BIGNUM=no ASM=x86_64 ECDH=yes RECOVERY=yes EXTRAFLAGS="--disable-openssl-tests" CPPFLAGS=-DVALGRIND BUILD=
40+
- VALGRIND=yes BIGNUM=no ASM=x86_64 ECDH=yes RECOVERY=yes EXTRAFLAGS="--disable-openssl-tests" CPPFLAGS=-DVALGRIND BUILD=
4141
matrix:
4242
fast_finish: true
4343
include:
@@ -85,7 +85,7 @@ matrix:
8585
- libc6-dbg:i386
8686
# S390x build (big endian system)
8787
- compiler: gcc
88-
env: HOST=s390x-unknown-linux-gnu ECDH=yes RECOVERY=yes EXPERIMENTAL=yes CTIMETEST=
88+
env: HOST=s390x-unknown-linux-gnu ECDH=yes RECOVERY=yes CTIMETEST=
8989
arch: s390x
9090

9191
# We use this to install macOS dependencies instead of the built in `homebrew` plugin,

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ Features:
1616
* Very efficient implementation.
1717
* Suitable for embedded systems.
1818
* Optional module for public key recovery.
19-
* Optional module for ECDH key exchange (experimental).
19+
* Optional module for ECDH key exchange.
2020

2121
Experimental features have not received enough scrutiny to satisfy the standard of quality of this library but are made available for testing and review by the community. The APIs of these features should not be considered stable.
2222

configure.ac

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ AC_ARG_ENABLE(ecmult_static_precomputation,
127127
[use_ecmult_static_precomputation=auto])
128128

129129
AC_ARG_ENABLE(module_ecdh,
130-
AS_HELP_STRING([--enable-module-ecdh],[enable ECDH shared secret computation (experimental)]),
130+
AS_HELP_STRING([--enable-module-ecdh],[enable ECDH shared secret computation]),
131131
[enable_module_ecdh=$enableval],
132132
[enable_module_ecdh=no])
133133

@@ -433,12 +433,8 @@ if test x"$enable_experimental" = x"yes"; then
433433
AC_MSG_NOTICE([******])
434434
AC_MSG_NOTICE([WARNING: experimental build])
435435
AC_MSG_NOTICE([Experimental features do not have stable APIs or properties, and may not be safe for production use.])
436-
AC_MSG_NOTICE([Building ECDH module: $enable_module_ecdh])
437436
AC_MSG_NOTICE([******])
438437
else
439-
if test x"$enable_module_ecdh" = x"yes"; then
440-
AC_MSG_ERROR([ECDH module is experimental. Use --enable-experimental to allow.])
441-
fi
442438
if test x"$set_asm" = x"arm"; then
443439
AC_MSG_ERROR([ARM assembly optimization is experimental. Use --enable-experimental to allow.])
444440
fi

0 commit comments

Comments
 (0)