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
__init__.py
AES.py
Ed25519.py
Fernet.py
Hashes.py
HKDF.py hkdf: Remove duplicate check if the salt is None 2023-03-01 16:22:51 +02:00
HMAC.py Set SHA-256 as default hash for HMAC 2022-06-07 17:33:08 +02:00
PKCS7.py
Provider.py
Proxies.py
SHA256.py
SHA512.py
X25519.py