2
0

bnerr.h 4.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100
  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_BNERR_H
  11. # define HEADER_BNERR_H
  12. # ifndef HEADER_SYMHACKS_H
  13. # include <openssl/symhacks.h>
  14. # endif
  15. # ifdef __cplusplus
  16. extern "C"
  17. # endif
  18. int ERR_load_BN_strings(void);
  19. /*
  20. * BN function codes.
  21. */
  22. # define BN_F_BNRAND 127
  23. # define BN_F_BNRAND_RANGE 138
  24. # define BN_F_BN_BLINDING_CONVERT_EX 100
  25. # define BN_F_BN_BLINDING_CREATE_PARAM 128
  26. # define BN_F_BN_BLINDING_INVERT_EX 101
  27. # define BN_F_BN_BLINDING_NEW 102
  28. # define BN_F_BN_BLINDING_UPDATE 103
  29. # define BN_F_BN_BN2DEC 104
  30. # define BN_F_BN_BN2HEX 105
  31. # define BN_F_BN_COMPUTE_WNAF 142
  32. # define BN_F_BN_CTX_GET 116
  33. # define BN_F_BN_CTX_NEW 106
  34. # define BN_F_BN_CTX_START 129
  35. # define BN_F_BN_DIV 107
  36. # define BN_F_BN_DIV_RECP 130
  37. # define BN_F_BN_EXP 123
  38. # define BN_F_BN_EXPAND_INTERNAL 120
  39. # define BN_F_BN_GENCB_NEW 143
  40. # define BN_F_BN_GENERATE_DSA_NONCE 140
  41. # define BN_F_BN_GENERATE_PRIME_EX 141
  42. # define BN_F_BN_GF2M_MOD 131
  43. # define BN_F_BN_GF2M_MOD_EXP 132
  44. # define BN_F_BN_GF2M_MOD_MUL 133
  45. # define BN_F_BN_GF2M_MOD_SOLVE_QUAD 134
  46. # define BN_F_BN_GF2M_MOD_SOLVE_QUAD_ARR 135
  47. # define BN_F_BN_GF2M_MOD_SQR 136
  48. # define BN_F_BN_GF2M_MOD_SQRT 137
  49. # define BN_F_BN_LSHIFT 145
  50. # define BN_F_BN_MOD_EXP2_MONT 118
  51. # define BN_F_BN_MOD_EXP_MONT 109
  52. # define BN_F_BN_MOD_EXP_MONT_CONSTTIME 124
  53. # define BN_F_BN_MOD_EXP_MONT_WORD 117
  54. # define BN_F_BN_MOD_EXP_RECP 125
  55. # define BN_F_BN_MOD_EXP_SIMPLE 126
  56. # define BN_F_BN_MOD_INVERSE 110
  57. # define BN_F_BN_MOD_INVERSE_NO_BRANCH 139
  58. # define BN_F_BN_MOD_LSHIFT_QUICK 119
  59. # define BN_F_BN_MOD_SQRT 121
  60. # define BN_F_BN_MONT_CTX_NEW 149
  61. # define BN_F_BN_MPI2BN 112
  62. # define BN_F_BN_NEW 113
  63. # define BN_F_BN_POOL_GET 147
  64. # define BN_F_BN_RAND 114
  65. # define BN_F_BN_RAND_RANGE 122
  66. # define BN_F_BN_RECP_CTX_NEW 150
  67. # define BN_F_BN_RSHIFT 146
  68. # define BN_F_BN_SET_WORDS 144
  69. # define BN_F_BN_STACK_PUSH 148
  70. # define BN_F_BN_USUB 115
  71. /*
  72. * BN reason codes.
  73. */
  74. # define BN_R_ARG2_LT_ARG3 100
  75. # define BN_R_BAD_RECIPROCAL 101
  76. # define BN_R_BIGNUM_TOO_LONG 114
  77. # define BN_R_BITS_TOO_SMALL 118
  78. # define BN_R_CALLED_WITH_EVEN_MODULUS 102
  79. # define BN_R_DIV_BY_ZERO 103
  80. # define BN_R_ENCODING_ERROR 104
  81. # define BN_R_EXPAND_ON_STATIC_BIGNUM_DATA 105
  82. # define BN_R_INPUT_NOT_REDUCED 110
  83. # define BN_R_INVALID_LENGTH 106
  84. # define BN_R_INVALID_RANGE 115
  85. # define BN_R_INVALID_SHIFT 119
  86. # define BN_R_NOT_A_SQUARE 111
  87. # define BN_R_NOT_INITIALIZED 107
  88. # define BN_R_NO_INVERSE 108
  89. # define BN_R_NO_SOLUTION 116
  90. # define BN_R_PRIVATE_KEY_TOO_LARGE 117
  91. # define BN_R_P_IS_NOT_PRIME 112
  92. # define BN_R_TOO_MANY_ITERATIONS 113
  93. # define BN_R_TOO_MANY_TEMPORARY_VARIABLES 109
  94. #endif