From ee3a74f5539cbc5182ce089994e37c16ce612149 Mon Sep 17 00:00:00 2001 From: Werner Koch Date: Fri, 16 Jun 2017 12:31:11 +0200 Subject: random: Allow building rndjent.c with stats collecting enabled. * random/rndjent.c: Change license to the one used by jitterentropy.h. (jent_init_statistic): New. (jent_bit_count): New. (jent_statistic_copy_stat): new. (jent_calc_statistic): New. -- New code taken from Stephan's jitterentropy-stat.c. This does now build with CONFIG_CRYPTO_CPU_JITTERENTROPY_STAT defined; not sure whether this is already useful. Changed the license due to the new code. Signed-off-by: Werner Koch --- LICENSES | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'LICENSES') diff --git a/LICENSES b/LICENSES index 9c0267ec..f6733a69 100644 --- a/LICENSES +++ b/LICENSES @@ -56,9 +56,9 @@ with any binary distributions derived from the GNU C Library. For files: - - random/jitterentropy-base-user.h - random/jitterentropy-base.c - random/jitterentropy.h + - random/rndjent.c (plus common Libgcrypt copyright holders) #+begin_quote * Copyright Stephan Mueller , 2013 -- cgit v1.2.1