8
0

26 Commits

Author SHA256 Message Date
185a7113d4 Accepting request 1296317 from devel:libraries:c_c++
v2.0.1 update

OBS-URL: https://build.opensuse.org/request/show/1296317
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/intel-ipsec-mb?expand=0&rev=6
2025-07-30 09:45:12 +00:00
Tomasz Kantecki
40aa547531 v2.0.1 update
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/intel-ipsec-mb?expand=0&rev=26
2025-07-29 11:32:15 +00:00
1e09d856bb Accepting request 1238292 from devel:libraries:c_c++
- Update to v2.0:
  * YASM support removed.
  * CMake: CET support added, man page installation fix, FreeBSD support added.
  * Replaced Makefiles with CMake as default build system.
  * Updated style check to clang-format version 18.
  * AES-GCM: reduced binary size, small packet optimization, removed AVX512 type 1, improved AVX2 type 1, new AVX2 type 2 added.
  * DES, 3DES/TDES and DES-DOCSIS: binary size reduction, reduced stack frame size, re-used common transpose macros.
  * Fixed LFSR update in single buffer ZUC API implementation.
  * SM4: added SM4-CTR and SM4-GCM SSE code, added AVX2-SM4-NI code for SM4-GCM, SM4-CTR, SM4-CBC and SM4-ECB.
  * SHA2-512/384 & and HMAC-SHA2-512/384: added AVX2-SHA512-NI single-buffer and x2 multi-buffer code.
  * SM3 and SM3-HMAC: added SM3-NI implementations.
  * Added AES-CFB SSE type 1 and AVX512 type 2 implementations.
  * Removed AESNI emulation support.
  * Removed AVX Type 2 implementation.
  * Removed AES-CMAC, AES-CCM, AES-CBC and AES-ECB x4 and by4 implementations from SSE type 1.
  * Removed AVX type 1 implementations: SHA/MD5, CHACHA20-POLY1305, SNOW3G and KASUMI.
  * Removed AVX architecture type.
  * Changed SHA1 on AVX2 type 4 architecture to use multi-buffer implementation.
  * Added check for XSAVE and OSXSAVE CPUID features for any AVX architecture type.
  * Extended cipher burst API support with: AES-ECB, AES-CFB.
  * Extended hash burst API support with: SHA1, SHA2-384/512, AES-CMAC.
  * Added AEAD burst API with AES-CCM support.
  * Added new API to retrieve optimal minimum burst size for hash, cipher and AEAD API's.
