dsaerr.h 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. /*
  2. * Generated by util/mkerr.pl DO NOT EDIT
  3. * Copyright 1995-2021 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/opensslconf.h>
  14. # include <openssl/symhacks.h>
  15. # include <openssl/cryptoerr_legacy.h>
  16. # ifndef OPENSSL_NO_DSA
  17. /*
  18. * DSA reason codes.
  19. */
  20. # define DSA_R_BAD_FFC_PARAMETERS 114
  21. # define DSA_R_BAD_Q_VALUE 102
  22. # define DSA_R_BN_DECODE_ERROR 108
  23. # define DSA_R_BN_ERROR 109
  24. # define DSA_R_DECODE_ERROR 104
  25. # define DSA_R_INVALID_DIGEST_TYPE 106
  26. # define DSA_R_INVALID_PARAMETERS 112
  27. # define DSA_R_MISSING_PARAMETERS 101
  28. # define DSA_R_MISSING_PRIVATE_KEY 111
  29. # define DSA_R_MODULUS_TOO_LARGE 103
  30. # define DSA_R_NO_PARAMETERS_SET 107
  31. # define DSA_R_PARAMETER_ENCODING_ERROR 105
  32. # define DSA_R_P_NOT_PRIME 115
  33. # define DSA_R_Q_NOT_PRIME 113
  34. # define DSA_R_SEED_LEN_SMALL 110
  35. # endif
  36. #endif