aboutsummaryrefslogtreecommitdiff
path: root/gost_lcl.h
diff options
context:
space:
mode:
authorboggard <varyanik2@gmail.com>2017-07-12 16:57:50 +0300
committerboggard <varyanik2@gmail.com>2017-07-12 16:57:50 +0300
commitf8a4b31268d06d4deea274a7d3e644cf4f84e386 (patch)
treee00f020ad49e3c955b58f27fb0fe0d8eb2a4250d /gost_lcl.h
parent47f320eef7b307d8308106ebb46d539d200af767 (diff)
downloadgost-engine-f8a4b31268d06d4deea274a7d3e644cf4f84e386.zip
gost-engine-f8a4b31268d06d4deea274a7d3e644cf4f84e386.tar.gz
gost-engine-f8a4b31268d06d4deea274a7d3e644cf4f84e386.tar.bz2
Private key format configure by openssl.cnf file
Diffstat (limited to 'gost_lcl.h')
-rw-r--r--gost_lcl.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/gost_lcl.h b/gost_lcl.h
index faa454b..2152257 100644
--- a/gost_lcl.h
+++ b/gost_lcl.h
@@ -21,9 +21,11 @@
/* Control commands */
# define GOST_PARAM_CRYPT_PARAMS 0
# define GOST_PARAM_PBE_PARAMS 1
-# define GOST_PARAM_MAX 1
+# define GOST_PARAM_PK_PARAMS 2
+# define GOST_PARAM_MAX 2
# define GOST_CTRL_CRYPT_PARAMS (ENGINE_CMD_BASE+GOST_PARAM_CRYPT_PARAMS)
# define GOST_CTRL_PBE_PARAMS (ENGINE_CMD_BASE+GOST_PARAM_PBE_PARAMS)
+# define GOST_CTRL_PK_PARAMS (ENGINE_CMD_BASE+GOST_PARAM_PK_PARAMS)
typedef struct R3410_ec {
int nid;