aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--API-CONVENTIONS.md3
-rw-r--r--crypto/kyber/internal.h2
-rw-r--r--crypto/kyber/kyber.c2
-rw-r--r--crypto/kyber/kyber_test.cc2
-rw-r--r--include/openssl/experimental/kyber.h (renamed from include/openssl/kyber.h)0
-rw-r--r--ssl/ssl_key_share.cc2
-rw-r--r--tool/speed.cc2
-rw-r--r--util/doc.config6
8 files changed, 13 insertions, 6 deletions
diff --git a/API-CONVENTIONS.md b/API-CONVENTIONS.md
index ec08e57..e36037b 100644
--- a/API-CONVENTIONS.md
+++ b/API-CONVENTIONS.md
@@ -16,6 +16,9 @@ OpenSSL's legacy ASN.1, X.509, and PEM implementation. If possible, avoid using
them. These are left largely unmodified from upstream and are retained only for
compatibility with existing OpenSSL consumers.
+Experimental public APIs are found in `include/openssl/experimental`. Use of
+these will likely be incompatible with changes in the near future as they are
+finalized.
## Forward declarations
diff --git a/crypto/kyber/internal.h b/crypto/kyber/internal.h
index 7f4a08c..0072269 100644
--- a/crypto/kyber/internal.h
+++ b/crypto/kyber/internal.h
@@ -16,7 +16,7 @@
#define OPENSSL_HEADER_CRYPTO_KYBER_INTERNAL_H
#include <openssl/base.h>
-#include <openssl/kyber.h>
+#include <openssl/experimental/kyber.h>
#if defined(__cplusplus)
extern "C" {
diff --git a/crypto/kyber/kyber.c b/crypto/kyber/kyber.c
index e9e3a91..0e97359 100644
--- a/crypto/kyber/kyber.c
+++ b/crypto/kyber/kyber.c
@@ -12,7 +12,7 @@
* OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN
* CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */
-#include <openssl/kyber.h>
+#include <openssl/experimental/kyber.h>
#include <assert.h>
#include <stdlib.h>
diff --git a/crypto/kyber/kyber_test.cc b/crypto/kyber/kyber_test.cc
index c42db78..9956478 100644
--- a/crypto/kyber/kyber_test.cc
+++ b/crypto/kyber/kyber_test.cc
@@ -20,7 +20,7 @@
#include <openssl/bytestring.h>
#include <openssl/ctrdrbg.h>
-#include <openssl/kyber.h>
+#include <openssl/experimental/kyber.h>
#include "../test/file_test.h"
#include "../test/test_util.h"
diff --git a/include/openssl/kyber.h b/include/openssl/experimental/kyber.h
index e0268fc..e0268fc 100644
--- a/include/openssl/kyber.h
+++ b/include/openssl/experimental/kyber.h
diff --git a/ssl/ssl_key_share.cc b/ssl/ssl_key_share.cc
index 80317d8..f4fda3f 100644
--- a/ssl/ssl_key_share.cc
+++ b/ssl/ssl_key_share.cc
@@ -24,7 +24,7 @@
#include <openssl/curve25519.h>
#include <openssl/ec.h>
#include <openssl/err.h>
-#include <openssl/kyber.h>
+#include <openssl/experimental/kyber.h>
#include <openssl/hrss.h>
#include <openssl/mem.h>
#include <openssl/nid.h>
diff --git a/tool/speed.cc b/tool/speed.cc
index 5473909..a8c0587 100644
--- a/tool/speed.cc
+++ b/tool/speed.cc
@@ -38,8 +38,8 @@
#include <openssl/ecdsa.h>
#include <openssl/err.h>
#include <openssl/evp.h>
+#include <openssl/experimental/kyber.h>
#include <openssl/hrss.h>
-#include <openssl/kyber.h>
#include <openssl/mem.h>
#include <openssl/nid.h>
#include <openssl/rand.h>
diff --git a/util/doc.config b/util/doc.config
index e36a960..2e71c3c 100644
--- a/util/doc.config
+++ b/util/doc.config
@@ -36,7 +36,6 @@
"include/openssl/engine.h",
"include/openssl/hkdf.h",
"include/openssl/hmac.h",
- "include/openssl/kyber.h",
"include/openssl/md5.h",
"include/openssl/rc4.h",
"include/openssl/rsa.h",
@@ -61,6 +60,11 @@
"include/openssl/x509.h"
]
},{
+ "Name": "Experimental primitives. Will be removed and replaced when standardized!",
+ "Headers": [
+ "include/openssl/experimental/kyber.h"
+ ]
+ },{
"Name": "SSL implementation",
"Headers": [
"include/openssl/ssl.h"