Skip to content

Conversation

@sjaeckel
Copy link
Member

@sjaeckel sjaeckel commented Nov 3, 2025

I've broken out some less discussion-worthy parts of #699 into this PR, in order to speed up the review process.

sjaeckel and others added 21 commits November 3, 2025 13:49
Signed-off-by: Steffen Jaeckel <s@jaeckel.eu>
... in order of likelihood of usage and/or strength.

Signed-off-by: Steffen Jaeckel <s@jaeckel.eu>
Only go once through `X_descriptor[]` when calling `register_X()`

Signed-off-by: Steffen Jaeckel <s@jaeckel.eu>
Before this patch it silently didn't work, now it errors out.

Signed-off-by: Steffen Jaeckel <s@jaeckel.eu>
Signed-off-by: Steffen Jaeckel <s@jaeckel.eu>
The NULL is optional.

Signed-off-by: Steffen Jaeckel <s@jaeckel.eu>
Signed-off-by: Steffen Jaeckel <s@jaeckel.eu>
This reverts commit 93f5348.

You should use the CMake flag `-DCMAKE_CXX_COMPILER_LAUNCHER=ccache`
instead.

Sibling-to: libtom/libtommath#577
Signed-off-by: Steffen Jaeckel <s@jaeckel.eu>
This closes #354

Signed-off-by: Steffen Jaeckel <s@jaeckel.eu>
Change the default behavior of `LTC_ARGCHK()` for Release, resp.
Release+Shared Library builds to be non-fatal.

This closes #458

Signed-off-by: Steffen Jaeckel <s@jaeckel.eu>
One can now define them on a per-case basis to disable them.

Signed-off-by: Steffen Jaeckel <s@jaeckel.eu>
It expects a pair of type `(unsigned char*,unsigned long)` and not
`(unsigned char*,unsigned int)`.

Fixes: 46fa363 ("Finish up RFC6979 ECDSA keygen")
Reported-via: #699 (comment) ff.
Signed-off-by: Steffen Jaeckel <s@jaeckel.eu>
Signed-off-by: Steffen Jaeckel <s@jaeckel.eu>
```
src/ciphers/aes/aesni.c:150:7: warning: Value stored to 'temp' is never read [deadcode.DeadStores]
  150 |       temp = temp_invert(rk);
      |       ^      ~~~~~~~~~~~~~~~
1 warning generated.
```

Signed-off-by: Steffen Jaeckel <s@jaeckel.eu>
This can be disabled by defining `LTC_NO_AES_NI`.

Signed-off-by: Steffen Jaeckel <s@jaeckel.eu>
Fixes: fe8e4bf ("Use more builtin functions if available")
Signed-off-by: Steffen Jaeckel <s@jaeckel.eu>
With `LTC_FAST` enabled test to read from different offsets.

Signed-off-by: Steffen Jaeckel <s@jaeckel.eu>
Signed-off-by: Steffen Jaeckel <s@jaeckel.eu>
Signed-off-by: Steffen Jaeckel <s@jaeckel.eu>
This also enables testing of PKCS#8 keys using modern hash algos with
LTC_EASY.

Signed-off-by: Steffen Jaeckel <s@jaeckel.eu>
@sjaeckel sjaeckel added this to the next milestone Nov 3, 2025
Signed-off-by: Steffen Jaeckel <s@jaeckel.eu>
Related to #349

Signed-off-by: Steffen Jaeckel <s@jaeckel.eu>
* The oldest supported Ubuntu Version is 22.04 which comes with CMake 3.22.
* Refactor demos/CMakeLists.txt to set the list of binaries only once.

Signed-off-by: Steffen Jaeckel <s@jaeckel.eu>
@sjaeckel sjaeckel requested review from karel-m and levitte November 3, 2025 13:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants