]> www.wagner.pp.ru Git - openssl-gost/engine.git/commit
Making a gost provider - Refactor the engine to become a backend
authorRichard Levitte <richard@levitte.org>
Sun, 14 Feb 2021 23:45:40 +0000 (00:45 +0100)
committerDmitry Belyavskiy <beldmit@users.noreply.github.com>
Mon, 11 Oct 2021 16:34:09 +0000 (19:34 +0300)
commit23ccf9300e496e115742a44d5f52490f431156f5
tree8605c16c4940a84ce2dbeb9b7c7d4edd2806b360
parenta3b21ced5bfe2c42a04cfad7d4f8499f27ec31ca
Making a gost provider - Refactor the engine to become a backend

The gost provider is planned to be a wrapper around the already
existing functionality, designed for ENGINE use.

The easiest way to do this is to let the gost ENGINE continue to exist
within the gost provider, as an internal ENGINE.  To do that, we make
it possible to build gost_eng.c so it only populates the GOST ENGINE
structure, but doesn't perform any of the ENGINE registration.  That
way, the GOST ENGINE structure becomes purely internal, and can be
used as the actual implementation of the offered provider functionality,
through diverse EVP calls that accept an ENGINE pointer.
gost_eng.c