dsaerr.h 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172
  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 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. # ifndef HEADER_SYMHACKS_H
  13. # include <openssl/symhacks.h>
  14. # endif
  15. # include <openssl/opensslconf.h>
  16. # ifndef OPENSSL_NO_DSA
  17. # ifdef __cplusplus
  18. extern "C"
  19. # endif
  20. int ERR_load_DSA_strings(void);
  21. /*
  22. * DSA function codes.
  23. */
  24. # define DSA_F_DSAPARAMS_PRINT 100
  25. # define DSA_F_DSAPARAMS_PRINT_FP 101
  26. # define DSA_F_DSA_BUILTIN_PARAMGEN 125
  27. # define DSA_F_DSA_BUILTIN_PARAMGEN2 126
  28. # define DSA_F_DSA_DO_SIGN 112
  29. # define DSA_F_DSA_DO_VERIFY 113
  30. # define DSA_F_DSA_METH_DUP 127
  31. # define DSA_F_DSA_METH_NEW 128
  32. # define DSA_F_DSA_METH_SET1_NAME 129
  33. # define DSA_F_DSA_NEW_METHOD 103
  34. # define DSA_F_DSA_PARAM_DECODE 119
  35. # define DSA_F_DSA_PRINT_FP 105
  36. # define DSA_F_DSA_PRIV_DECODE 115
  37. # define DSA_F_DSA_PRIV_ENCODE 116
  38. # define DSA_F_DSA_PUB_DECODE 117
  39. # define DSA_F_DSA_PUB_ENCODE 118
  40. # define DSA_F_DSA_SIGN 106
  41. # define DSA_F_DSA_SIGN_SETUP 107
  42. # define DSA_F_DSA_SIG_NEW 102
  43. # define DSA_F_OLD_DSA_PRIV_DECODE 122
  44. # define DSA_F_PKEY_DSA_CTRL 120
  45. # define DSA_F_PKEY_DSA_CTRL_STR 104
  46. # define DSA_F_PKEY_DSA_KEYGEN 121
  47. /*
  48. * DSA reason codes.
  49. */
  50. # define DSA_R_BAD_Q_VALUE 102
  51. # define DSA_R_BN_DECODE_ERROR 108
  52. # define DSA_R_BN_ERROR 109
  53. # define DSA_R_DECODE_ERROR 104
  54. # define DSA_R_INVALID_DIGEST_TYPE 106
  55. # define DSA_R_INVALID_PARAMETERS 112
  56. # define DSA_R_MISSING_PARAMETERS 101
  57. # define DSA_R_MISSING_PRIVATE_KEY 111
  58. # define DSA_R_MODULUS_TOO_LARGE 103
  59. # define DSA_R_NO_PARAMETERS_SET 107
  60. # define DSA_R_PARAMETER_ENCODING_ERROR 105
  61. # define DSA_R_Q_NOT_PRIME 113
  62. # define DSA_R_SEED_LEN_SMALL 110
  63. # endif
  64. #endif