diff options
author | Vitaly Chikunov <vt@altlinux.org> | 2019-01-24 04:32:28 +0300 |
---|---|---|
committer | Vitaly Chikunov <vt@altlinux.org> | 2019-01-26 01:52:06 +0300 |
commit | b2e0f8c6e708e70fcfea9384095aa48f2774af47 (patch) | |
tree | d40f7124ffd5913be759da36ad5a6d784dbde8d0 /README.gost | |
parent | 0a514524c7d003329a47d339f623312db390b344 (diff) | |
download | gost-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.gost | 4 |
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. |