21 Commits

Author SHA256 Message Date
881b502d45 Accepting request 1321746 from home:pmonrealgonzalez:branches:devel:libraries:c_c++
- 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)

OBS-URL: https://build.opensuse.org/request/show/1321746
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/liboqs?expand=0&rev=38
2025-12-09 12:34:39 +00:00
73fb904f84 Accepting request 1291769 from home:msmeissn:branches:devel:libraries:c_c++
- Updated to 0.14.0:
  * Key encapsulation mechanisms:
    - HQC: Disabled compiler optimizations to avoid secret-dependent branching in certain configurations. HQC remains disabled by default.
    - ML-KEM: Updated the default ML-KEM implementation to [PQCP's mlkem-native v1.0.0](https://github.com/pq-code-package/mlkem-native/releases/tag/v1.0.0).
  * Digital signature schemes:
    - New API: added an API function to check if a signature scheme supports signing with a context string.
    - SNOVA: added [SNOVA](https://snova.pqclab.org/) from NIST Additional Signature Schemes Round 2.
  * Other changes:
     - Added an AVX512VL-optimized backend for SHA3.
     - Improved memory management throughout the codebase.
- CVE-2025-52473: Disabled compiler optimizations for HQC to avoid
  secret-dependent branches. Thank you to Zhenzhi Lai and Zhiyuan Zhang
  from from the University of Melbourne and the Max Planck Institute
  for Security and Privacy for identifying the issue. (bsc#1246301)
- new major library version liboqs.so.8

OBS-URL: https://build.opensuse.org/request/show/1291769
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/liboqs?expand=0&rev=36
2025-07-10 19:46:26 +00:00
e9d76ec9a5 Accepting request 1288798 from home:msmeissn:branches:devel:libraries:c_c++
- enable testsuite

OBS-URL: https://build.opensuse.org/request/show/1288798
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/liboqs?expand=0&rev=34
2025-06-27 07:31:28 +00:00
0b5c317705 Accepting request 1276794 from home:msmeissn:branches:devel:libraries:c_c++
- add -DOQS_ENABLE_KEM_HQC=ON even due to security issues, as otherwise
  we dropped binary compatibility with postquantumcryptoengine (bsc#1242701)

OBS-URL: https://build.opensuse.org/request/show/1276794
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/liboqs?expand=0&rev=32
2025-05-12 09:58:39 +00:00
4e73a4e598 Accepting request 1276690 from home:bmwiedemann:branches:devel:libraries:c_c++
Add reproducible.patch to not embed the buildhost's kernel version (boo#1101107)

OBS-URL: https://build.opensuse.org/request/show/1276690
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/liboqs?expand=0&rev=31
2025-05-12 07:46:52 +00:00
4fe36047cf Accepting request 1270598 from home:msmeissn:branches:devel:libraries:c_c++
- Updated to 0.13.0:
  - Key encapsulation mechanisms                                                                                                                                                             
    - New API: Added a deterministic key generation and API for KEMs (only ML-KEM supported at the moment).
    - ML-KEM: Changed the default ML-KEM implementation to [PQCP's mlkem-native](https://github.com/pq-code-package/mlkem-native). There are three variants: Portable C, AVX2, and AArch64. Large +parts of these implementations are formally verified: all of the C code is verified for memory and type safety using [CBMC](https://github.com/diffblue/cbmc) and the functional correctness +of the core AArch64 assembly routines is verified using [HOL-Light](https://github.com/jrh13/hol-light).
    - ML-KEM: Added support for the ML-KEM implementation from [Nvidia cuPQC](https://developer.nvidia.com/cupqc), a GPU accelerated cryptography library.
    - ML-KEM: Implementation from mlkem-native upstream updated to add Pair-wise Consistency Test (PCT) and Intel CET support.
    - ML-KEM: Improved testing of ML-KEM keys.
    - HQC: Disabled HQC by default until [a new security flaw](https://groups.google.com/a/list.nist.gov/g/pqc-forum/c/Wiu4ZQo3fP8) is fixed.
  - Digital signature schemes
    - ML-DSA: Improved testing for ML-DSA.
    - CROSS: Updated to NIST Additional Signatures Round 2 version.
    - MAYO: Updated to NIST Additional Signatures Round 2 version.
    - UOV: Added support for UOV algorithm from NIST Additional Signatures Round 2.

OBS-URL: https://build.opensuse.org/request/show/1270598
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/liboqs?expand=0&rev=29
2025-04-17 16:13:32 +00:00
3d0789ec5c Accepting request 1230160 from home:msmeissn:branches:devel:libraries:c_c++
- Updated to 0.12.0:
  - This release updates the ML-DSA implementation to the [final
    FIPS 204](https://csrc.nist.gov/pubs/fips/204/final) version. This
    release still includes the NIST Round 3 version of Dilithium for
    interoperability purposes, but we plan to remove Dilithium Round 3 in
    a future release.
  - This will be the last release of liboqs to include Kyber (that is,
    the NIST Round 3 version of Kyber, prior to its standardization by NIST
    as ML-KEM in FIPS 203). Applications should switch to ML-KEM (FIPS 203).
  - The addition of ML-DSA FIPS 204 final version to liboqs has
    introduced a new signature API which includes a context string
    parameter. We are planning to remove the old version of the API
    without a context string in the next release to streamline the
    API and bring it in line with NIST specifications. Users who
    have an opinion on this removal are invited to provide input at
    https://github.com/open-quantum-safe/liboqs/issues/2001.
  Security issues:
  - CVE-2024-54137: Fixed bug in HQC decapsulation that leads to incorrect
    shared secret value during decapsulation when called with an invalid
    ciphertext. (bsc#1234292)

OBS-URL: https://build.opensuse.org/request/show/1230160
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/liboqs?expand=0&rev=27
2024-12-11 16:00:31 +00:00
f1249addac Accepting request 1205213 from home:msmeissn:branches:devel:libraries:c_c++
- Updated to 0.11.0:
  * This release updates ML-KEM implementations to their final FIPS 203
    https://csrc.nist.gov/pubs/fips/203/final versions .
  * This release still includes the NIST Round 3 version of Kyber for
    interoperability purposes, but we plan to remove Kyber Round 3 in a
    future release.
  * Additionally, this release adds support for MAYO and CROSS
    digital signature schemes from [NIST Additional Signatures Round 1
    https://csrc.nist.gov/Projects/pqc-dig-sig/round-1-additional-signatures
    along with stateful hash-based signature schemes XMSS
    https://datatracker.ietf.org/doc/html/rfc8391 and LMS
    https://datatracker.ietf.org/doc/html/rfc8554.
  * Finally, this release provides formally verified
    implementations of Kyber-512 and Kyber-768 from libjade
    https://github.com/formosa-crypto/libjade/releases/tag/release%2F2023.05-2
  * LMS and XMSS are disabled by default due to the security risks associated with their use in software.
    See the note on stateful hash-based signatures in CONFIGURE.md
  * Key encapsulation mechanisms:
  - Kyber: Added formally-verified portable C and AVX2 implementations
    of Kyber-512 and Kyber-768 from libjade.
  - ML-KEM: Updated portable C and AVX2 implementations of ML-KEM-512,
    ML-KEM-768, and ML-KEM-1024 to FIP 203 version.
  - Kyber: Patched ARM64 implementations of Kyber-512, Kyber-768, and
    Kyber-1024 to work with AddressSanitizer.
  * Digital signature schemes:
  - LMS/XMSS: Added implementations of stateful hash-based signature
    schemes: XMSS and LMS
  - MAYO: Added portable C and AVX2 implementations of MAYO signature
    scheme from NIST Additional Signatures Round 1.
  - CROSS: Added portable C and AVX2 implementations of CROSS signature

OBS-URL: https://build.opensuse.org/request/show/1205213
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/liboqs?expand=0&rev=25
2024-10-02 13:33:23 +00:00
5b97267871 Accepting request 1179954 from home:msmeissn:branches:devel:libraries:c_c++
- updated to 0.10.1:
  This release is a security release which fixes potential
  non-constant-time behaviour in ML-KEM and Kyber. (bsc#1226162
  CVE-2024-36405)
  It also includes a fix for incorrectly named macros in the ML-DSA
  implementation.

OBS-URL: https://build.opensuse.org/request/show/1179954
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/liboqs?expand=0&rev=23
2024-06-11 08:54:06 +00:00
1b6acc250e Accepting request 1160954 from home:msmeissn:branches:devel:libraries:c_c++
- updated to 0.10.0:
  Key encapsulation mechanisms:
  - BIKE: Updated portable C implementation to include constant-time fixes from upstream.
  - HQC: Updated to NIST Round 4 version.
  - ML-KEM: Added portable C and AVX2 implementations of Initial Public Draft (IPD) versions of ML-KEM-512, ML-KEM-768, and ML-KEM-1024.
  Digital signature schemes:
  - Falcon: Updated portable C, AVX2, and AArch64 implementations to support fixed-length (PADDED-format) signatures. Fixed the maximum length of variable-length signatures to comply with the NIST Round 3 specification.
  - ML-DSA: Added portable C and AVX2 implementations of Initial Public Draft (IPD) versions of ML-DSA-44, ML-DSA-65, and ML-DSA-87.
  Other changes:
  - Improved thread safety.
  - Removed support for the "NIST-KAT" DRBG.
  - Added extended KAT test programs.
- library major version changed from 4 to 5

OBS-URL: https://build.opensuse.org/request/show/1160954
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/liboqs?expand=0&rev=21
2024-03-23 13:45:52 +00:00
0bff41762a (bsc#1219614)
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/liboqs?expand=0&rev=19
2024-02-06 10:05:57 +00:00
b94c03b398 Accepting request 1141019 from home:msmeissn:branches:devel:libraries:c_c++
- updated to 0.9.2:
  - Fixed potential non-constant-time behaviour in Kyber based on 272125f6ac  
  - Kyber: C, AVX2, and aarch64 implementation updated

OBS-URL: https://build.opensuse.org/request/show/1141019
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/liboqs?expand=0&rev=17
2024-01-26 09:37:20 +00:00
5ba3c38e66 Accepting request 1134979 from home:msmeissn:branches:devel:libraries:c_c++
- updated to 0.9.1:
  - Key encapsulation mechanisms
    - Kyber: C, AVX2, and aarch64 implementation updated

OBS-URL: https://build.opensuse.org/request/show/1134979
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/liboqs?expand=0&rev=15
2023-12-24 10:11:56 +00:00
f19dc7e0b1 Accepting request 1117608 from home:msmeissn:branches:devel:libraries:c_c++
- updated to 0.9.0
  This release features an update to the Classic McEliece KEM, bringing it
  in line with NIST Round 4. It also adds or updates ARM implementations
  for Kyber,   Dilithium, and Falcon.
- major library version 4

OBS-URL: https://build.opensuse.org/request/show/1117608
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/liboqs?expand=0&rev=13
2023-10-13 08:39:50 +00:00
c0ce6dc916 Accepting request 1092832 from home:msmeissn:branches:devel:libraries:c_c++
- updated to 0.8.0
  This release features many algorithm updates, including removal
  of algorithms and variants no longer proceeding through NIST
  standardization and updates to newer versions.  See the detailed list
  of algorithm updates below.
  Key encapsulation mechanisms:
  - BIKE: updated to Round 4 version.
  - Kyber: 90s variants were removed.
  - NTRU Prime: All variants were removed, except for sntrup761.
  - Saber: removed.
  Digital signature schemes
  - Dilithium; AES variants were removed.
  - Falcon: updated to the 2023-02-07 version.
  - Picnic: removed.
  - Rainbow: removed.
  - SPHINCS+: updated to version 3.1; SPHINCS+-Haraka variants were removed; SPHINCS+-SHA256 and SPHINCS+-SHAKE variants were renamed
  Other changes
  - Add Cryptographic Bill of Materials (CBOM)
  - Improve building on ARM platforms
  - Improve performance when using OpenSSL 3 for symmetric cryptography
  - Increment shared object library version
  - New configure-time options for algorithm selections
  - pkgconfig file now available
- removed 0001-Add-support-for-powerpc64.-1160.patch: upstream
- 0002-Mark-stack-non-executable-when-compiling-with-clang-.patch: upstream
- liboqs is now liboqs.so.3.

OBS-URL: https://build.opensuse.org/request/show/1092832
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/liboqs?expand=0&rev=11
2023-06-13 11:10:59 +00:00
8f93c21a5e Accepting request 1075196 from home:msmeissn:branches:devel:libraries:c_c++
- liboqs-fix-prototypemismatch.patch: fixed uint8_t* vs unsigned char* mismatch
- disable -Werror for now.

OBS-URL: https://build.opensuse.org/request/show/1075196
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/liboqs?expand=0&rev=9
2023-03-29 10:56:36 +00:00
9f77f8fd35 Accepting request 1035901 from home:jengelh:branches:devel:libraries:c_c++
- Ship the README.md mentioned in the description.
- Compact descriptions.

OBS-URL: https://build.opensuse.org/request/show/1035901
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/liboqs?expand=0&rev=7
2022-11-16 08:34:44 +00:00
3e16a203f8 Accepting request 986335 from home:cgiboudeaux:branches:devel:libraries:c_c++
- Add upstream changes:
  * 0001-Add-support-for-powerpc64.-1160.patch
  * 0002-Mark-stack-non-executable-when-compiling-with-clang-.patch
- Spec cleanup

OBS-URL: https://build.opensuse.org/request/show/986335
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/liboqs?expand=0&rev=5
2022-07-02 09:24:27 +00:00
ef542681f3 Accepting request 948948 from home:bmwiedemann:branches:devel:libraries:c_c++
Stop building with march=native to get reproducible binaries (boo#1100677)

OBS-URL: https://build.opensuse.org/request/show/948948
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/liboqs?expand=0&rev=4
2022-01-25 08:44:06 +00:00
b3f3da14e0 Accepting request 943490 from home:jengelh:branches:devel:libraries:c_c++
- Trim redundancies from description. Remove old specfile
  constructs.

OBS-URL: https://build.opensuse.org/request/show/943490
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/liboqs?expand=0&rev=2
2022-01-03 09:10:21 +00:00
6671628dd0 Accepting request 943477 from home:msmeissn
add lib openquantum safe for factory usage

OBS-URL: https://build.opensuse.org/request/show/943477
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/liboqs?expand=0&rev=1
2022-01-02 15:41:40 +00:00