kdferr.h 2.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  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_KDFERR_H
  11. # define HEADER_KDFERR_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_KDF_strings(void);
  19. /*
  20. * KDF function codes.
  21. */
  22. # define KDF_F_PKEY_HKDF_CTRL_STR 103
  23. # define KDF_F_PKEY_HKDF_DERIVE 102
  24. # define KDF_F_PKEY_HKDF_INIT 108
  25. # define KDF_F_PKEY_SCRYPT_CTRL_STR 104
  26. # define KDF_F_PKEY_SCRYPT_CTRL_UINT64 105
  27. # define KDF_F_PKEY_SCRYPT_DERIVE 109
  28. # define KDF_F_PKEY_SCRYPT_INIT 106
  29. # define KDF_F_PKEY_SCRYPT_SET_MEMBUF 107
  30. # define KDF_F_PKEY_TLS1_PRF_CTRL_STR 100
  31. # define KDF_F_PKEY_TLS1_PRF_DERIVE 101
  32. # define KDF_F_PKEY_TLS1_PRF_INIT 110
  33. # define KDF_F_TLS1_PRF_ALG 111
  34. /*
  35. * KDF reason codes.
  36. */
  37. # define KDF_R_INVALID_DIGEST 100
  38. # define KDF_R_MISSING_ITERATION_COUNT 109
  39. # define KDF_R_MISSING_KEY 104
  40. # define KDF_R_MISSING_MESSAGE_DIGEST 105
  41. # define KDF_R_MISSING_PARAMETER 101
  42. # define KDF_R_MISSING_PASS 110
  43. # define KDF_R_MISSING_SALT 111
  44. # define KDF_R_MISSING_SECRET 107
  45. # define KDF_R_MISSING_SEED 106
  46. # define KDF_R_UNKNOWN_PARAMETER_TYPE 103
  47. # define KDF_R_VALUE_ERROR 108
  48. # define KDF_R_VALUE_MISSING 102
  49. #endif