aboutsummaryrefslogtreecommitdiff
path: root/README.gost
diff options
context:
space:
mode:
authorVitaly Chikunov <vt@altlinux.org>2019-01-24 04:32:28 +0300
committerVitaly Chikunov <vt@altlinux.org>2019-01-26 01:52:06 +0300
commitb2e0f8c6e708e70fcfea9384095aa48f2774af47 (patch)
treed40f7124ffd5913be759da36ad5a6d784dbde8d0 /README.gost
parent0a514524c7d003329a47d339f623312db390b344 (diff)
downloadgost-engine-b2e0f8c6e708e70fcfea9384095aa48f2774af47.zip
gost-engine-b2e0f8c6e708e70fcfea9384095aa48f2774af47.tar.gz
gost-engine-b2e0f8c6e708e70fcfea9384095aa48f2774af47.tar.bz2
Allow key creation using TC26 (2012) parameters
R 1323565.1.023-2018 forbids encoding hash oid into TC26 (2012) parameters in AlgorithmIdentifier, so this is removed. New "paramset" names for 256-bit TC26 parameters: TCA, TCB, TCC, TCD, for 512-bit parameter: C. Using these new OIDs for gost2012_256: NID_id_tc26_gost_3410_2012_256_paramSetA = TCA NID_id_tc26_gost_3410_2012_256_paramSetB = TCB NID_id_tc26_gost_3410_2012_256_paramSetC = TCC NID_id_tc26_gost_3410_2012_256_paramSetD = TCD for gost2012_512: NID_id_tc26_gost_3410_2012_512_paramSetC = C Resolves #84.
Diffstat (limited to 'README.gost')
-rw-r--r--README.gost4
1 files changed, 2 insertions, 2 deletions
diff --git a/README.gost b/README.gost
index db6b4b9..3579665 100644
--- a/README.gost
+++ b/README.gost
@@ -70,8 +70,8 @@ USAGE WITH COMMAND LINE openssl UTILITY
Use -pkeyopt option to pass paramset to algorithm. The following paramsets
are supported by
gost2001: 0,A,B,C,XA,XB
- gost2012_256: 0,A,B,C,XA,XB
- gost2012_512: A,B
+ gost2012_256: 0,A,B,C,XA,XB,TCA,TCB,TCC,TCD
+ gost2012_512: A,B,C
You can also use numeric representation of OID as to destinate
paramset.