summaryrefslogtreecommitdiffstats
path: root/crypto/objects/obj_dat.h
diff options
context:
space:
mode:
authorDmitry Belyavskiy <beldmit@gmail.com>2015-10-04 12:11:26 +0300
committerMatt Caswell <matt@openssl.org>2015-10-05 21:55:10 +0100
commit52ee3ed3a11024ab6e11c5705da6c3ba17cf7d98 (patch)
tree29d13313197e181865e6bb7c6c97b49006abf495 /crypto/objects/obj_dat.h
parent52a48f9eed73503c691056b5832b3eb04b95ea00 (diff)
New cipher and cipher modes standardized in Russia
This change introduces short names and NIDs for Russian GOST ciphers according to GOST R 34.13-2015 Reviewed-by: Richard Levitte <levitte@openssl.org> Reviewed-by: Matt Caswell <matt@openssl.org>
Diffstat (limited to 'crypto/objects/obj_dat.h')
-rw-r--r--crypto/objects/obj_dat.h33
1 files changed, 30 insertions, 3 deletions
diff --git a/crypto/objects/obj_dat.h b/crypto/objects/obj_dat.h
index 6210784d13..9fd20596ce 100644
--- a/crypto/objects/obj_dat.h
+++ b/crypto/objects/obj_dat.h
@@ -62,9 +62,9 @@
* [including the GNU Public Licence.]
*/
-#define NUM_NID 1009
-#define NUM_SN 1002
-#define NUM_LN 1002
+#define NUM_NID 1018
+#define NUM_SN 1011
+#define NUM_LN 1011
#define NUM_OBJ 936
static const unsigned char lvalues[6604]={
@@ -2658,6 +2658,15 @@ static const ASN1_OBJECT nid_objs[NUM_NID]={
&(lvalues[6593]),0},
{"issuerSignTool","Signing Tool of Issuer",NID_issuerSignTool,5,
&(lvalues[6598]),0},
+{"gost89-cbc","gost89-cbc",NID_gost89_cbc,0,NULL,0},
+{"gost89-ecb","gost89-ecb",NID_gost89_ecb,0,NULL,0},
+{"gost89-ctr","gost89-ctr",NID_gost89_ctr,0,NULL,0},
+{"grasshopper-ecb","grasshopper-ecb",NID_grasshopper_ecb,0,NULL,0},
+{"grasshopper-ctr","grasshopper-ctr",NID_grasshopper_ctr,0,NULL,0},
+{"grasshopper-ofb","grasshopper-ofb",NID_grasshopper_ofb,0,NULL,0},
+{"grasshopper-cbc","grasshopper-cbc",NID_grasshopper_cbc,0,NULL,0},
+{"grasshopper-cfb","grasshopper-cfb",NID_grasshopper_cfb,0,NULL,0},
+{"grasshopper-mac","grasshopper-mac",NID_grasshopper_mac,0,NULL,0},
};
static const unsigned int sn_objs[NUM_SN]={
@@ -3025,10 +3034,19 @@ static const unsigned int sn_objs[NUM_SN]={
979, /* "gost2012_256" */
980, /* "gost2012_512" */
813, /* "gost89" */
+1009, /* "gost89-cbc" */
814, /* "gost89-cnt" */
975, /* "gost89-cnt-12" */
+1011, /* "gost89-ctr" */
+1010, /* "gost89-ecb" */
812, /* "gost94" */
850, /* "gost94cc" */
+1015, /* "grasshopper-cbc" */
+1016, /* "grasshopper-cfb" */
+1013, /* "grasshopper-ctr" */
+1012, /* "grasshopper-ecb" */
+1017, /* "grasshopper-mac" */
+1014, /* "grasshopper-ofb" */
797, /* "hmacWithMD5" */
163, /* "hmacWithSHA1" */
798, /* "hmacWithSHA224" */
@@ -4053,8 +4071,17 @@ static const unsigned int ln_objs[NUM_LN]={
601, /* "generic cryptogram" */
99, /* "givenName" */
976, /* "gost-mac-12" */
+1009, /* "gost89-cbc" */
814, /* "gost89-cnt" */
975, /* "gost89-cnt-12" */
+1011, /* "gost89-ctr" */
+1010, /* "gost89-ecb" */
+1015, /* "grasshopper-cbc" */
+1016, /* "grasshopper-cfb" */
+1013, /* "grasshopper-ctr" */
+1012, /* "grasshopper-ecb" */
+1017, /* "grasshopper-mac" */
+1014, /* "grasshopper-ofb" */
855, /* "hmac" */
780, /* "hmac-md5" */
781, /* "hmac-sha1" */