aboutsummaryrefslogtreecommitdiff
path: root/gost_lcl.h
diff options
context:
space:
mode:
authorVitaly Chikunov <vt@altlinux.org>2019-01-27 02:15:00 +0300
committerVitaly Chikunov <vt@altlinux.org>2019-01-27 03:59:25 +0300
commit9bcbcfa0193491800b3d0afa140828488b6b84de (patch)
tree5eaf8c09995b5e620fc2c3a0875e1187a1f0b602 /gost_lcl.h
parentc7d1861bb972628521b44b9ebe2aed08e90be747 (diff)
downloadgost-engine-9bcbcfa0193491800b3d0afa140828488b6b84de.zip
gost-engine-9bcbcfa0193491800b3d0afa140828488b6b84de.tar.gz
gost-engine-9bcbcfa0193491800b3d0afa140828488b6b84de.tar.bz2
test_params: Avoid calls to fill_GOST_EC_params and bind_gost
Use external API to generate key with parameters instead of calling fill_GOST_EC_params(). Use OPENSSL_CONF trick like in test_sign to avoid calling bind_gost(). Reverting 1716316de77 ("Export bind_gost to allow local engine init") as not needed anymore.
Diffstat (limited to 'gost_lcl.h')
-rw-r--r--gost_lcl.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/gost_lcl.h b/gost_lcl.h
index 512d947..6623d6d 100644
--- a/gost_lcl.h
+++ b/gost_lcl.h
@@ -301,7 +301,4 @@ int pack_sign_cp(ECDSA_SIG *s, int order, unsigned char *sig, size_t *siglen);
/* Get private key as BIGNUM from both 34.10-2001 keys*/
/* Returns pointer into EVP_PKEY structure */
BIGNUM *gost_get0_priv_key(const EVP_PKEY *pkey);
-
-int bind_gost(ENGINE* e, const char* id);
-
#endif