Updated version of gost engine.
[openssl.git] / engines / ccgost / gost_params.h
1 /**********************************************************************
2  *                        gost_params.h                               *
3  *             Copyright (c) 2005-2006 Cryptocom LTD                  *
4  *       This file is distributed under the same license as OpenSSL   *
5  *                                                                    *
6  *       Declaration of structures used to represent  GOST R 34.10    *
7  *                     parameter sets, defined in RFC 4357                *
8  *         OpenSSL 0.9.9 libraries required to compile and use        *
9  *                              this code                             *
10  **********************************************************************/ 
11 #ifndef GOST_PARAMSET_H
12 #define GOST_PARAMSET_H
13 typedef struct R3410 {
14                 int nid;
15                 char *a;
16                 char *p;
17                 char *q;
18 } R3410_params;
19
20 extern R3410_params R3410_paramset[];
21
22 typedef struct R3410_2001 {
23                 int nid;
24                 char *a;
25                 char *b;
26                 char *p;
27                 char *q;
28                 char *x;
29                 char *y;
30 } R3410_2001_params;
31
32 extern R3410_2001_params R3410_2001_paramset[];
33
34 #endif