]> www.wagner.pp.ru Git - openssl-gost/engine.git/blob - gost_params.h
Initial commit providing GOST 2012 algorithms.
[openssl-gost/engine.git] / gost_params.h
1 /**********************************************************************
2  *                        gost_params.h                               *
3  *             Copyright (c) 2005-2013 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 1.0.0+ libraries required to compile and use       *
9  *                              this code                             *
10  **********************************************************************/
11 #ifndef GOST_PARAMSET_H
12 # define GOST_PARAMSET_H
13
14 typedef struct R3410 {
15     int nid;
16     char *a;
17     char *p;
18     char *q;
19 } R3410_params;
20
21 extern R3410_params R3410_paramset[];
22
23 typedef struct R3410_ec {
24     int nid;
25     char *a;
26     char *b;
27     char *p;
28     char *q;
29     char *x;
30     char *y;
31 } R3410_ec_params;
32
33 extern R3410_ec_params R3410_2001_paramset[],
34                       *R3410_2012_256_paramset,
35                        R3410_2012_512_paramset[];
36
37 #endif