dsaerr.h 3.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980
  1. /*
  2. * Generated by util/mkerr.pl DO NOT EDIT
  3. * Copyright 1995-2019 The OpenSSL Project Authors. All Rights Reserved.
  4. *
  5. * Licensed under the Apache License 2.0 (the "License"). You may not use
  6. * this file except in compliance with the License. You can obtain a copy
  7. * in the file LICENSE in the source distribution or at
  8. * https://www.openssl.org/source/license.html
  9. */
  10. #ifndef OPENSSL_DSAERR_H
  11. # define OPENSSL_DSAERR_H
  12. # pragma once
  13. # include <openssl/macros.h>
  14. # if !OPENSSL_API_3
  15. # define HEADER_DSAERR_H
  16. # endif
  17. # include <openssl/opensslconf.h>
  18. # include <openssl/symhacks.h>
  19. # include <openssl/opensslconf.h>
  20. # ifndef OPENSSL_NO_DSA
  21. # ifdef __cplusplus
  22. extern "C"
  23. # endif
  24. int ERR_load_DSA_strings(void);
  25. /*
  26. * DSA function codes.
  27. */
  28. # if !OPENSSL_API_3
  29. # define DSA_F_DSAPARAMS_PRINT 0
  30. # define DSA_F_DSAPARAMS_PRINT_FP 0
  31. # define DSA_F_DSA_BUILTIN_PARAMGEN 0
  32. # define DSA_F_DSA_BUILTIN_PARAMGEN2 0
  33. # define DSA_F_DSA_DO_SIGN 0
  34. # define DSA_F_DSA_DO_VERIFY 0
  35. # define DSA_F_DSA_METH_DUP 0
  36. # define DSA_F_DSA_METH_NEW 0
  37. # define DSA_F_DSA_METH_SET1_NAME 0
  38. # define DSA_F_DSA_NEW_METHOD 0
  39. # define DSA_F_DSA_PARAM_DECODE 0
  40. # define DSA_F_DSA_PRINT_FP 0
  41. # define DSA_F_DSA_PRIV_DECODE 0
  42. # define DSA_F_DSA_PRIV_ENCODE 0
  43. # define DSA_F_DSA_PUB_DECODE 0
  44. # define DSA_F_DSA_PUB_ENCODE 0
  45. # define DSA_F_DSA_SIGN 0
  46. # define DSA_F_DSA_SIGN_SETUP 0
  47. # define DSA_F_DSA_SIG_NEW 0
  48. # define DSA_F_OLD_DSA_PRIV_DECODE 0
  49. # define DSA_F_PKEY_DSA_CTRL 0
  50. # define DSA_F_PKEY_DSA_CTRL_STR 0
  51. # define DSA_F_PKEY_DSA_KEYGEN 0
  52. # endif
  53. /*
  54. * DSA reason codes.
  55. */
  56. # define DSA_R_BAD_Q_VALUE 102
  57. # define DSA_R_BN_DECODE_ERROR 108
  58. # define DSA_R_BN_ERROR 109
  59. # define DSA_R_DECODE_ERROR 104
  60. # define DSA_R_INVALID_DIGEST_TYPE 106
  61. # define DSA_R_INVALID_PARAMETERS 112
  62. # define DSA_R_MISSING_PARAMETERS 101
  63. # define DSA_R_MISSING_PRIVATE_KEY 111
  64. # define DSA_R_MODULUS_TOO_LARGE 103
  65. # define DSA_R_NO_PARAMETERS_SET 107
  66. # define DSA_R_PARAMETER_ENCODING_ERROR 105
  67. # define DSA_R_Q_NOT_PRIME 113
  68. # define DSA_R_SEED_LEN_SMALL 110
  69. # endif
  70. #endif