17
0

4 Commits

7 changed files with 14 additions and 70 deletions

View File

@@ -1,18 +0,0 @@
<services>
<service name="tar_scm" mode="disabled">
<param name="url">https://gitlab.linphone.org/BC/public/postquantumcryptoengine</param>
<param name="exclude">.git</param>
<param name="versionformat">5.4.0~git.%cd</param>
<param name="revision">master</param>
<param name="changesgenerate">enable</param>
<param name="scm">git</param>
<param name="filename">postquantumcryptoengine</param>
</service>
<service mode="disabled" name="recompress">
<param name="file">*.tar</param>
<param name="compression">xz</param>
</service>
<service mode="disabled" name="set_version">
<param name="basename">postquantumcryptoengine</param>
</service>
</services>

View File

@@ -1,4 +0,0 @@
<servicedata>
<service name="tar_scm">
<param name="url">https://gitlab.linphone.org/BC/public/postquantumcryptoengine</param>
<param name="changesrevision">c746005efe2de72036c7ea70b2d74db42fe2ad1d</param></service></servicedata>

View File

@@ -1,38 +0,0 @@
--- postquantumcryptoengine-5.4.0~git.20240108/include/postquantumcryptoengine/crypto.hh.orig 2024-03-27 09:04:07.318607489 +0100
+++ postquantumcryptoengine-5.4.0~git.20240108/include/postquantumcryptoengine/crypto.hh 2024-03-27 09:06:09.149244798 +0100
@@ -172,9 +172,9 @@
class HQC128 : public KEM {
public:
HQC128() = default;
- constexpr static size_t skSize = 2289;
+ constexpr static size_t skSize = 2305;
constexpr static size_t pkSize = 2249;
- constexpr static size_t ctSize = 4481;
+ constexpr static size_t ctSize = 4433;
constexpr static size_t ssSize = 64;
size_t get_skSize() const noexcept override;
@@ -194,9 +194,9 @@
class HQC192 : public KEM {
public:
HQC192() = default;
- constexpr static size_t skSize = 4562;
+ constexpr static size_t skSize = 4586;
constexpr static size_t pkSize = 4522;
- constexpr static size_t ctSize = 9026;
+ constexpr static size_t ctSize = 8978;
constexpr static size_t ssSize = 64;
size_t get_skSize() const noexcept override;
@@ -216,9 +216,9 @@
class HQC256 : public KEM {
public:
HQC256() = default;
- constexpr static size_t skSize = 7285;
+ constexpr static size_t skSize = 7317;
constexpr static size_t pkSize = 7245;
- constexpr static size_t ctSize = 14469;
+ constexpr static size_t ctSize = 14421;
constexpr static size_t ssSize = 64;
size_t get_skSize() const noexcept override;

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:43410a0198c0ef1bf4b0f6d8e3fe3b737311538ffb5733aa8bec0ceef0ae5ad2
size 646117

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:520b5e3d8b3d02550d0ce445a53902140effcbe56d58aeebf5abda7906b159e5
size 624044

View File

@@ -1,3 +1,10 @@
-------------------------------------------------------------------
Mon Feb 17 07:49:51 UTC 2025 - info@paolostivanin.com
- Update to version 5.3.101 (no changelog).
* switch to upstream tags instead of latest master
- Drop upstreamed fix-build-libosq010.patch
-------------------------------------------------------------------
Wed Mar 27 08:07:29 UTC 2024 - Paolo Stivanin <info@paolostivanin.com>

View File

@@ -1,7 +1,7 @@
#
# spec file for package postquantumcryptoengine
#
# Copyright (c) 2024 SUSE LLC
# Copyright (c) 2025 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -19,16 +19,13 @@
%define sover 1
Name: postquantumcryptoengine
Version: 5.4.0~git.20240108
Version: 5.3.101
Release: 0
Summary: Post-quantum cryptopgraphy extension for bctoolbox
License: GPL-3.0-or-later
URL: https://gitlab.linphone.org/BC/public/postquantumcryptoengine
Source: %{name}-%{version}.tar.xz
%if 0%{?suse_version} >= 1600
Patch0: fix-build-libosq010.patch
%endif
BuildRequires: bctoolbox-devel >= 5.3.7
Source: https://gitlab.linphone.org/BC/public/postquantumcryptoengine/-/archive/%{version}/%{name}-%{version}.tar.bz2
BuildRequires: bctoolbox-devel >= %{version}
BuildRequires: cmake >= 3.22
BuildRequires: gcc-c++
BuildRequires: libopenssl-devel