Fix typos prior to release

Signed-off-by: Tom Cosgrove <tom.cosgrove@arm.com>
This commit is contained in:
Tom Cosgrove 2022-12-04 17:19:59 +00:00
parent c3902ac661
commit 1797b05602
51 changed files with 81 additions and 81 deletions

View file

@ -18,7 +18,7 @@ produced them."""
import random
# Functions calling these were used to produce test data and are here only for
# reproducability, they are not used by the test generation framework/classes
# reproducibility, they are not used by the test generation framework/classes
try:
from Cryptodome.Util.number import isPrime, getPrime #type: ignore #pylint: disable=import-error
except ImportError:
@ -128,7 +128,7 @@ def __gen_safe_prime(bits, seed):
randbytes.
'''
rng = random.Random()
# We want reproducability across python versions
# We want reproducibility across python versions
rng.seed(seed, version=2)
while True:
prime = 2*getPrime(bits-1, rng.randbytes)+1 #pylint: disable=no-member