We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c4577d6 commit 908a74dCopy full SHA for 908a74d
src/dilithium_py/drbg/aes256_ctr_drbg.py
@@ -30,7 +30,7 @@ def __init__(self, seed: Optional[bytes] = None, personalization: bytes = b""):
30
self.__ctr_drbg_update(seed_material)
31
self.reseed_ctr = 1
32
33
- def __check_entropy_input(self, entropy_input: bytes) -> bytes:
+ def __check_entropy_input(self, entropy_input: Optional[bytes] = None) -> bytes:
34
"""
35
If no entropy given, us os.urandom, else
36
check that the input is of the right length.
0 commit comments