dsaerr.h 2.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566
  1. /*
  2. * Generated by util/mkerr.pl DO NOT EDIT
  3. * Copyright 1995-2018 The OpenSSL Project Authors. All Rights Reserved.
  4. *
  5. * Licensed under the OpenSSL license (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 HEADER_DSAERR_H
  11. # define HEADER_DSAERR_H
  12. # include <openssl/opensslconf.h>
  13. # ifndef OPENSSL_NO_DSA
  14. # ifdef __cplusplus
  15. extern "C"
  16. # endif
  17. int ERR_load_DSA_strings(void);
  18. /*
  19. * DSA function codes.
  20. */
  21. # define DSA_F_DSAPARAMS_PRINT 100
  22. # define DSA_F_DSAPARAMS_PRINT_FP 101
  23. # define DSA_F_DSA_BUILTIN_PARAMGEN 125
  24. # define DSA_F_DSA_BUILTIN_PARAMGEN2 126
  25. # define DSA_F_DSA_DO_SIGN 112
  26. # define DSA_F_DSA_DO_VERIFY 113
  27. # define DSA_F_DSA_METH_DUP 127
  28. # define DSA_F_DSA_METH_NEW 128
  29. # define DSA_F_DSA_METH_SET1_NAME 129
  30. # define DSA_F_DSA_NEW_METHOD 103
  31. # define DSA_F_DSA_PARAM_DECODE 119
  32. # define DSA_F_DSA_PRINT_FP 105
  33. # define DSA_F_DSA_PRIV_DECODE 115
  34. # define DSA_F_DSA_PRIV_ENCODE 116
  35. # define DSA_F_DSA_PUB_DECODE 117
  36. # define DSA_F_DSA_PUB_ENCODE 118
  37. # define DSA_F_DSA_SIGN 106
  38. # define DSA_F_DSA_SIGN_SETUP 107
  39. # define DSA_F_DSA_SIG_NEW 102
  40. # define DSA_F_OLD_DSA_PRIV_DECODE 122
  41. # define DSA_F_PKEY_DSA_CTRL 120
  42. # define DSA_F_PKEY_DSA_KEYGEN 121
  43. /*
  44. * DSA reason codes.
  45. */
  46. # define DSA_R_BAD_Q_VALUE 102
  47. # define DSA_R_BN_DECODE_ERROR 108
  48. # define DSA_R_BN_ERROR 109
  49. # define DSA_R_DECODE_ERROR 104
  50. # define DSA_R_INVALID_DIGEST_TYPE 106
  51. # define DSA_R_INVALID_PARAMETERS 112
  52. # define DSA_R_MISSING_PARAMETERS 101
  53. # define DSA_R_MODULUS_TOO_LARGE 103
  54. # define DSA_R_NO_PARAMETERS_SET 107
  55. # define DSA_R_PARAMETER_ENCODING_ERROR 105
  56. # define DSA_R_Q_NOT_PRIME 113
  57. # define DSA_R_SEED_LEN_SMALL 110
  58. # endif
  59. #endif