2006-09-17 13:00:18 +00:00
|
|
|
/**********************************************************************
|
2006-09-21 13:04:43 +00:00
|
|
|
* gost_params.h *
|
2006-09-17 13:00:18 +00:00
|
|
|
* Copyright (c) 2005-2006 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 *
|
|
|
|
* this code *
|
|
|
|
**********************************************************************/
|
|
|
|
#ifndef GOST_PARAMSET_H
|
|
|
|
#define GOST_PARAMSET_H
|
|
|
|
typedef struct R3410 {
|
|
|
|
int nid;
|
|
|
|
char *a;
|
|
|
|
char *p;
|
|
|
|
char *q;
|
|
|
|
} R3410_params;
|
|
|
|
|
|
|
|
extern R3410_params R3410_paramset[];
|
|
|
|
|
|
|
|
typedef struct R3410_2001 {
|
|
|
|
int nid;
|
|
|
|
char *a;
|
|
|
|
char *b;
|
|
|
|
char *p;
|
|
|
|
char *q;
|
|
|
|
char *x;
|
|
|
|
char *y;
|
|
|
|
} R3410_2001_params;
|
|
|
|
|
|
|
|
extern R3410_2001_params R3410_2001_paramset[];
|
|
|
|
|
|
|
|
#endif
|