]>
Commit | Line | Data |
---|---|---|
a04549cc | 1 | /********************************************************************** |
926c41bd | 2 | * gost_params.h * |
a04549cc DSH |
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 * | |
0f113f3e | 7 | * parameter sets, defined in RFC 4357 * |
a04549cc DSH |
8 | * OpenSSL 0.9.9 libraries required to compile and use * |
9 | * this code * | |
0f113f3e | 10 | **********************************************************************/ |
a04549cc | 11 | #ifndef GOST_PARAMSET_H |
0f113f3e | 12 | # define GOST_PARAMSET_H |
a04549cc | 13 | typedef struct R3410 { |
0f113f3e MC |
14 | int nid; |
15 | char *a; | |
16 | char *p; | |
17 | char *q; | |
a04549cc DSH |
18 | } R3410_params; |
19 | ||
20 | extern R3410_params R3410_paramset[]; | |
21 | ||
22 | typedef struct R3410_2001 { | |
0f113f3e MC |
23 | int nid; |
24 | char *a; | |
25 | char *b; | |
26 | char *p; | |
27 | char *q; | |
28 | char *x; | |
29 | char *y; | |
a04549cc DSH |
30 | } R3410_2001_params; |
31 | ||
32 | extern R3410_2001_params R3410_2001_paramset[]; | |
33 | ||
34 | #endif |