X-Git-Url: https://wagner.pp.ru/gitweb/?a=blobdiff_plain;f=gost_params.h;fp=gost_params.h;h=0773cbfa58a6694c38c95ecf93ec5424d2d1bb0f;hb=c98ba9d03213d0c63d6874539d59f7b55fbc3fae;hp=0000000000000000000000000000000000000000;hpb=6bae2877d22e1bb30b20a7b09d6e5f8399e0e98b;p=openssl-gost%2Fengine.git diff --git a/gost_params.h b/gost_params.h new file mode 100644 index 0000000..0773cbf --- /dev/null +++ b/gost_params.h @@ -0,0 +1,34 @@ +/********************************************************************** + * gost_params.h * + * 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