summaryrefslogtreecommitdiff
path: root/libs/openssl-3.6.0-beta1/x86/include/openssl/ml_kem.h
diff options
context:
space:
mode:
authorAldrik Ramaekers <aldrikboy@gmail.com>2025-09-27 18:38:35 +0200
committerAldrik Ramaekers <aldrikboy@gmail.com>2025-09-27 18:38:35 +0200
commitd8c4d84dc75300c6d4d8b0adceafa33741960b92 (patch)
tree00e2dfcc5c836d62fccff76c862e6ec3b0a74db8 /libs/openssl-3.6.0-beta1/x86/include/openssl/ml_kem.h
parentfa088bb60692ba02d30d39affa9a31d9e2b688e2 (diff)
added http lib, working on AI invoice importing
Diffstat (limited to 'libs/openssl-3.6.0-beta1/x86/include/openssl/ml_kem.h')
-rw-r--r--libs/openssl-3.6.0-beta1/x86/include/openssl/ml_kem.h31
1 files changed, 31 insertions, 0 deletions
diff --git a/libs/openssl-3.6.0-beta1/x86/include/openssl/ml_kem.h b/libs/openssl-3.6.0-beta1/x86/include/openssl/ml_kem.h
new file mode 100644
index 0000000..1c90163
--- /dev/null
+++ b/libs/openssl-3.6.0-beta1/x86/include/openssl/ml_kem.h
@@ -0,0 +1,31 @@
+/*
+ * Copyright 2024-2025 The OpenSSL Project Authors. All Rights Reserved.
+ *
+ * Licensed under the Apache License 2.0 (the "License"). You may not use
+ * this file except in compliance with the License. You can obtain a copy
+ * in the file LICENSE in the source distribution or at
+ * https://www.openssl.org/source/license.html
+ */
+
+#ifndef OPENSSL_ML_KEM_H
+# define OPENSSL_ML_KEM_H
+# pragma once
+
+# define OSSL_ML_KEM_SHARED_SECRET_BYTES 32
+
+# define OSSL_ML_KEM_512_BITS 512
+# define OSSL_ML_KEM_512_SECURITY_BITS 128
+# define OSSL_ML_KEM_512_CIPHERTEXT_BYTES 768
+# define OSSL_ML_KEM_512_PUBLIC_KEY_BYTES 800
+
+# define OSSL_ML_KEM_768_BITS 768
+# define OSSL_ML_KEM_768_SECURITY_BITS 192
+# define OSSL_ML_KEM_768_CIPHERTEXT_BYTES 1088
+# define OSSL_ML_KEM_768_PUBLIC_KEY_BYTES 1184
+
+# define OSSL_ML_KEM_1024_BITS 1024
+# define OSSL_ML_KEM_1024_SECURITY_BITS 256
+# define OSSL_ML_KEM_1024_CIPHERTEXT_BYTES 1568
+# define OSSL_ML_KEM_1024_PUBLIC_KEY_BYTES 1568
+
+#endif