Reticulum/RNS/Cryptography
Dionysis Grigoropoulos ddb7a92c15 hkdf: Remove duplicate check if the salt is None
The second if isn't needed since we initialize the salt with zeroes
earlier. If instead we meant to pass an empty bytes class to the HMAC
implementation, the end result would be the same, since it's gonna get
padded with zeroes in the HMAC code.
2023-03-01 16:22:51 +02:00
..
aes
pure25519
AES.py
Ed25519.py
Fernet.py
HKDF.py
HMAC.py
Hashes.py
PKCS7.py
Provider.py
Proxies.py
SHA256.py
SHA512.py
X25519.py
__init__.py