- Fixed issues:
  * Version 1.5 fails to build on FreeBSD 13.2 (amd64) using CMake (issue #136)
  * Make CMake builds behave more "normal" (issue #141)
  * printf in lib code prevents using ipsec-mb in SGX environment (issue #142)
  * EEA3(ZUC) 1 Buffer implementation LFSR update can result in invalid LFSR state, causing incorrect keystream generation (issue #144)
  * Possible regression: init_mb_mgr_avx() corrupts state on Windows (issue #147)
  * Crash seen on VMware with dpdk crypto using ipsec-mb library (issue #153)

OBS-URL: https://build.opensuse.org/request/show/1238292
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/intel-ipsec-mb?expand=0&rev=5
2025-01-16 19:23:55 +00:00
7910c2558d Accepting request 1127317 from devel:libraries:c_c++
- Update to v1.5:
  * CMake MinGW support added.
  * QUIC CHACHA20-POLY1305 and CHACHA20 HP API added.
  * AVX2-VAES AES-CTR and AES-GCM implementations added.
  * SSE SM4-ECB and SM4-CBC implementations added.
  * x86-64 SM3 and SM3-HMAC implementations added.
  * Self-Test callback functionality added with message corrupt option.
  * Implemented a workaround for false load-block condition in SSE AES-CBC implementations.
  * Optimized CRC32 algorithms, AES-GCM AVX2 and AES-GCM AVX512 implementations.
  * Updated ACVP app (imb-acvp) to support libacvp v2.0+.
  * Test vector format standardized for various algorithms (CBC/CFB/CTR/ECB/DES/GCM/CCM/CHACHA20-POLY/SNOW3G/ZUC/KASUMI/SNOW-V).
  * Extended xvalid app to test burst API.
  * Burst API is used by default in imb-perf tool.
- Fixed issues:
  * CMake files ignore LIB_INSTALL_DIR and incorrectly put the shared libraries in /usr/lib (issue #125)
  * The CMakefile does not install the headers (normal Makefile does) (issue #126)
  * File ./test/acvp-app/utils.o is not removed after "make clean" (issue #130)
  * nasm can not find .inc .asm files when building with CMake (issue #131)
- More details at https://github.com/intel/intel-ipsec-mb/releases/tag/v1.5

OBS-URL: https://build.opensuse.org/request/show/1127317
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/intel-ipsec-mb?expand=0&rev=4
2023-11-17 19:51:06 +00:00
Tomasz Kantecki
7500f2513b v1.5 update
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/intel-ipsec-mb?expand=0&rev=22
2023-11-17 14:01:08 +00:00
Tomasz Kantecki
aedad3bfd1 v1.5 update
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/intel-ipsec-mb?expand=0&rev=21
2023-11-17 13:28:04 +00:00
50796b56e2 Accepting request 1103128 from devel:libraries:c_c++
- Update to v1.4:
  * POLY1305 AVX2 with AVX-IFMA instructions added.
  * Optimized GHASH component in AVX512 VAES (type2) AES-GCM implementation.
  * Implemented a workaround for false load-block condition in SSE and AVX2 AES-GCM implementations.
  * Removed AVX AES-GCM implementation, its API symbols map to the SSE implementation.
  * QUIC header protection API added.
  * QUIC AES-GCM-128/256 AEAD API added.
  * Removed v0.53 (and older) compatibility symbol mapping (NO_COMPAT_IMB_API_053 not defined).
  * ZUC AVX2-GFNI implementation added.
  * SHA-NI instructions enabled to use in SHA1/224/256 direct API
  * New API (imb_set_session) added to be used with burst API, helping speeding up the crypto scheduling.
  * New API added to calculate IPAD/OPAD for SHAx-HMAC.
  * New direct API added to calculate DES-CFB and AES-CFB-256 on a single block.
- Fixed issues:
  * MB_MGR corruption at initialization
  * Performance scaling
- More details at https://github.com/intel/intel-ipsec-mb/releases/tag/v1.4

OBS-URL: https://build.opensuse.org/request/show/1103128
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/intel-ipsec-mb?expand=0&rev=3
2023-08-09 15:26:07 +00:00
Tomasz Kantecki
af200c1227 * POLY1305 AVX2 with AVX-IFMA instructions added.
* Optimized GHASH component in AVX512 VAES (type2) AES-GCM implementation.
  * Implemented a workaround for false load-block condition in SSE and AVX2 AES-GCM implementations.
  * Removed AVX AES-GCM implementation, its API symbols map to the SSE implementation.
  * QUIC header protection API added.
  * QUIC AES-GCM-128/256 AEAD API added.
  * Removed v0.53 (and older) compatibility symbol mapping (NO_COMPAT_IMB_API_053 not defined).
  * ZUC AVX2-GFNI implementation added.
  * SHA-NI instructions enabled to use in SHA1/224/256 direct API
  * New API (imb_set_session) added to be used with burst API, helping speeding up the crypto scheduling.
  * New API added to calculate IPAD/OPAD for SHAx-HMAC.
  * New direct API added to calculate DES-CFB and AES-CFB-256 on a single block.
- Fixed issues:
  * MB_MGR corruption at initialization
  * Performance scaling

OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/intel-ipsec-mb?expand=0&rev=19
2023-08-09 11:12:30 +00:00
Tomasz Kantecki
0d6bf371fa - Update to v1.4:
+ POLY1305 AVX2 with AVX-IFMA instructions added.
  + Optimized GHASH component in AVX512 VAES (type2) AES-GCM implementation.
  + Implemented a workaround for false load-block condition in SSE and AVX2 AES-GCM implementations.
  + Removed AVX AES-GCM implementation, its API symbols map to the SSE implementation.
  + QUIC header protection API added.
  + QUIC AES-GCM-128/256 AEAD API added.
  + Removed v0.53 (and older) compatibility symbol mapping (NO_COMPAT_IMB_API_053 not defined).
  + ZUC AVX2-GFNI implementation added.
  + SHA-NI instructions enabled to use in SHA1/224/256 direct API
  + New API (imb_set_session) added to be used with burst API, helping speeding up the crypto scheduling.
  + New API added to calculate IPAD/OPAD for SHAx-HMAC.
  + New direct API added to calculate DES-CFB and AES-CFB-256 on a single block.
  + Fixed issues:
  ++ MB_MGR corruption at initialization
  ++ performance scaling
- More details at https://github.com/intel/intel-ipsec-mb/releases/tag/v1.4

OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/intel-ipsec-mb?expand=0&rev=18
2023-08-09 10:39:40 +00:00
Tomasz Kantecki
7463b87d39 - Update for release package v1.4
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/intel-ipsec-mb?expand=0&rev=17
2023-08-09 08:37:35 +00:00
Tomasz Kantecki
e62bfd32b9 - Update for release package v.14
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/intel-ipsec-mb?expand=0&rev=16
2023-08-08 23:25:06 +00:00
Tomasz Kantecki
01df09a62c - Update for release package v1.4
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/intel-ipsec-mb?expand=0&rev=15
2023-08-08 23:09:41 +00:00
05318cf228 Accepting request 1008205 from devel:libraries:c_c++
OBS-URL: https://build.opensuse.org/request/show/1008205
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/intel-ipsec-mb?expand=0&rev=2
2022-10-06 05:42:27 +00:00
Stephen Mcintyre
057e566252 Accepting request 1008202 from home:smcintyr:branches:devel:libraries:c_c++
Update for release package v1.3

OBS-URL: https://build.opensuse.org/request/show/1008202
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/intel-ipsec-mb?expand=0&rev=13
2022-10-05 13:00:42 +00:00
ad45d391bb Accepting request 966844 from devel:libraries:c_c++
OBS-URL: https://build.opensuse.org/request/show/966844
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/intel-ipsec-mb?expand=0&rev=1
2022-04-04 17:26:59 +00:00
Stephen Mcintyre
1b82c25c74 OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/intel-ipsec-mb?expand=0&rev=11 2022-04-04 14:20:43 +00:00
Stephen Mcintyre
38f80a10d3 Accepting request 966272 from home:jengelh:branches:devel:libraries:c_c++
- devel package should just be devel, not 1-devel
- License: field specifies software license, not spec license
- Move documentation out of libintel-ipsec-mb1
  (conflicts with a future libintel-ipsec-mb2).

=> reestablishes factory submitworthiness

OBS-URL: https://build.opensuse.org/request/show/966272
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/intel-ipsec-mb?expand=0&rev=10
2022-03-31 19:31:01 +00:00
Stephen Mcintyre
4177ace953 OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/intel-ipsec-mb?expand=0&rev=9 2022-03-31 17:07:32 +00:00
Stephen Mcintyre
d6d93ebe2d OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/intel-ipsec-mb?expand=0&rev=8 2022-03-30 14:53:04 +00:00
Stephen Mcintyre
7cc5ad1b77 OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/intel-ipsec-mb?expand=0&rev=7 2022-03-30 14:50:34 +00:00
Stephen Mcintyre
24f546ecbb OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/intel-ipsec-mb?expand=0&rev=6 2022-03-30 14:46:39 +00:00
Stephen Mcintyre
415d30a13b OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/intel-ipsec-mb?expand=0&rev=5 2022-03-30 14:45:39 +00:00
Stephen Mcintyre
dc606e096a OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/intel-ipsec-mb?expand=0&rev=4 2022-03-30 14:44:42 +00:00
Stephen Mcintyre
58663d3d3d OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/intel-ipsec-mb?expand=0&rev=3 2022-03-30 13:39:30 +00:00
Stephen Mcintyre
327fa6ef9f Accepting request 964714 from home:jengelh:branches:devel:libraries:c_c++
fulfill the suse guidelines
avoid indirections like name (%name -> %githubname -> something), just use %name directly
release: field is automatically replaced anyway, so its contents should not suggest there's anything to be put here like dist
osc vc changelog
shlib naming policy

OBS-URL: https://build.opensuse.org/request/show/964714
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/intel-ipsec-mb?expand=0&rev=2
2022-03-24 20:18:16 +00:00
8d761b5cec Accepting request 964704 from home:smcintyr
Submitting a package request for intel-ipsec-mb to make available for SLE-15.4 customers. intel-ipsec-mb is a software crypto acceleration library that primarily targets packet processing applications

OBS-URL: https://build.opensuse.org/request/show/964704
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/intel-ipsec-mb?expand=0&rev=1
2022-03-24 16:25:18 +00:00
5 changed files with 23 additions and 24 deletions

View File

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

View File

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

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:20860295c6c765bf55cbd739fff71996de32dbb5bb527da93f49233ce348f8cf
size 2559162

View File

@@ -1,3 +1,10 @@
-------------------------------------------------------------------
Tue Jul 29 10:41:22 UTC 2025 - Tomasz Kantecki <tomasz.kantecki@intel.com>
- Update to v2.0.1:
* Fix for issue #169 where DES-CBC and 3DES-CBC may produce wrong output.
* SPEC file changed to use CMake and CTest vs GNU Make. README, ReleaseNotes and man page files moved to the standard package.
-------------------------------------------------------------------
Thu Jan 16 15:35:49 UTC 2025 - Tomasz Kantecki <tomasz.kantecki@intel.com>

View File

@@ -19,10 +19,10 @@
%global major 2
%global minor 0
%global patch 0
%global patch 1
# GitHub properties
%global githubver %{major}.%{minor}
%global githubver %{major}.%{minor}.%{patch}
%global githubfull %{name}-%{githubver}
%global rpm_name libIPSec_MB
@@ -30,14 +30,15 @@
Name: intel-ipsec-mb
Summary: IPSec cryptography library optimized for Intel Architecture
Release: 0
Version: %{major}.%{minor}.%{patch}
Version: 2.0.1
License: BSD-3-Clause
Group: Development/Libraries/C and C++
URL: https://github.com/intel/%{name}
Source0: https://github.com/intel/%{name}/archive/v%{githubver}.tar.gz#/%{githubfull}.tar.gz
ExclusiveArch: x86_64
BuildRequires: cmake
BuildRequires: gcc >= 4.8.3
BuildRequires: make
BuildRequires: gcc-c++
BuildRequires: nasm >= 2.14
%description
@@ -67,30 +68,24 @@ and primarily targeted at packet processing applications.
%autosetup -n %{name}-%{githubver}
%build
cd lib
%make_build EXTRA_CFLAGS='%{optflags}'
%cmake
%cmake_build
%install
install -d %{buildroot}/%{_includedir}
install -m 0644 %{_builddir}/%{githubfull}/lib/intel-ipsec-mb.h %{buildroot}/%{_includedir}
install -d %{buildroot}/%{_libdir}
install -s -m 0755 %{_builddir}/%{githubfull}/lib/libIPSec_MB.so.%{version} %{buildroot}/%{_libdir}
install -d %{buildroot}/%{_mandir}/man7
install -m 0444 lib/libipsec-mb.7 %{buildroot}/%{_mandir}/man7
install -m 0444 lib/libipsec-mb-dev.7 %{buildroot}/%{_mandir}/man7
cd %{buildroot}/%{_libdir}
ln -s libIPSec_MB.so.%{version} libIPSec_MB.so.%{major}
ln -s libIPSec_MB.so.%{version} libIPSec_MB.so
%cmake_install
%check
%ctest
%files -n %{rpm_name}%{major}
%license LICENSE
%doc README ReleaseNotes.txt
%{_libdir}/libIPSec_MB.so.%{version}
%{_libdir}/libIPSec_MB.so.%{major}
%{_mandir}/man7/libipsec-mb.7.gz
%files devel
%doc README ReleaseNotes.txt
%{_includedir}/intel-ipsec-mb.h
%{_mandir}/man7/libipsec-mb.7.gz
%{_mandir}/man7/libipsec-mb-dev.7.gz
%{_libdir}/libIPSec_MB.so