diff mbox series

[1/4] libjitterentropy: upgrade 3.6.3 -> 3.7.0

Message ID 20261002071557.74249-2-jaipaul.cheernam@est.tech
State Changes Requested
Headers show
Series Upgrades on 02-10-2026 | expand

Commit Message

Jaipaul Cheernam Oct. 2, 2026, 7:15 a.m. UTC
Source: CHANGES.md

3.7.0
 * Add secure memory implementation for Linux and {Net,Open,Free}BSD, MacOS and Windows
 * Update supported CMake version to 3.10
 * doc: use Doxygen-style comments
 * NTG.1 compliance: Modify startup such that the memory access and SHA-3 loop are treated as independent noise sources which are sampled to collect at least 240 bits each before first block of random numbers is released
 * Remove all code when JENT_CONF_DISABLE_LOOP_SHUFFLE is unset. This code is already discouraged for a long time. Now it is taken out for good.
 * If cache size cannot be detected from base system (e.g. virtualization), use the requested memory size.
 * Change the stuck test to always calculate the absolute values of the 2nd and 3rd discrete derivation of time.
 * Replace SHA3-256 output generation with XDRBG-256
 * Prune the jitterentropy.h header file of internal definitions and delcarations which are moved to src/jitterentropy-internal.h. With that, jitterentropy.h only contains the API. This modification does not alter the Jitter RNG behavior at all.
 * Update secure storage memory implementation for libgcrypt and OpenSSL
 * Add API jent_status

License-Update: copyright years updated.

Signed-off-by: Jaipaul Cheernam <jaipaul.cheernam@est.tech>
---
 .../{libjitterentropy_3.6.3.bb => libjitterentropy_3.7.0.bb}  | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
 rename meta/recipes-support/libjitterentropy/{libjitterentropy_3.6.3.bb => libjitterentropy_3.7.0.bb} (89%)

Comments

Mathieu Dubois-Briand Oct. 2, 2026, 8:52 a.m. UTC | #1
On Fri Oct 2, 2026 at 9:15 AM CEST, Jaipaul Cheernam wrote:
> Source: CHANGES.md
>
> 3.7.0
>  * Add secure memory implementation for Linux and {Net,Open,Free}BSD, MacOS and Windows
>  * Update supported CMake version to 3.10
>  * doc: use Doxygen-style comments
>  * NTG.1 compliance: Modify startup such that the memory access and SHA-3 loop are treated as independent noise sources which are sampled to collect at least 240 bits each before first block of random numbers is released
>  * Remove all code when JENT_CONF_DISABLE_LOOP_SHUFFLE is unset. This code is already discouraged for a long time. Now it is taken out for good.
>  * If cache size cannot be detected from base system (e.g. virtualization), use the requested memory size.
>  * Change the stuck test to always calculate the absolute values of the 2nd and 3rd discrete derivation of time.
>  * Replace SHA3-256 output generation with XDRBG-256
>  * Prune the jitterentropy.h header file of internal definitions and delcarations which are moved to src/jitterentropy-internal.h. With that, jitterentropy.h only contains the API. This modification does not alter the Jitter RNG behavior at all.
>  * Update secure storage memory implementation for libgcrypt and OpenSSL
>  * Add API jent_status
>
> License-Update: copyright years updated.
>
> Signed-off-by: Jaipaul Cheernam <jaipaul.cheernam@est.tech>
> ---

Hi Jaipaul,

Thanks for the upgrade.

It looks like this is breaking rng-tools:

ERROR: lib32-rng-tools-6.17-r0 do_compile: oe_runmake failed
...
| ../sources/rng-tools-6.17/rngd_jitter.c: In function 'rngd_notime_start':
| ../sources/rng-tools-6.17/rngd_jitter.c:56:45: error: invalid use of undefined type 'struct jent_notime_ctx'
|    56 |         ret = -pthread_attr_init(&thread_ctx->notime_pthread_attr);

https://autobuilder.yoctoproject.org/valkyrie/#/builders/17/builds/4614
https://autobuilder.yoctoproject.org/valkyrie/#/builders/3/builds/4816

Can you have a look at the issue?

Thanks,
Mathieu
diff mbox series

Patch

diff --git a/meta/recipes-support/libjitterentropy/libjitterentropy_3.6.3.bb b/meta/recipes-support/libjitterentropy/libjitterentropy_3.7.0.bb
similarity index 89%
rename from meta/recipes-support/libjitterentropy/libjitterentropy_3.6.3.bb
rename to meta/recipes-support/libjitterentropy/libjitterentropy_3.7.0.bb
index 776cfe9785f..ed3d850e81a 100644
--- a/meta/recipes-support/libjitterentropy/libjitterentropy_3.6.3.bb
+++ b/meta/recipes-support/libjitterentropy/libjitterentropy_3.7.0.bb
@@ -5,12 +5,12 @@  stamp. It is a small-scale, yet fast entropy source that is viable in almost \
 all environments and on a lot of CPU architectures."
 HOMEPAGE = "http://www.chronox.de/jent.html"
 LICENSE = "BSD-3-Clause OR GPL-2.0-only"
-LIC_FILES_CHKSUM = "file://LICENSE;md5=e01027c4ad1fe5a4768f8488c945d491 \
+LIC_FILES_CHKSUM = "file://LICENSE;md5=fcaa2e2fa77c4ea22e45bf79e9a41093 \
                     file://LICENSE.gplv2;md5=eb723b61539feef013de476e68b5c50a \
                     file://LICENSE.bsd;md5=66a5cedaf62c4b2637025f049f9b826f \
                     "
 SRC_URI = "git://github.com/smuellerDD/jitterentropy-library.git;branch=master;protocol=https;tag=v${PV}"
-SRCREV = "c90ff465dcdb6a6949542c72a26a8ab496daa8cb"
+SRCREV = "e783cf1c450bce4d72f95c9f9c84546a6094976a"
 
 do_configure[noexec] = "1"