Sync from SUSE:ALP:Source:Standard:1.0 libzpc revision 66b88d23c6b9889b11c6e36b04d324dc

This commit is contained in:
Adrian Schröter 2024-01-19 16:44:54 +01:00
commit 0d8f386136
4 changed files with 167 additions and 0 deletions

23
.gitattributes vendored Normal file
View File

@ -0,0 +1,23 @@
## Default LFS
*.7z filter=lfs diff=lfs merge=lfs -text
*.bsp filter=lfs diff=lfs merge=lfs -text
*.bz2 filter=lfs diff=lfs merge=lfs -text
*.gem filter=lfs diff=lfs merge=lfs -text
*.gz filter=lfs diff=lfs merge=lfs -text
*.jar filter=lfs diff=lfs merge=lfs -text
*.lz filter=lfs diff=lfs merge=lfs -text
*.lzma filter=lfs diff=lfs merge=lfs -text
*.obscpio filter=lfs diff=lfs merge=lfs -text
*.oxt filter=lfs diff=lfs merge=lfs -text
*.pdf filter=lfs diff=lfs merge=lfs -text
*.png filter=lfs diff=lfs merge=lfs -text
*.rpm filter=lfs diff=lfs merge=lfs -text
*.tbz filter=lfs diff=lfs merge=lfs -text
*.tbz2 filter=lfs diff=lfs merge=lfs -text
*.tgz filter=lfs diff=lfs merge=lfs -text
*.ttf filter=lfs diff=lfs merge=lfs -text
*.txz filter=lfs diff=lfs merge=lfs -text
*.whl filter=lfs diff=lfs merge=lfs -text
*.xz filter=lfs diff=lfs merge=lfs -text
*.zip filter=lfs diff=lfs merge=lfs -text
*.zst filter=lfs diff=lfs merge=lfs -text

BIN
libzpc-1.2.0.tar.gz (Stored with Git LFS) Normal file

Binary file not shown.

55
libzpc.changes Normal file
View File

@ -0,0 +1,55 @@
-------------------------------------------------------------------
Mon Jan 15 07:16:57 UTC 2024 - Nikolay Gueorguiev <nikolay.gueorguiev@suse.com>
- Upgrade libzpc to version 1.2.0 (jsc#PED-3335)
* Support for get/set intermediate iv for CBC and XTS
* Support for internal iv for GCM
* Exploit KBLOB2PROTK3 ioctl for clear AES and EC keys
* Fix AES EP11 version 6 key support for generate and import_clear
-------------------------------------------------------------------
Wed Sep 20 06:46:33 UTC 2023 - Nikolay Gueorguiev <nikolay.gueorguiev@suse.com>
- Version 1.1.1 (jsc#PED-5214)
* Exploit PKEY_KBLOB2PROTK2 for AES EP11 version 6 keys
-------------------------------------------------------------------
Wed Feb 8 16:19:14 UTC 2023 - Mark Post <mpost@suse.com>
- Upgrade to version 1.1.0 (jsc#PED-582)
* Implements an ECC-KEY API : `zpc/ecc_key.h`.
* Implements an ECDSA-CTX API : `zpc/ecdsa_ctx.h`.
-------------------------------------------------------------------
Tue Sep 13 17:46:49 UTC 2022 - Mark Post <mpost@suse.com>
- Upgrade to version 1.0.1 (jsc#PED-582)
* Updated spec file for rpm build
- Removed obsolete libzpc-sles15p4-mark-stack-nonexec.patch
- Updated spec file to use %{name} and %{version} variables in
more places.
-------------------------------------------------------------------
Wed Apr 27 06:56:08 UTC 2022 - Marcus Meissner <meissner@suse.com>
- use source url
-------------------------------------------------------------------
Tue Nov 2 14:42:14 UTC 2021 - Marcus Meissner <meissner@suse.com>
- libzpc-sles15p4-mark-stack-nonexec.patch: note the asssembler as
non execstack
- libzpc-rpmlintrc removed
-------------------------------------------------------------------
Mon Nov 1 15:46:47 UTC 2021 - Mark Post <mpost@suse.com>
- Cleaned up the wording in the description. Updated the
summaries to actually reflect the contents of the packages.
- Changed the %setup macro to use $autosetup instead.
- Added a BuildRequires for texlive-bibtex-bin
-------------------------------------------------------------------
Tue Oct 19 21:49:30 UTC 2021 - Mark Post <mpost@suse.com>
- Initial version 1.0.0 (jsc#SLE-18746)

86
libzpc.spec Normal file
View File

@ -0,0 +1,86 @@
#
# spec file for package libzpc
#
# Copyright (c) 2024 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
Name: libzpc
Version: 1.2.0
Release: 0
Summary: IBM Z Protected-key Crypto library
License: Apache-2.0
Group: Productivity/Security
URL: https://github.com/opencryptoki/libzpc
Source: https://github.com/opencryptoki/libzpc/archive/refs/tags/v%{version}.tar.gz#/libzpc-%{version}.tar.gz
BuildRequires: cmake >= 3.10
BuildRequires: doxygen
BuildRequires: gcc-c++
BuildRequires: libjson-c-devel
BuildRequires: texlive-bibtex-bin
ExclusiveArch: s390x
%description
The IBM Z Protected-key Crypto library libzpc is a library targeting
the 64-bit Linux on IBM Z (s390x) platform. It provides interfaces for
cryptographic primitives. The underlying implementations make use of
z/Architecture's performance-boosting hardware support and its
protected-key feature which ensures that key material is never present
in main memory at any time.
%package -n libzpc1
Summary: IBM Z Protected-key Crypto library
Group: System/Libraries
%description -n libzpc1
This package contains the shared library to work with the
IBM protected-key cryptography hardware
%package devel
Summary: Header files for the IBM Z Protected-key Crypto library
Group: Productivity/Security
Requires: libzpc1 = %{version}-%{release}
%description devel
This package provides the header files and symbolic link to the
shared library for the libzpc RPM.
%prep
%autosetup -p1
%build
%cmake -DBUILD_DOC=ON
%make_build
%install
cd build
%make_install
%post -n libzpc1 -p /sbin/ldconfig
%postun -n libzpc1 -p /sbin/ldconfig
%files -n libzpc1
%doc README.md
%license LICENSE
%{_libdir}/%{name}.so.1
%{_libdir}/%{name}.so.%{version}
%files devel
%dir %{_includedir}/zpc
%{_includedir}/zpc/*.h
%{_libdir}/%{name}.so
%{_libdir}/pkgconfig/%{name}.pc
%changelog