Skip to content

[pull] master from gost-engine:master#57

Merged
pull[bot] merged 2 commits into
All-Blockchains:masterfrom
gost-engine:master
Apr 13, 2026
Merged

[pull] master from gost-engine:master#57
pull[bot] merged 2 commits into
All-Blockchains:masterfrom
gost-engine:master

Conversation

@pull

@pull pull Bot commented Apr 13, 2026

Copy link
Copy Markdown

See Commits and Changes for more details.


Created by pull[bot] (v2.0.0-alpha.4)

Can you help keep this open source service alive? 💖 Please sponsor : )

Vladislav Sapegin and others added 2 commits April 13, 2026 13:56
… APIs

This commit introduces a new cipher abstraction layer and removes
dependencies on deprecated ENGINE-based interfaces.

* Introduce `GOST_cipher_ctx` to replace `EVP_CIPHER_CTX` in cipher
  methods. The corresponding functions mirror the behavior of the
  `EVP_CIPHER_CTX`-based APIs. High-level functions
  `GOST_CipherInit_ex`, `GOST_CipherUpdate`, and `GOST_CipherFinal`
  are modeled after their EVP counterparts.

* Provide a separate `GOST_cipher_ctx` implementation for the engine
  target as a wrapper around `EVP_CIPHER_CTX`.

* Introduce the `GOST_cipher` interface to replace `EVP_CIPHER`. Its
  fields are not intended to be accessed directly.

* Remove ENGINE initialization from `gost_prov` initialization.

* Add patches for OpenSSL 3.6 to improve test coverage:
  fix `ASN1_item_verify_ctx` and `x509_sig_info_init` to work correctly
  with provided digests. Without these patches, CA functionality is not
  available when using OpenSSL 3.6.

Additional fixes:

* Fix DER-encoded ASN.1 cipher parameter handling in
  `gost_prov_cipher`.

* Fix error propagation in `magma_get_asn1_parameters()`: return an
  error if `gost2015_get_asn1_params()` fails.
Refactor prov-cipher to avoid using deprecated ENGINE/EVP_CIPHER_meth APIs
@pull pull Bot locked and limited conversation to collaborators Apr 13, 2026
@pull pull Bot added the ⤵️ pull label Apr 13, 2026
@pull pull Bot merged commit 4e6e331 into All-Blockchains:master Apr 13, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant