Skip to content

Extract kexp15, kimp15, kdftree2012_256 and tlstree implementations into a separate module#517

Merged
chipitsine merged 2 commits intogost-engine:masterfrom
Mironenko:keyexpimp3
Mar 6, 2026
Merged

Extract kexp15, kimp15, kdftree2012_256 and tlstree implementations into a separate module#517
chipitsine merged 2 commits intogost-engine:masterfrom
Mironenko:keyexpimp3

Conversation

@Mironenko
Copy link
Contributor

This PR separates another module that does not depend on complex gost-core, as part of addressing #496.

The module gosttls12additional contains kexp15, kimp15, kdftree2012_256 and tlstree implemenation. This module depends only on OpenSSL and uses either the engine or the provider via the public OpenSSL API.

The tests test_tls12additional (formerly test_keyexpimp) are enabled for this module with both the engine and the provider.

In separate commit we fix kexp15/kimp15 functions to work with provider implementation (use EVP_MAC instead of EVP_MD).

…into a separate module

The tls12additional module depends only on OpenSSL and uses either
the engine or the provider via the public OpenSSL API.

Enable tests `test_tls12additional` (formerly `test_keyexpimp`) for
this module with both the engine and the provider.
@chipitsine chipitsine merged commit ed4eab6 into gost-engine:master Mar 6, 2026
12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants