You can not select more than 25 topics Topics must start with a chinese character,a letter or number, can include dashes ('-') and can be up to 35 characters long.

bnerr.h 1.3 kB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. /*
  2. * Generated by util/mkerr.pl DO NOT EDIT
  3. * Copyright 1995-2022 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_BNERR_H
  11. #define OPENSSL_BNERR_H
  12. #pragma once
  13. #include <openssl/opensslconf.h>
  14. #include <openssl/symhacks.h>
  15. #include <openssl/cryptoerr_legacy.h>
  16. /*
  17. * BN reason codes.
  18. */
  19. #define BN_R_ARG2_LT_ARG3 100
  20. #define BN_R_BAD_RECIPROCAL 101
  21. #define BN_R_BIGNUM_TOO_LONG 114
  22. #define BN_R_BITS_TOO_SMALL 118
  23. #define BN_R_CALLED_WITH_EVEN_MODULUS 102
  24. #define BN_R_DIV_BY_ZERO 103
  25. #define BN_R_ENCODING_ERROR 104
  26. #define BN_R_EXPAND_ON_STATIC_BIGNUM_DATA 105
  27. #define BN_R_INPUT_NOT_REDUCED 110
  28. #define BN_R_INVALID_LENGTH 106
  29. #define BN_R_INVALID_RANGE 115
  30. #define BN_R_INVALID_SHIFT 119
  31. #define BN_R_NOT_A_SQUARE 111
  32. #define BN_R_NOT_INITIALIZED 107
  33. #define BN_R_NO_INVERSE 108
  34. #define BN_R_NO_PRIME_CANDIDATE 121
  35. #define BN_R_NO_SOLUTION 116
  36. #define BN_R_NO_SUITABLE_DIGEST 120
  37. #define BN_R_PRIVATE_KEY_TOO_LARGE 117
  38. #define BN_R_P_IS_NOT_PRIME 112
  39. #define BN_R_TOO_MANY_ITERATIONS 113
  40. #define BN_R_TOO_MANY_TEMPORARY_VARIABLES 109
  41. #endif