Update to 0.11.0 version
Resolves: RHEL-56152
This commit is contained in:
parent
165ca43135
commit
b8dc191d30
1
.gitignore
vendored
1
.gitignore
vendored
@ -2,3 +2,4 @@
|
||||
/0.9.0.tar.gz
|
||||
/0.9.2.tar.gz
|
||||
/0.10.1.tar.gz
|
||||
/0.11.0.tar.gz
|
||||
|
File diff suppressed because it is too large
Load Diff
43
liboqs-0.11.0-acvp_patch.patch
Normal file
43
liboqs-0.11.0-acvp_patch.patch
Normal file
@ -0,0 +1,43 @@
|
||||
diff --git a/tests/test_acvp_vectors.py b/tests/test_acvp_vectors.py
|
||||
index 4eee4b810..ddd64003c 100644
|
||||
--- a/tests/test_acvp_vectors.py
|
||||
+++ b/tests/test_acvp_vectors.py
|
||||
@@ -36,9 +36,10 @@ def test_acvp_vec_kem_keygen(kem_name):
|
||||
z = testCase["z"]
|
||||
pk = testCase["ek"]
|
||||
sk = testCase["dk"]
|
||||
-
|
||||
+
|
||||
+ build_dir = helpers.get_current_build_dir_name()
|
||||
helpers.run_subprocess(
|
||||
- ['build/tests/vectors_kem', kem_name, "keyGen", d+z, pk, sk]
|
||||
+ [f'{build_dir}/tests/vectors_kem', kem_name, "keyGen", d+z, pk, sk]
|
||||
)
|
||||
|
||||
assert(variantFound == True)
|
||||
@@ -66,9 +67,10 @@ def test_acvp_vec_kem_encdec_aft(kem_name):
|
||||
#expected results
|
||||
k = testCase["k"]
|
||||
c = testCase["c"]
|
||||
-
|
||||
+
|
||||
+ build_dir = helpers.get_current_build_dir_name()
|
||||
helpers.run_subprocess(
|
||||
- ['build/tests/vectors_kem', kem_name, "encDecAFT", m, pk, k, c]
|
||||
+ [f'{build_dir}/tests/vectors_kem', kem_name, "encDecAFT", m, pk, k, c]
|
||||
)
|
||||
|
||||
assert(variantFound == True)
|
||||
@@ -94,9 +96,10 @@ def test_acvp_vec_kem_encdec_val(kem_name):
|
||||
c = testCase["c"]
|
||||
#expected results
|
||||
k = testCase["k"]
|
||||
-
|
||||
+
|
||||
+ build_dir = helpers.get_current_build_dir_name()
|
||||
helpers.run_subprocess(
|
||||
- ['build/tests/vectors_kem', kem_name, "encDecVAL", sk, k, c]
|
||||
+ [f'{build_dir}/tests/vectors_kem', kem_name, "encDecVAL", sk, k, c]
|
||||
)
|
||||
|
||||
assert(variantFound == True)
|
12
liboqs.spec
12
liboqs.spec
@ -1,7 +1,7 @@
|
||||
%global oqs_version 0.10.1
|
||||
%global oqs_version 0.11.0
|
||||
Name: liboqs
|
||||
Version: %{oqs_version}
|
||||
Release: 2%{?dist}
|
||||
Release: 1%{?dist}
|
||||
Summary: liboqs is an open source C library for quantum-safe cryptographic algorithms.
|
||||
|
||||
#liboqs uses MIT license by itself but includes several files licensed under different terms.
|
||||
@ -11,7 +11,7 @@ Summary: liboqs is an open source C library for quantum-safe cryptographic al
|
||||
License: MIT AND Apache-2.0 AND BSD-3-Clause AND (BSD-3-Clause OR GPL-1.0-or-later) AND CC0-1.0 AND Unlicense
|
||||
URL: https://github.com/open-quantum-safe/liboqs.git
|
||||
Source: https://github.com/open-quantum-safe/liboqs/archive/refs/tags/%{oqs_version}.tar.gz
|
||||
Patch1: liboqs-0.10.0-dlopen-openssl.patch
|
||||
Patch1: liboqs-0.11.0-acvp_patch.patch
|
||||
|
||||
BuildRequires: ninja-build
|
||||
BuildRequires: cmake
|
||||
@ -81,7 +81,7 @@ done
|
||||
%files
|
||||
%license LICENSE.txt
|
||||
%{_libdir}/liboqs.so.%{oqs_version}
|
||||
%{_libdir}/liboqs.so.5
|
||||
%{_libdir}/liboqs.so.6
|
||||
|
||||
%files devel
|
||||
%{_libdir}/liboqs.so
|
||||
@ -98,6 +98,10 @@ done
|
||||
#%doc %%{_datadir}/doc/oqs/xml/*
|
||||
|
||||
%changelog
|
||||
* Mon Sep 30 2024 Dmitry Belyavskiy <dbelyavs@redhat.com> - 0.11.0-1
|
||||
- Update to 0.11.0 version
|
||||
Resolves: RHEL-56152
|
||||
|
||||
* Mon Jul 08 2024 Dmitry Belyavskiy - 0.10.1-1
|
||||
- Rebase to 0.10.1 version (CVE-2024-36405)
|
||||
Resolves: RHEL-40699
|
||||
|
2
sources
2
sources
@ -1 +1 @@
|
||||
SHA512 (0.10.1.tar.gz) = 7049c084d9bef2064ff5ad4964bf5071b2fe0553c2dfe7522b32b3a441fcdd46f718adeca63a163e95d5f86c3f092b02ffa3190822861f566b498654711c722d
|
||||
SHA512 (0.11.0.tar.gz) = 10dc002f148895cc304d6b0db14734d9149aeae43308caee4fe5c39ee18fbd7297c65f5c67df0a39b84534f676f209bbcda591b353128b4bab152cb69177c6ae
|
||||
|
Loading…
Reference in New Issue
Block a user