cryptoerr.h 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  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_CRYPTOERR_H
  11. # define HEADER_CRYPTOERR_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_CRYPTO_strings(void);
  19. /*
  20. * CRYPTO function codes.
  21. */
  22. # define CRYPTO_F_CMAC_CTX_NEW 120
  23. # define CRYPTO_F_CRYPTO_DUP_EX_DATA 110
  24. # define CRYPTO_F_CRYPTO_FREE_EX_DATA 111
  25. # define CRYPTO_F_CRYPTO_GET_EX_NEW_INDEX 100
  26. # define CRYPTO_F_CRYPTO_MEMDUP 115
  27. # define CRYPTO_F_CRYPTO_NEW_EX_DATA 112
  28. # define CRYPTO_F_CRYPTO_OCB128_COPY_CTX 121
  29. # define CRYPTO_F_CRYPTO_OCB128_INIT 122
  30. # define CRYPTO_F_CRYPTO_SET_EX_DATA 102
  31. # define CRYPTO_F_FIPS_MODE_SET 109
  32. # define CRYPTO_F_GET_AND_LOCK 113
  33. # define CRYPTO_F_OPENSSL_ATEXIT 114
  34. # define CRYPTO_F_OPENSSL_BUF2HEXSTR 117
  35. # define CRYPTO_F_OPENSSL_FOPEN 119
  36. # define CRYPTO_F_OPENSSL_HEXSTR2BUF 118
  37. # define CRYPTO_F_OPENSSL_INIT_CRYPTO 116
  38. # define CRYPTO_F_OPENSSL_LH_NEW 126
  39. # define CRYPTO_F_OPENSSL_SK_DEEP_COPY 127
  40. # define CRYPTO_F_OPENSSL_SK_DUP 128
  41. # define CRYPTO_F_PKEY_HMAC_INIT 123
  42. # define CRYPTO_F_PKEY_POLY1305_INIT 124
  43. # define CRYPTO_F_PKEY_SIPHASH_INIT 125
  44. # define CRYPTO_F_SK_RESERVE 129
  45. /*
  46. * CRYPTO reason codes.
  47. */
  48. # define CRYPTO_R_FIPS_MODE_NOT_SUPPORTED 101
  49. # define CRYPTO_R_ILLEGAL_HEX_DIGIT 102
  50. # define CRYPTO_R_ODD_NUMBER_OF_DIGITS 103
  51. #endif