X-Git-Url: http://wagner.pp.ru/gitweb/?a=blobdiff_plain;f=gost_eng.c;h=f930faa2f5e2043911206be1ecffd13e33728b0a;hb=dd06acfd99c408fdee066f614ea22bce1d393830;hp=3fbe2e83d5b90cd6478b132e27daf7a3161212c6;hpb=e1afd2a137a0a4cab89260202fdc1828263d098d;p=openssl-gost%2Fengine.git diff --git a/gost_eng.c b/gost_eng.c index 3fbe2e8..f930faa 100644 --- a/gost_eng.c +++ b/gost_eng.c @@ -24,6 +24,22 @@ static const char* engine_gost_id = "gost"; static const char* engine_gost_name = "Reference implementation of GOST engine"; +const ENGINE_CMD_DEFN gost_cmds[] = { + {GOST_CTRL_CRYPT_PARAMS, + "CRYPT_PARAMS", + "OID of default GOST 28147-89 parameters", + ENGINE_CMD_FLAG_STRING}, + {GOST_CTRL_PBE_PARAMS, + "PBE_PARAMS", + "Shortname of default digest alg for PBE", + ENGINE_CMD_FLAG_STRING}, + {GOST_CTRL_PK_FORMAT, + "GOST_PK_FORMAT", + "Private key format params", + ENGINE_CMD_FLAG_STRING}, + {0, NULL, NULL, 0} +}; + /* Symmetric cipher and digest function registrar */ static int gost_ciphers(ENGINE* e, const EVP_CIPHER** cipher,