gost_params.h 1.1 KB

12345678910111213141516171819202122232425262728293031323334
  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. extern R3410_params R3410_paramset[];
  20. typedef struct R3410_2001 {
  21. int nid;
  22. char *a;
  23. char *b;
  24. char *p;
  25. char *q;
  26. char *x;
  27. char *y;
  28. } R3410_2001_params;
  29. extern R3410_2001_params R3410_2001_paramset[];
  30. #endif