]> www.wagner.pp.ru Git - openssl-gost/engine.git/blobdiff - gost_params.h
Initial commit providing GOST 2012 algorithms.
[openssl-gost/engine.git] / gost_params.h
index 0773cbfa58a6694c38c95ecf93ec5424d2d1bb0f..b1f0c8a401118b8d78c827c56aa95360e486210e 100644 (file)
@@ -1,15 +1,16 @@
 /**********************************************************************
  *                        gost_params.h                               *
- *             Copyright (c) 2005-2006 Cryptocom LTD                  *
+ *             Copyright (c) 2005-2013 Cryptocom LTD                  *
  *       This file is distributed under the same license as OpenSSL   *
  *                                                                    *
  *       Declaration of structures used to represent  GOST R 34.10    *
- *                     parameter sets, defined in RFC 4357                *
- *         OpenSSL 0.9.9 libraries required to compile and use        *
+ *                    parameter sets, defined in RFC 4357             *
+ *         OpenSSL 1.0.0+ libraries required to compile and use       *
  *                              this code                             *
  **********************************************************************/
 #ifndef GOST_PARAMSET_H
 # define GOST_PARAMSET_H
+
 typedef struct R3410 {
     int nid;
     char *a;
@@ -19,7 +20,7 @@ typedef struct R3410 {
 
 extern R3410_params R3410_paramset[];
 
-typedef struct R3410_2001 {
+typedef struct R3410_ec {
     int nid;
     char *a;
     char *b;
@@ -27,8 +28,10 @@ typedef struct R3410_2001 {
     char *q;
     char *x;
     char *y;
-} R3410_2001_params;
+} R3410_ec_params;
 
-extern R3410_2001_params R3410_2001_paramset[];
+extern R3410_ec_params R3410_2001_paramset[],
+                      *R3410_2012_256_paramset,
+                       R3410_2012_512_paramset[];
 
 #endif