Steffen Jaeckel
1027dcfaf6
Merge pull request #765 from libtom/pr/fix-issue764
...
Fix issue #764 - small-subgroup attack
2026-07-21 10:53:14 +02:00
Karel Miko
bc95a1fd2d
hardening ecc_shared_secret against small-subgroup attacks
2026-05-25 16:18:14 +02:00
Karel Miko
ec7c05f94e
fix issue #764 as suggested by @yaotushaozhu
2026-05-25 14:11:27 +02:00
Karel Miko
afb09869f7
failing test for issue #764 - small-subgroup attack regression test
2026-05-25 13:56:48 +02:00
Steffen Jaeckel
a68fa19bc2
Merge pull request #732 from libtom/pr/sm3-hash
...
SM3 hash function
2026-05-19 13:31:48 +02:00
Steffen Jaeckel
c17e5ed051
Update makefiles
2026-05-19 13:29:49 +02:00
Karel Miko
6c885c7732
SM3 hash function
2026-05-19 13:29:36 +02:00
Steffen Jaeckel
291d847c10
Merge pull request #752 from libtom/pr/AES-GCM-SIV
...
RFC 8452 - AES-GCM-SIV
2026-05-19 13:14:53 +02:00
Karel Miko
96d2d09d7a
Update makefiles
2026-05-19 13:12:32 +02:00
Karel Miko
37a2e345a4
AES-GCM-SIV
2026-05-19 13:12:32 +02:00
Steffen Jaeckel
8512e3e891
Merge pull request #759 from libtom/pr/KMAC128-256
...
KMAC as defined in NIST SP 800-185
2026-05-19 13:05:06 +02:00
Karel Miko
7bcdb63950
Update makefiles
2026-05-19 13:03:25 +02:00
Karel Miko
9b268d6258
KMAC - NIST SP 800-185
2026-05-19 13:03:25 +02:00
Steffen Jaeckel
6e4dcfcc11
Merge pull request #760 from libtom/pr/ARIA
...
ARIA block cipher (RFC 5794)
2026-05-19 10:22:37 +02:00
Steffen Jaeckel
05ad38ab66
With ARIA added, we can now decrypt ARIA encrypted PEM files.
...
Signed-off-by: Steffen Jaeckel <s@jaeckel.eu>
2026-05-17 13:49:10 +02:00
Karel Miko
2f6b257def
Update makefiles
2026-05-16 11:38:42 +02:00
Karel Miko
4d513a02fc
ARIA block cipher (RFC 5794)
2026-05-16 11:38:38 +02:00
Steffen Jaeckel
8b5af49b94
Merge pull request #754 from libtom/pr/shake128-256
...
RFC 8702: RSA-PSS-SHAKE128/256 and ECDSA-SHAKE128/256
2026-05-06 09:48:25 +02:00
Karel Miko
1e4d471a9f
RFC 8702: RSA-PSS-SHAKE128/256 and ECDSA-SHAKE128/256
2026-05-06 09:23:52 +02:00
Steffen Jaeckel
efd7f24f1a
Merge pull request #753 from libtom/pr/wycheproof-pk-stricter-checks
...
Stricter checks (RSA OAEP, X25519, X448) - based on wycheproof results
2026-05-05 07:42:48 +02:00
Karel Miko
2c375b3a3c
RSA OAEP - reject ciphertext values 0 and 1
2026-05-05 07:42:20 +02:00
Karel Miko
71f45fedbc
x25519/x448 - reject all-zero shared secrets
2026-05-05 07:40:06 +02:00
Steffen Jaeckel
efad039f19
Merge pull request #751 from libtom/more-fixes-and-improvements
...
More fixes and improvements
2026-05-04 15:32:59 +02:00
Steffen Jaeckel
a724483a0b
Add gcm_hw_pmul_is_supported()
...
Signed-off-by: Steffen Jaeckel <s@jaeckel.eu>
2026-05-04 10:47:11 +02:00
Steffen Jaeckel
c05b3088b4
Use __has_attribute() for target attribute.
...
... and bring aarch64/PMULL in similar shape as x86/PCLMUL.
Signed-off-by: Steffen Jaeckel <s@jaeckel.eu>
2026-05-04 10:47:05 +02:00
Karel Miko
42489a16cb
fix basename(..) in demos
2026-05-04 10:44:57 +02:00
Steffen Jaeckel
9e446e665f
Better position to print this info.
...
Signed-off-by: Steffen Jaeckel <s@jaeckel.eu>
2026-05-04 10:08:07 +02:00
Steffen Jaeckel
fdf0b60170
Replace some CI builds with a single build_options.sh run.
...
Signed-off-by: Steffen Jaeckel <s@jaeckel.eu>
2026-05-04 10:08:07 +02:00
Steffen Jaeckel
078fd15f69
Apply V option to make clean
...
Signed-off-by: Steffen Jaeckel <s@jaeckel.eu>
2026-05-04 10:08:07 +02:00
Steffen Jaeckel
f940880a67
Create ENCRYPT_ONLY descriptors in amalgamated build.
...
Signed-off-by: Steffen Jaeckel <s@jaeckel.eu>
2026-05-04 10:08:07 +02:00
Steffen Jaeckel
3520a0fcf5
Fix maybe-unitialized warnings.
...
Fixes: e20fff1f3d ("Add more TurboSHAKE unit tests.")
Fixes: 6832f3c106 ("Add KangarooTwelve XOF functions.")
Signed-off-by: Steffen Jaeckel <s@jaeckel.eu>
2026-05-04 10:08:07 +02:00
Steffen Jaeckel
011d427196
Remove dirty hacks in SHA3.
...
Fixes: 6832f3c106 ("Add KangarooTwelve XOF functions.")
Signed-off-by: Steffen Jaeckel <s@jaeckel.eu>
2026-05-04 10:08:07 +02:00
Steffen Jaeckel
001fa107d1
Some minor fixes detected in AMALGAMATED builds.
...
Signed-off-by: Steffen Jaeckel <s@jaeckel.eu>
2026-05-04 10:08:07 +02:00
Marek Knápek
580be51806
Use LTC_UNUSED_PARAM().
...
Signed-off-by: Steffen Jaeckel <s@jaeckel.eu>
2026-05-04 10:08:07 +02:00
Steffen Jaeckel
07cab77569
Test aesgcm demo.
...
Signed-off-by: Steffen Jaeckel <s@jaeckel.eu>
2026-05-04 10:08:07 +02:00
Steffen Jaeckel
7fb003f1a2
Slightly improve timing demo.
...
* Use faster sober128 if available.
* Use stable PRNG state for ECC operations, so we get comparable results.
Signed-off-by: Steffen Jaeckel <s@jaeckel.eu>
2026-05-04 10:08:07 +02:00
Steffen Jaeckel
ccbbb797f0
Fix indentation.
...
Signed-off-by: Steffen Jaeckel <s@jaeckel.eu>
2026-05-03 11:11:39 +02:00
Steffen Jaeckel
229f540c48
Don't print warning in case LTC_NO_TEST is defined.
...
Signed-off-by: Steffen Jaeckel <s@jaeckel.eu>
2026-05-03 11:11:39 +02:00
Steffen Jaeckel
0834f876cd
Split up ec25519/448 tests.
...
Signed-off-by: Steffen Jaeckel <s@jaeckel.eu>
2026-05-03 11:11:39 +02:00
Steffen Jaeckel
811b1a6c14
Introduce LTC_NOP_TEST()
...
Signed-off-by: Steffen Jaeckel <s@jaeckel.eu>
2026-05-03 11:11:39 +02:00
Steffen Jaeckel
45f95768da
Merge pull request #747 from libtom/pr/wycheproof-padding_depad
...
padding_depad - reject zero-length input (except for LTC_PAD_ZERO)
2026-04-30 11:42:08 +02:00
Steffen Jaeckel
180ffcdd65
Merge pull request #748 from libtom/pr/wycheproof-ecdh
...
ECC failing wycheproof tests
2026-04-30 11:41:18 +02:00
Karel Miko
e312fffaf2
fix ECC failing wycheproof tests
2026-04-30 11:41:04 +02:00
Karel Miko
7c0e52114e
ecc - failing wycheproof tests
2026-04-30 11:41:04 +02:00
Steffen Jaeckel
2317c13d62
Merge pull request #749 from libtom/pr/wycheproof-ed448
...
Ed448/X448 failing wycheproof tests
2026-04-30 08:46:24 +02:00
Karel Miko
176c4827fc
fix Ed448/X448 failing wycheproof tests
2026-04-30 08:46:13 +02:00
Karel Miko
8dd6ecfd20
ed448/x448 - failing wycheproof tests
2026-04-30 08:46:13 +02:00
Steffen Jaeckel
284129706a
Merge pull request #746 from libtom/pr/wycheproof-frp256v1
...
add FRP256v1 - French governmental ECC curve
2026-04-30 08:45:07 +02:00
Karel Miko
8a1b70a040
add FRP256v1 (French governmental ECC curve referenced in wycheproof test suite)
2026-04-30 08:44:46 +02:00
Steffen Jaeckel
888307876a
Merge pull request #750 from libtom/pr/wycheproof-decode_bit_string
...
wycheproof - fix failing ASN.1 BIT STRING related test
2026-04-30 08:43:45 +02:00