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