all repos — TinyCrypT @ 4d2e4a5dc76453fad883fc0921efa4acf8599182

Short and sweet classical cryptographic primitives

Fixed some typos
Juniper Beatitudes [email protected]
Tue, 14 Jul 2026 18:51:49 -0500
commit

4d2e4a5dc76453fad883fc0921efa4acf8599182

parent

137f9bc2c13de246bd5aac4161e0e7c4e50f12eb

2 files changed, 1 insertions(+), 4 deletions(-)

jump to
M README.mdREADME.md

@@ -9,9 +9,6 @@ - X25519 for elliptic-curve Diffie-Hellman key exchange

- SHA-256 and SHA-512 for hashing, ECDH, and Ed25519 - Ed25519 for EdDSA -## Known Vulnerabilities -The CC20-P1305 implementation was not designed with side-channel attacks in mind. Rewriting it to perform actions in constant time is a goal currently being undertaken (after unit tests are in place). - ## Testing Validations - The SHA-2 implementations pass all 586 NIST-provided test cases without memory violations (according to `valgrind`). - The Ed25519 implementation passes all 1024 provided test cases without memory violations (according to `valgrind`).
M tinycrypt/portable/kangarootwelve128.ctinycrypt/portable/kangarootwelve128.c

@@ -180,7 +180,7 @@ {

uint8_t buf[168]; uint8_t state[200]; turboshake128_init (state); - uint8_t encoded[8]; + uint8_t encoded[16]; uint64_t encoded_len; length_encode (cs_len, encoded, &encoded_len); const uint64_t s_size = input_len + cs_len + encoded_len;