From ea066e7fe61b48176a5414ce604add454d7db712c950300a8fcb6daecf770f76 Mon Sep 17 00:00:00 2001 From: Marcus Meissner Date: Wed, 3 Aug 2022 16:01:03 +0000 Subject: [PATCH] Accepting request 992611 from home:msmeissn:branches:devel:libraries:c_c++ - updated to 3.4.0 * enhancement: add API call jent_set_fips_failure_callback as requested by Daniel Ojalvo * fix: Change the SHA-3 integration: The entropy pool is now a SHA-3 state. It is filled with the time delta containing entropy and auxiliary data that does not contain entropy using a SHA update operation. The auxiliary data is calculated by a SHA-3 hashing of some varying state data. The time delta that contains entropy is measured about the SHA-3 hasing of the auxiliary data. This satisfies FIPS 140-3 IG D.K resolutions 4, 6, and 8. * enhancement: add CMake support by Andrew Hopkins - updated to 3.3.1 * fix: bug fix in initialization logic by Vladis Dronov * fix: use __asm__ instead of asm to suit the C11 standard - added a -devel-static package to be able to link it static. OBS-URL: https://build.opensuse.org/request/show/992611 OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/jitterentropy?expand=0&rev=7 --- jitterentropy.changes | 15 +++++++++++++++ jitterentropy.spec | 22 ++++++++++++++++++---- v3.3.0.tar.gz | 3 --- v3.4.0.tar.gz | 3 +++ 4 files changed, 36 insertions(+), 7 deletions(-) delete mode 100644 v3.3.0.tar.gz create mode 100644 v3.4.0.tar.gz diff --git a/jitterentropy.changes b/jitterentropy.changes index bb8adcf..3147f39 100644 --- a/jitterentropy.changes +++ b/jitterentropy.changes @@ -1,3 +1,18 @@ +------------------------------------------------------------------- +Wed Aug 3 14:19:23 UTC 2022 - Marcus Meissner + +- updated to 3.4.0 + * enhancement: add API call jent_set_fips_failure_callback as requested by Daniel Ojalvo + * fix: Change the SHA-3 integration: The entropy pool is now a SHA-3 state. +It is filled with the time delta containing entropy and auxiliary data that does not contain entropy using a SHA update operation. The auxiliary data is calculated by a SHA-3 hashing of some varying state data. The time delta that contains entropy is measured about the SHA-3 hasing of the auxiliary data. This satisfies FIPS 140-3 IG D.K resolutions 4, 6, and 8. + * enhancement: add CMake support by Andrew Hopkins + +- updated to 3.3.1 + * fix: bug fix in initialization logic by Vladis Dronov + * fix: use __asm__ instead of asm to suit the C11 standard + +- added a -devel-static package to be able to link it static. + ------------------------------------------------------------------- Tue Sep 28 20:19:44 UTC 2021 - Jan Engelhardt diff --git a/jitterentropy.spec b/jitterentropy.spec index fdfa4dc..3b0a9bc 100644 --- a/jitterentropy.spec +++ b/jitterentropy.spec @@ -1,7 +1,7 @@ # # spec file for package jitterentropy # -# Copyright (c) 2021 SUSE LLC +# Copyright (c) 2022 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -20,7 +20,7 @@ Name: jitterentropy Summary: A userspace library for jitter entropy generation License: BSD-3-Clause OR GPL-2.0-or-later Group: Development/Tools/Other -Version: 3.3.0 +Version: 3.4.0 Release: 0 URL: https://github.com/smuellerDD/jitterentropy-library Source0: https://github.com/smuellerDD/jitterentropy-library/archive/refs/tags/v%{version}.tar.gz @@ -55,6 +55,16 @@ timing jitter. It depends on a high-resolution time stamp. This package contains the development header and library. +%package devel-static +Summary: Jitter entropy generator static library +Group: Development/Tools/Other + +%description devel-static +The Jitter RNG provides a noise source using the CPU execution +timing jitter. It depends on a high-resolution time stamp. + +This package contains the static library. + %prep %autosetup -n jitterentropy-library-%version @@ -62,7 +72,7 @@ This package contains the development header and library. %make_build PREFIX="%_prefix" LIBDIR="%_lib" %install -%make_install PREFIX="%_prefix" LIBDIR="%_lib" +%make_install PREFIX="%_prefix" LIBDIR="%_lib" all install-static %post -n libjitterentropy3 -p /sbin/ldconfig %postun -n libjitterentropy3 -p /sbin/ldconfig @@ -74,9 +84,13 @@ This package contains the development header and library. %_libdir/libjitterentropy.so %_mandir/man3/jitterentropy.3* +%files devel-static +%license LICENSE.gplv2 LICENSE LICENSE.bsd +%_libdir/libjitterentropy.a + %files -n libjitterentropy3 %license LICENSE.gplv2 LICENSE LICENSE.bsd %_libdir/libjitterentropy.so.3 -%_libdir/libjitterentropy.so.3.3.0 +%_libdir/libjitterentropy.so.3.4.0 %changelog diff --git a/v3.3.0.tar.gz b/v3.3.0.tar.gz deleted file mode 100644 index 672a54f..0000000 --- a/v3.3.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:4868c169444e548b55f0149f3d688e53c02d1494f035e88b966e8979b58a2cc6 -size 81625 diff --git a/v3.4.0.tar.gz b/v3.4.0.tar.gz new file mode 100644 index 0000000..3c31bfd --- /dev/null +++ b/v3.4.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:836c3c4b8255757f5ae8c1d4ce462008317974852cb265c1a308d3e54e801a0d +size 84744