oopsie: Correct SHA-512 naming.

This commit is contained in:
Milan Špinka
2025-01-29 23:10:28 +01:00
parent a21dd6b83c
commit 465273892c
4 changed files with 400 additions and 396 deletions

View File

@ -23,7 +23,7 @@ Most (**theoretical!**) users should directly use one of the cryptographic *prot
- Advanced Encryption Standard (FIPS 197): AES-128, AES-192, AES-256
- ChaCha20 (RFC 7539): ChaCha20 with 64-bit nonce and 64-bit counter, ChaCha20 with 96-bit nonce and 32-bit counter
- Salsa20: Salsa20/20 with 256-key, Salsa20/20 with 128-bit key
- Secure Hashing Algorithm: SHA-1, SHA-224, SHA-256, SHA-384, SHA-512
- Secure Hashing Algorithm: SHA-1, SHA-224, SHA-256, SHA-384, SHA-512, SHA-512/224, SHA-512/256
### Protocols
@ -40,7 +40,7 @@ Most (**theoretical!**) users should directly use one of the cryptographic *prot
- DES, 3DES
- Block cipher modes: CBC-PKCS7, CFB, OFB, CTR, GCM
- Poly1305
- SHA-512/224, SHA-512/256, HMAC
- SHA-3, HMAC
- BigIntegers & modular arithmetic
- Cryptographically secure random BigInteger generation & primality testing
- Elliptic Curve groups (over Fp fields)

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -107,6 +107,8 @@ pub fn generic_final(
}
}
// TODO: generic_destroy()
// ----------------------------------- LOGICAL FUNCTIONS ----------------------------------- //
pub fn ch(T: type, x: T, y: T, z: T) T {