Make an include/openssl/experimental. Move kyber to it for now.

Update-Note: <openssl/kyber.h> has moved to
<openssl/experimental/kyber.h>

Change-Id: I51d37aeb2b6cfbbaae494cc38f1b0a82669d2692
Reviewed-on: https://boringssl-review.googlesource.com/c/boringssl/+/66467
Reviewed-by: David Benjamin <davidben@google.com>
Auto-Submit: Bob Beck <bbe@google.com>
Commit-Queue: Bob Beck <bbe@google.com>
fips-20240407
Bob Beck 9 months ago committed by Boringssl LUCI CQ
parent 5d88014067
commit 85c5d9668f
  1. 3
      API-CONVENTIONS.md
  2. 2
      crypto/kyber/internal.h
  3. 2
      crypto/kyber/kyber.c
  4. 2
      crypto/kyber/kyber_test.cc
  5. 0
      include/openssl/experimental/kyber.h
  6. 2
      ssl/ssl_key_share.cc
  7. 2
      tool/speed.cc
  8. 6
      util/doc.config

@ -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

@ -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" {

@ -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>

@ -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"

@ -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>

@ -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>

@ -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",
@ -60,6 +59,11 @@
"include/openssl/conf.h",
"include/openssl/x509.h"
]
},{
"Name": "Experimental primitives. Will be removed and replaced when standardized!",
"Headers": [
"include/openssl/experimental/kyber.h"
]
},{
"Name": "SSL implementation",
"Headers": [

Loading…
Cancel
Save