forked from pool/liboqs
Compare commits
2 Commits
| Author | SHA256 | Date | |
|---|---|---|---|
| 729f2dec59 | |||
| 93719f19b9 |
@@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:5b0df6138763b3fc4e385d58dbb2ee7c7c508a64a413d76a917529e3a9a207ea
|
|
||||||
size 17928284
|
|
||||||
3
0.15.0.tar.gz
Normal file
3
0.15.0.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:3983f7cd1247f37fb76a040e6fd684894d44a84cecdcfbdb90559b3216684b5c
|
||||||
|
size 57000994
|
||||||
@@ -1,2 +1,2 @@
|
|||||||
liboqs8
|
liboqs9
|
||||||
liboqs-devel
|
liboqs-devel
|
||||||
|
|||||||
@@ -1,18 +1,20 @@
|
|||||||
Index: liboqs-0.13.0/src/kem/frodokem/kem_frodokem.h
|
Index: liboqs-0.15.0/src/kem/frodokem/kem_frodokem.h
|
||||||
===================================================================
|
===================================================================
|
||||||
--- liboqs-0.13.0.orig/src/kem/frodokem/kem_frodokem.h
|
--- liboqs-0.15.0.orig/src/kem/frodokem/kem_frodokem.h
|
||||||
+++ liboqs-0.13.0/src/kem/frodokem/kem_frodokem.h
|
+++ liboqs-0.15.0/src/kem/frodokem/kem_frodokem.h
|
||||||
@@ -12,10 +12,10 @@
|
@@ -13,11 +13,11 @@
|
||||||
#define OQS_KEM_frodokem_640_aes_length_shared_secret 16
|
|
||||||
#define OQS_KEM_frodokem_640_aes_length_keypair_seed 0
|
#define OQS_KEM_frodokem_640_aes_length_keypair_seed 0
|
||||||
|
#define OQS_KEM_frodokem_640_aes_length_encaps_seed 0
|
||||||
OQS_KEM *OQS_KEM_frodokem_640_aes_new(void);
|
OQS_KEM *OQS_KEM_frodokem_640_aes_new(void);
|
||||||
-OQS_API OQS_STATUS OQS_KEM_frodokem_640_aes_keypair(uint8_t *public_key, uint8_t *secret_key);
|
-OQS_API OQS_STATUS OQS_KEM_frodokem_640_aes_keypair(uint8_t *public_key, uint8_t *secret_key);
|
||||||
-OQS_API OQS_STATUS OQS_KEM_frodokem_640_aes_keypair_derand(uint8_t *public_key, uint8_t *secret_key, const uint8_t *seed);
|
-OQS_API OQS_STATUS OQS_KEM_frodokem_640_aes_keypair_derand(uint8_t *public_key, uint8_t *secret_key, const uint8_t *seed);
|
||||||
-OQS_API OQS_STATUS OQS_KEM_frodokem_640_aes_encaps(uint8_t *ciphertext, uint8_t *shared_secret, const uint8_t *public_key);
|
-OQS_API OQS_STATUS OQS_KEM_frodokem_640_aes_encaps(uint8_t *ciphertext, uint8_t *shared_secret, const uint8_t *public_key);
|
||||||
|
-OQS_API OQS_STATUS OQS_KEM_frodokem_640_aes_encaps_derand(uint8_t *ciphertext, uint8_t *shared_secret, const uint8_t *public_key, const uint8_t *seed);
|
||||||
-OQS_API OQS_STATUS OQS_KEM_frodokem_640_aes_decaps(uint8_t *shared_secret, const uint8_t *ciphertext, const uint8_t *secret_key);
|
-OQS_API OQS_STATUS OQS_KEM_frodokem_640_aes_decaps(uint8_t *shared_secret, const uint8_t *ciphertext, const uint8_t *secret_key);
|
||||||
+OQS_API OQS_STATUS OQS_KEM_frodokem_640_aes_keypair(unsigned char *public_key, unsigned char *secret_key);
|
+OQS_API OQS_STATUS OQS_KEM_frodokem_640_aes_keypair(unsigned char *public_key, unsigned char *secret_key);
|
||||||
+OQS_API OQS_STATUS OQS_KEM_frodokem_640_aes_keypair_derand(unsigned char *public_key, unsigned char *secret_key, const unsigned char *seed);
|
+OQS_API OQS_STATUS OQS_KEM_frodokem_640_aes_keypair_derand(unsigned char *public_key, unsigned char *secret_key, const unsigned char *seed);
|
||||||
+OQS_API OQS_STATUS OQS_KEM_frodokem_640_aes_encaps(unsigned char *ciphertext, unsigned char *shared_secret, const unsigned char *public_key);
|
+OQS_API OQS_STATUS OQS_KEM_frodokem_640_aes_encaps(unsigned char *ciphertext, unsigned char *shared_secret, const unsigned char *public_key);
|
||||||
|
+OQS_API OQS_STATUS OQS_KEM_frodokem_640_aes_encaps_derand(unsigned char *ciphertext, unsigned char *shared_secret, const unsigned char *public_key, const unsigned char *seed);
|
||||||
+OQS_API OQS_STATUS OQS_KEM_frodokem_640_aes_decaps(unsigned char *shared_secret, const unsigned char *ciphertext, const unsigned char *secret_key);
|
+OQS_API OQS_STATUS OQS_KEM_frodokem_640_aes_decaps(unsigned char *shared_secret, const unsigned char *ciphertext, const unsigned char *secret_key);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|||||||
@@ -1,3 +1,44 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Dec 9 08:34:02 UTC 2025 - Pedro Monreal <pmonreal@suse.com>
|
||||||
|
|
||||||
|
- Update to 0.15.0:
|
||||||
|
* Significant changes:
|
||||||
|
- Integrated SLH-DSA implementation from pq-code-package/slhdsa-c
|
||||||
|
- SLH-DSA ACVP tests (#2237)
|
||||||
|
- Integrate SLH-DSA-C Library (#2175)
|
||||||
|
- Added NTRU back (#2176)
|
||||||
|
- Removed all Dilithium implementations (#2275)
|
||||||
|
- Replaced SPHINCS+ with SLH-DSA for CMake build option
|
||||||
|
OQS_ALGS_ENABLED=STD (#2290)
|
||||||
|
- Updated CROSS to version 2.2 (#2247)
|
||||||
|
- Included DeriveEncapsulation functionality (#2221)
|
||||||
|
- Integrated ML-KEM implementation from ICICLE-PQC (#2216)
|
||||||
|
* Bug fixes:
|
||||||
|
- Fixed erroneously disabled LMS variants with build flag
|
||||||
|
OQS_ENABLE_SIG_STFL_LMS (#2310)
|
||||||
|
- Fixed incorrect import in OV-III-pkc_skc (#2299)
|
||||||
|
- Fixed incorrect actual signature length in signature full-cycle
|
||||||
|
speed test (#2293)
|
||||||
|
- Fixed ICICLE ML-KEM integration (#2288)
|
||||||
|
- Disabled strict aliasing on SPHINCS+-SHAKE (#2264)
|
||||||
|
- Fixed uninitialized length_encaps_seed for NTRU implementations (#2266)
|
||||||
|
- Changed 64 bit add to 32 bit add to wrap on 32 bit counter for
|
||||||
|
AES-CTR AES-NI implementation (#2252)
|
||||||
|
- Improved random number generator security (#2225)
|
||||||
|
- Added Classic McEliece sanitization patch (#2218)
|
||||||
|
* Miscellaneous:
|
||||||
|
- Deprecated noregress scripts (#2295)
|
||||||
|
- Updated no-pass explanation for constant-time testing (#2294)
|
||||||
|
- Re-enabled all ACVP tests (#2283)
|
||||||
|
- Updated license info for ML-KEM (#2250)
|
||||||
|
- Added Poutine SASL (#2213)
|
||||||
|
- Updated ACVP to 1.1.0.40 (#2172)
|
||||||
|
- Switched to dev mode for 0.14.1 (#2199)
|
||||||
|
* Deprecation notice: liboqs 0.15.0 is the last version to officially
|
||||||
|
support SPHINCS+. SPHINCS+ will be removed in the 0.16.0 release and
|
||||||
|
replaced by SLH-DSA. liboqs 0.15.0 also removes support for Dilithium.
|
||||||
|
* Rebase liboqs-fix-prototypemismatch.patch
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Thu Jul 10 19:15:53 UTC 2025 - Marcus Meissner <meissner@suse.com>
|
Thu Jul 10 19:15:53 UTC 2025 - Marcus Meissner <meissner@suse.com>
|
||||||
|
|
||||||
|
|||||||
26
liboqs.spec
26
liboqs.spec
@@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package liboqs
|
# spec file for package liboqs
|
||||||
#
|
#
|
||||||
# Copyright (c) 2025 SUSE LLC
|
# Copyright (c) 2025 SUSE LLC and contributors
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@@ -16,8 +16,9 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
|
%define liboqs_sover 9
|
||||||
Name: liboqs
|
Name: liboqs
|
||||||
Version: 0.14.0
|
Version: 0.15.0
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: C library for quantum-resistant cryptographic algorithms
|
Summary: C library for quantum-resistant cryptographic algorithms
|
||||||
License: MIT
|
License: MIT
|
||||||
@@ -27,6 +28,7 @@ Source: https://github.com/open-quantum-safe/liboqs/archive/refs/tags/%{
|
|||||||
Source1: baselibs.conf
|
Source1: baselibs.conf
|
||||||
Patch0: liboqs-fix-build.patch
|
Patch0: liboqs-fix-build.patch
|
||||||
Patch1: liboqs-fix-prototypemismatch.patch
|
Patch1: liboqs-fix-prototypemismatch.patch
|
||||||
|
#PATCH-FIX-OPENSUSE boo#1101107 Do not embed the buildhost's kernel version
|
||||||
Patch2: reproducible.patch
|
Patch2: reproducible.patch
|
||||||
BuildRequires: cmake
|
BuildRequires: cmake
|
||||||
BuildRequires: doxygen
|
BuildRequires: doxygen
|
||||||
@@ -40,18 +42,18 @@ BuildRequires: python3-pytest-xdist
|
|||||||
liboqs is a C library for quantum-resistant cryptographic algorithms.
|
liboqs is a C library for quantum-resistant cryptographic algorithms.
|
||||||
See the bundled README.md for particular limitations on intended use.
|
See the bundled README.md for particular limitations on intended use.
|
||||||
|
|
||||||
%package -n liboqs8
|
%package -n liboqs%{liboqs_sover}
|
||||||
Summary: C library for quantum-resistant cryptographic algorithms
|
Summary: C library for quantum-resistant cryptographic algorithms
|
||||||
Group: System/Libraries
|
Group: System/Libraries
|
||||||
|
|
||||||
%description -n liboqs8
|
%description -n liboqs%{liboqs_sover}
|
||||||
liboqs is a C library for quantum-resistant cryptographic algorithms.
|
liboqs is a C library for quantum-resistant cryptographic algorithms.
|
||||||
See the bundled README.md for particular limitations on intended use.
|
See the bundled README.md for particular limitations on intended use.
|
||||||
|
|
||||||
%package devel
|
%package devel
|
||||||
Summary: Headers for liboqs, a library for quantum-resistant cryptography
|
Summary: Headers for liboqs, a library for quantum-resistant cryptography
|
||||||
Group: Development/Languages/C and C++
|
Group: Development/Languages/C and C++
|
||||||
Requires: liboqs8 = %{version}
|
Requires: liboqs%{liboqs_sover} = %{version}
|
||||||
|
|
||||||
%description devel
|
%description devel
|
||||||
liboqs is a C library for quantum-resistant cryptographic algorithms.
|
liboqs is a C library for quantum-resistant cryptographic algorithms.
|
||||||
@@ -77,8 +79,8 @@ popd
|
|||||||
# need to find out what cmake option is needed
|
# need to find out what cmake option is needed
|
||||||
mv %{buildroot}%{_prefix}/local/* %{buildroot}%{_prefix}
|
mv %{buildroot}%{_prefix}/local/* %{buildroot}%{_prefix}
|
||||||
|
|
||||||
#if [ "%{_lib}" != "lib" ]; then
|
#if [ "%%{_lib}" != "lib" ]; then
|
||||||
# mv %{buildroot}%{_prefix}/lib %{buildroot}%{_libdir}
|
# mv %%{buildroot}%%{_prefix}/lib %%{buildroot}%%{_libdir}
|
||||||
#fi
|
#fi
|
||||||
|
|
||||||
rmdir %{buildroot}%{_prefix}/local/
|
rmdir %{buildroot}%{_prefix}/local/
|
||||||
@@ -88,13 +90,13 @@ pushd build
|
|||||||
make run_tests
|
make run_tests
|
||||||
popd
|
popd
|
||||||
|
|
||||||
%post -n liboqs8 -p /sbin/ldconfig
|
%post -n liboqs%{liboqs_sover} -p /sbin/ldconfig
|
||||||
%postun -n liboqs8 -p /sbin/ldconfig
|
%postun -n liboqs%{liboqs_sover} -p /sbin/ldconfig
|
||||||
|
|
||||||
%files -n liboqs8
|
%files -n liboqs%{liboqs_sover}
|
||||||
%license LICENSE.txt
|
%license LICENSE.txt
|
||||||
%{_libdir}/liboqs.so.%version
|
%{_libdir}/liboqs.so.%{version}
|
||||||
%{_libdir}/liboqs.so.8
|
%{_libdir}/liboqs.so.%{liboqs_sover}
|
||||||
%doc README.md
|
%doc README.md
|
||||||
|
|
||||||
%files devel
|
%files devel
|
||||||
|
|||||||
Reference in New Issue
Block a user