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
... in order of likelihood of usage and/or strength.

Signed-off-by: Steffen Jaeckel <[email protected]>
Only go once through `X_descriptor[]` when calling `register_X()`

Signed-off-by: Steffen Jaeckel <[email protected]>
Before this patch it silently didn't work, now it errors out.

Signed-off-by: Steffen Jaeckel <[email protected]>
The NULL is optional.

Signed-off-by: Steffen Jaeckel <[email protected]>
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 <[email protected]>
This closes #354

Signed-off-by: Steffen Jaeckel <[email protected]>
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 <[email protected]>
One can now define them on a per-case basis to disable them.

Signed-off-by: Steffen Jaeckel <[email protected]>
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 <[email protected]>
Signed-off-by: Steffen Jaeckel <[email protected]>
```
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 <[email protected]>
This can be disabled by defining `LTC_NO_AES_NI`.

Signed-off-by: Steffen Jaeckel <[email protected]>
Fixes: fe8e4bf ("Use more builtin functions if available")
Signed-off-by: Steffen Jaeckel <[email protected]>
With `LTC_FAST` enabled test to read from different offsets.

Signed-off-by: Steffen Jaeckel <[email protected]>
Signed-off-by: Steffen Jaeckel <[email protected]>
Signed-off-by: Steffen Jaeckel <[email protected]>
This also enables testing of PKCS#8 keys using modern hash algos with
LTC_EASY.

Signed-off-by: Steffen Jaeckel <[email protected]>
@sjaeckel sjaeckel added this to the next milestone Nov 3, 2025
Signed-off-by: Steffen Jaeckel <[email protected]>
* 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 <[email protected]>
@sjaeckel sjaeckel requested review from karel-m and levitte November 3, 2025 13:10
@sjaeckel sjaeckel merged commit c421e57 into develop Nov 11, 2025
74 checks passed
@sjaeckel sjaeckel deleted the minor-improvements branch November 11, 2025 08:04
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.

On documentation: Add list of all supported ciphers, modes, hash algorithms, curves and so on

3 participants