Skip to content

Commit

Permalink
test esdm rngs in cli
Browse files Browse the repository at this point in the history
Signed-off-by: Markus Theil <theil.markus@gmail.com>
  • Loading branch information
thillux committed Aug 16, 2024
1 parent 7b8ad64 commit 67b4247
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/scripts/test_cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -705,7 +705,12 @@ def cli_rng_tests(_tmp_dir):

hex_10 = re.compile('[A-F0-9]{20}')

for rng in ['system', 'auto', 'entropy']:
rngs = ['system', 'auto', 'entropy']
# execute ESDM tests only on Linux
if platform.system() == "Linux":
rngs += ['esdm-full', 'esdm-pr']

for rng in rngs:
output = test_cli("rng", ["10", '--%s' % (rng)], use_drbg=False)
if output == "D80F88F6ADBE65ACB10C":
logging.error('RNG produced DRBG output')
Expand Down

0 comments on commit 67b4247

Please sign in to comment.