e_afalg_err.h 1.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. /*
  2. * Generated by util/mkerr.pl DO NOT EDIT
  3. * Copyright 1995-2020 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 OSSL_E_AFALG_ERR_H
  11. # define OSSL_E_AFALG_ERR_H
  12. # pragma once
  13. # include <openssl/opensslconf.h>
  14. # include <openssl/symhacks.h>
  15. # define AFALGerr(f, r) ERR_AFALG_error(0, (r), OPENSSL_FILE, OPENSSL_LINE)
  16. /*
  17. * AFALG function codes.
  18. */
  19. # ifndef OPENSSL_NO_DEPRECATED_3_0
  20. # define AFALG_F_AFALG_CHK_PLATFORM 0
  21. # define AFALG_F_AFALG_CREATE_SK 0
  22. # define AFALG_F_AFALG_INIT_AIO 0
  23. # define AFALG_F_AFALG_SETUP_ASYNC_EVENT_NOTIFICATION 0
  24. # define AFALG_F_AFALG_SET_KEY 0
  25. # define AFALG_F_BIND_AFALG 0
  26. # endif
  27. /*
  28. * AFALG reason codes.
  29. */
  30. # define AFALG_R_EVENTFD_FAILED 108
  31. # define AFALG_R_FAILED_TO_GET_PLATFORM_INFO 111
  32. # define AFALG_R_INIT_FAILED 100
  33. # define AFALG_R_IO_SETUP_FAILED 105
  34. # define AFALG_R_KERNEL_DOES_NOT_SUPPORT_AFALG 101
  35. # define AFALG_R_KERNEL_DOES_NOT_SUPPORT_ASYNC_AFALG 107
  36. # define AFALG_R_MEM_ALLOC_FAILED 102
  37. # define AFALG_R_SOCKET_ACCEPT_FAILED 110
  38. # define AFALG_R_SOCKET_BIND_FAILED 103
  39. # define AFALG_R_SOCKET_CREATE_FAILED 109
  40. # define AFALG_R_SOCKET_OPERATION_FAILED 104
  41. # define AFALG_R_SOCKET_SET_KEY_FAILED 106
  42. #endif