Add new GOST OIDs
[openssl.git] / crypto / objects / objects.txt
index 655f40514b000b7be07fab1cbccf370f64b8e6bb..06928c6c6a37e8b80557154fa925708c50ee5ee0 100644 (file)
@@ -1156,6 +1156,7 @@ iso 0 10118 3 0 55        : whirlpool
 
 member-body 643 2 2    : cryptopro
 member-body 643 2 9    : cryptocom
+member-body 643 7 1    : id-tc26
 
 cryptopro 3            : id-GostR3411-94-with-GostR3410-2001 : GOST R 34.11-94 with GOST R 34.10-2001
 cryptopro 4            : id-GostR3411-94-with-GostR3410-94 : GOST R 34.11-94 with GOST R 34.10-94
@@ -1169,8 +1170,10 @@ cryptopro 20             : gost94        : GOST R 34.10-94
 !Cname id-Gost28147-89
 cryptopro 21           : gost89                : GOST 28147-89
                        : gost89-cnt
+                       : gost89-cnt-12
 !Cname id-Gost28147-89-MAC
 cryptopro 22           : gost-mac      : GOST 28147-89 MAC
+                       : gost-mac-12
 !Cname id-GostR3411-94-prf
 cryptopro 23           : prf-gostr3411-94      : GOST R 34.11-94 PRF
 cryptopro 98           : id-GostR3410-2001DH   : GOST R 34.10-2001 DH
@@ -1229,6 +1232,54 @@ cryptocom 1 3 4          : id-GostR3411-94-with-GostR3410-2001-cc : GOST R 34.11-94 with
 
 cryptocom 1 8 1                : id-GostR3410-2001-ParamSet-cc : GOST R 3410-2001 Parameter Set Cryptocom
 
+# TC26 GOST OIDs
+
+id-tc26 1              : id-tc26-algorithms
+id-tc26-algorithms 1   : id-tc26-sign
+!Cname id-GostR3410-2012-256
+id-tc26-sign 1         : gost2012_256: GOST R 34.10-2012 with 256 bit modulus
+!Cname id-GostR3410-2012-512
+id-tc26-sign 2         : gost2012_512: GOST R 34.10-2012 with 512 bit modulus
+
+id-tc26-algorithms 2   : id-tc26-digest
+!Cname id-GostR3411-2012-256
+id-tc26-digest 2       : md_gost12_256: GOST R 34.11-2012 with 256 bit hash
+!Cname id-GostR3411-2012-512
+id-tc26-digest 3       : md_gost12_512: GOST R 34.11-2012 with 512 bit hash
+
+id-tc26-algorithms 3   : id-tc26-signwithdigest
+id-tc26-signwithdigest 2: id-tc26-signwithdigest-gost3410-2012-256: GOST R 34.10-2012 with GOST R 34.11-2012 (256 bit)
+id-tc26-signwithdigest 3: id-tc26-signwithdigest-gost3410-2012-512: GOST R 34.10-2012 with GOST R 34.11-2012 (512 bit)
+
+id-tc26-algorithms 4   : id-tc26-mac
+id-tc26-mac 1          : id-tc26-hmac-gost-3411-2012-256 : HMAC GOST 34.11-2012 256 bit
+id-tc26-mac 2          : id-tc26-hmac-gost-3411-2012-512 : HMAC GOST 34.11-2012 512 bit
+
+id-tc26-algorithms 5   : id-tc26-cipher
+
+id-tc26-algorithms 6   : id-tc26-agreement
+id-tc26-agreement 1    : id-tc26-agreement-gost-3410-2012-256
+id-tc26-agreement 2    : id-tc26-agreement-gost-3410-2012-512
+
+id-tc26 2              : id-tc26-constants
+
+id-tc26-constants 1    : id-tc26-sign-constants
+id-tc26-sign-constants 2: id-tc26-gost-3410-2012-512-constants
+id-tc26-gost-3410-2012-512-constants 0 : id-tc26-gost-3410-2012-512-paramSetTest: GOST R 34.10-2012 (512 bit) testing parameter set
+id-tc26-gost-3410-2012-512-constants 1 : id-tc26-gost-3410-2012-512-paramSetA: GOST R 34.10-2012 (512 bit) ParamSet A
+id-tc26-gost-3410-2012-512-constants 2 : id-tc26-gost-3410-2012-512-paramSetB: GOST R 34.10-2012 (512 bit) ParamSet B
+
+id-tc26-constants 2     : id-tc26-digest-constants
+id-tc26-constants 5     : id-tc26-cipher-constants
+id-tc26-cipher-constants 1     : id-tc26-gost-28147-constants
+id-tc26-gost-28147-constants 1 : id-tc26-gost-28147-param-Z : GOST 28147-89 TC26 parameter set
+
+member-body 643 3 131 1 1      : INN   : INN
+member-body 643 100 1          : OGRN  : OGRN
+member-body 643 100 3          : SNILS : SNILS
+member-body 643 100 111        : subjectSignTool       : Signing Tool of Subject
+member-body 643 100 112        : issuerSignTool        : Signing Tool of Issuer
+
 # Definitions for Camellia cipher - CBC MODE
 
 1 2 392 200011 61 1 1 1 2 : CAMELLIA-128-CBC           : camellia-128-cbc