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

51 lines
2.0 KiB

  1. /*
  2. * Generated by util/mkerr.pl DO NOT EDIT
  3. * Copyright 1995-2018 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. # ifdef __cplusplus
  13. extern "C"
  14. # endif
  15. int ERR_load_KDF_strings(void);
  16. /*
  17. * KDF function codes.
  18. */
  19. # define KDF_F_PKEY_HKDF_CTRL_STR 103
  20. # define KDF_F_PKEY_HKDF_DERIVE 102
  21. # define KDF_F_PKEY_HKDF_INIT 108
  22. # define KDF_F_PKEY_SCRYPT_CTRL_STR 104
  23. # define KDF_F_PKEY_SCRYPT_CTRL_UINT64 105
  24. # define KDF_F_PKEY_SCRYPT_DERIVE 109
  25. # define KDF_F_PKEY_SCRYPT_INIT 106
  26. # define KDF_F_PKEY_SCRYPT_SET_MEMBUF 107
  27. # define KDF_F_PKEY_TLS1_PRF_CTRL_STR 100
  28. # define KDF_F_PKEY_TLS1_PRF_DERIVE 101
  29. # define KDF_F_PKEY_TLS1_PRF_INIT 110
  30. # define KDF_F_TLS1_PRF_ALG 111
  31. /*
  32. * KDF reason codes.
  33. */
  34. # define KDF_R_INVALID_DIGEST 100
  35. # define KDF_R_MISSING_ITERATION_COUNT 109
  36. # define KDF_R_MISSING_KEY 104
  37. # define KDF_R_MISSING_MESSAGE_DIGEST 105
  38. # define KDF_R_MISSING_PARAMETER 101
  39. # define KDF_R_MISSING_PASS 110
  40. # define KDF_R_MISSING_SALT 111
  41. # define KDF_R_MISSING_SECRET 107
  42. # define KDF_R_MISSING_SEED 106
  43. # define KDF_R_UNKNOWN_PARAMETER_TYPE 103
  44. # define KDF_R_VALUE_ERROR 108
  45. # define KDF_R_VALUE_MISSING 102
  46. #endif