-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Jirka Hladky
committed
Feb 17, 2022
1 parent
8ef6243
commit 68bd8c0
Showing
9 changed files
with
53 additions
and
44 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,28 +1,28 @@ | ||
Summary: Library for generating random numbers using the RdRand instruction on Intel CPUs | ||
Name: RdRand | ||
Version: 2.1.2 | ||
Version: 2.1.3 | ||
Release: 1%{?dist} | ||
License: LGPLv2+ | ||
URL: https://github.com/jtulak/%{name} | ||
Source0: https://github.com/jtulak/%{name}/archive/%{version}.tar.gz | ||
ExclusiveArch: %{ix86} x86_64 | ||
ExclusiveArch: %{ix86} x86_64 | ||
Requires: openssl | ||
BuildRequires: gcc-c++ | ||
BuildRequires: openssl-devel | ||
%description | ||
RdRand is an instruction for returning random numbers from an Intel on-chip | ||
hardware random number generator.RdRand is available in Ivy Bridge and later | ||
RdRand is an instruction for returning random numbers from an Intel on-chip | ||
hardware random number generator.RdRand is available in Ivy Bridge and later | ||
processors. | ||
|
||
It uses cascade construction, combining a HW RNG operating at 3Gbps with CSPRNG | ||
with all components sealed on CPU. The entropy source is a meta-stable circuit, | ||
with unpredictable behavior based on thermal noise. The entropy is fed into | ||
a 3:1 compression ratio entropy extractor (whitener) based on AES-CBC-MAC. | ||
Online statistical tests are performed at this stage and only high quality | ||
random data are used as the seed for cryptograhically secure SP800-90 AES-CTR | ||
DRBG compliant PRNG. | ||
This generator is producing maximum of 512 128-bit AES blocks before it's | ||
reseeded. According to documentation the 512 blocks is a upper limit for | ||
with unpredictable behavior based on thermal noise. The entropy is fed into | ||
a 3:1 compression ratio entropy extractor (whitener) based on AES-CBC-MAC. | ||
Online statistical tests are performed at this stage and only high quality | ||
random data are used as the seed for cryptograhically secure SP800-90 AES-CTR | ||
DRBG compliant PRNG. | ||
This generator is producing maximum of 512 128-bit AES blocks before it's | ||
reseeded. According to documentation the 512 blocks is a upper limit for | ||
reseed, in practice it reseeds much more frequently. | ||
|
||
%package devel | ||
|
@@ -60,7 +60,10 @@ rm -f $RPM_BUILD_ROOT{%{_libdir}/librdrand.la,%{_libdir}/librdrand/include/rdran | |
%{_libdir}/pkgconfig/* | ||
|
||
%changelog | ||
* Tue Jun 16 2020 Jirka Hladky <[email protected]> - 2.1.2-1 | ||
* Thu Feb 17 2022 Jirka Hladky <[email protected]> - 2.1.3-1 | ||
- Updated man page | ||
|
||
* Tue Jun 16 2020 Jirka Hladky <[email protected]> - 2.1.2-1 | ||
- Added support for AMD CPUs | ||
|
||
* Tue Jan 28 2020 Fedora Release Engineering <[email protected]> - 2.1.1-9 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,7 @@ | ||
/* vim: set expandtab cindent fdm=marker ts=4 sw=4: */ | ||
/* | ||
* Copyright (C) 2013 Jan Tulak <[email protected]> | ||
* Copyright (C) 2013-2020 Jan Tulak <[email protected]> | ||
* Copyright (C) 2013-2022 Jirka Hladky hladky DOT jiri AT gmail DOT com | ||
* | ||
* This library is free software; you can redistribute it and/or | ||
* modify it under the terms of the GNU Lesser General Public | ||
|
@@ -14,7 +15,7 @@ | |
* | ||
* You should have received a copy of the GNU Lesser General Public | ||
* License along with this library; if not, write to the Free Software | ||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, | ||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, | ||
* Boston, MA 02110-1301 USA | ||
*/ | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,7 @@ | ||
/* vim: set expandtab cindent fdm=marker ts=4 sw=4: */ | ||
/* | ||
* Copyright (C) 2013 Jan Tulak <[email protected]> | ||
* Copyright (C) 2013-2020 Jan Tulak <[email protected]> | ||
* Copyright (C) 2013-2022 Jirka Hladky hladky DOT jiri AT gmail DOT com | ||
* | ||
* This library is free software; you can redistribute it and/or | ||
* modify it under the terms of the GNU Lesser General Public | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,7 @@ | ||
/* vim: set expandtab cindent fdm=marker ts=4 sw=4: */ | ||
/* | ||
* Copyright (C) 2013 Jan Tulak <[email protected]> | ||
* Copyright (C) 2013-2020 Jan Tulak <[email protected]> | ||
* Copyright (C) 2013-2022 Jirka Hladky hladky DOT jiri AT gmail DOT com | ||
* | ||
* This library is free software; you can redistribute it and/or | ||
* modify it under the terms of the GNU Lesser General Public | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,7 @@ | ||
/* vim: set expandtab cindent fdm=marker ts=2 sw=2: */ | ||
/* | ||
* Copyright (C) 2013 Jan Tulak <[email protected]> | ||
* Copyright (C) 2013-2020 Jan Tulak <[email protected]> | ||
* Copyright (C) 2013-2022 Jirka Hladky hladky DOT jiri AT gmail DOT com | ||
* | ||
* This library is free software; you can redistribute it and/or | ||
* modify it under the terms of the GNU Lesser General Public | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,7 @@ | ||
/* vim: set expandtab cindent fdm=marker ts=2 sw=2: */ | ||
/* | ||
* Copyright (C) 2013 Jan Tulak <[email protected]> | ||
* Copyright (C) 2013-2020 Jan Tulak <[email protected]> | ||
* Copyright (C) 2013-2022 Jirka Hladky hladky DOT jiri AT gmail DOT com | ||
* | ||
* This library is free software; you can redistribute it and/or | ||
* modify it under the terms of the GNU Lesser General Public | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
/* vim: set expandtab cindent fdm=marker ts=4 sw=4: */ | ||
/* | ||
* Copyright (C) 2013-2020 Jan Tulak <[email protected]> | ||
* Copyright (C) 2020 Jirka Hladky <hladky.jiri@gmail.com> | ||
* Copyright (C) 2013-2022 Jirka Hladky hladky DOT jiri AT gmail DOT com | ||
* | ||
* This library is free software; you can redistribute it and/or | ||
* modify it under the terms of the GNU Lesser General Public | ||
|
@@ -83,7 +83,7 @@ | |
#define SLOW_RETRY_LIMIT 1000 | ||
#define SLOW_RETRY_DELAY 1000 // 1 ms | ||
|
||
#define VERSION "2.1.2" | ||
#define VERSION "2.1.3" | ||
// }}} macros | ||
|
||
// {{{ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,7 @@ | ||
/* vim: set expandtab cindent fdm=marker ts=4 sw=4: */ | ||
/* | ||
* Copyright (C) 2013 Jan Tulak <[email protected]> | ||
* Copyright (C) 2013-2020 Jan Tulak <[email protected]> | ||
* Copyright (C) 2013-2022 Jirka Hladky hladky DOT jiri AT gmail DOT com | ||
* | ||
* This library is free software; you can redistribute it and/or | ||
* modify it under the terms of the GNU Lesser General Public | ||
|