cryptoerr.h 1.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  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_CRYPTOERR_H
  11. # define OPENSSL_CRYPTOERR_H
  12. # pragma once
  13. # include <openssl/opensslconf.h>
  14. # include <openssl/symhacks.h>
  15. # include <openssl/cryptoerr_legacy.h>
  16. /*
  17. * CRYPTO reason codes.
  18. */
  19. # define CRYPTO_R_BAD_ALGORITHM_NAME 117
  20. # define CRYPTO_R_CONFLICTING_NAMES 118
  21. # define CRYPTO_R_HEX_STRING_TOO_SHORT 121
  22. # define CRYPTO_R_ILLEGAL_HEX_DIGIT 102
  23. # define CRYPTO_R_INSUFFICIENT_DATA_SPACE 106
  24. # define CRYPTO_R_INSUFFICIENT_PARAM_SIZE 107
  25. # define CRYPTO_R_INSUFFICIENT_SECURE_DATA_SPACE 108
  26. # define CRYPTO_R_INVALID_NEGATIVE_VALUE 122
  27. # define CRYPTO_R_INVALID_NULL_ARGUMENT 109
  28. # define CRYPTO_R_INVALID_OSSL_PARAM_TYPE 110
  29. # define CRYPTO_R_ODD_NUMBER_OF_DIGITS 103
  30. # define CRYPTO_R_PROVIDER_ALREADY_EXISTS 104
  31. # define CRYPTO_R_PROVIDER_SECTION_ERROR 105
  32. # define CRYPTO_R_RANDOM_SECTION_ERROR 119
  33. # define CRYPTO_R_SECURE_MALLOC_FAILURE 111
  34. # define CRYPTO_R_STRING_TOO_LONG 112
  35. # define CRYPTO_R_TOO_MANY_BYTES 113
  36. # define CRYPTO_R_TOO_MANY_RECORDS 114
  37. # define CRYPTO_R_TOO_SMALL_BUFFER 116
  38. # define CRYPTO_R_UNKNOWN_NAME_IN_RANDOM_SECTION 120
  39. # define CRYPTO_R_ZERO_LENGTH_NUMBER 115
  40. #endif