]>
Commit | Line | Data |
---|---|---|
b6cff313 RS |
1 | /* |
2 | * Copyright 1995-2016 The OpenSSL Project Authors. All Rights Reserved. | |
a14e9ff7 | 3 | * |
b6cff313 RS |
4 | * Licensed under the OpenSSL license (the "License"). You may not use |
5 | * this file except in compliance with the License. You can obtain a copy | |
6 | * in the file LICENSE in the source distribution or at | |
7 | * https://www.openssl.org/source/license.html | |
8 | */ | |
9 | ||
10 | /* | |
11 | * NOTE: this file was auto generated by the mkerr.pl script: any changes | |
12 | * made to it will be overwritten when the script next updates this file, | |
13 | * only reason strings will be preserved. | |
a14e9ff7 MC |
14 | */ |
15 | ||
16 | #ifndef HEADER_DASYNC_ERR_H | |
17 | # define HEADER_DASYNC_ERR_H | |
18 | ||
19 | #ifdef __cplusplus | |
20 | extern "C" { | |
21 | #endif | |
22 | ||
23 | /* BEGIN ERROR CODES */ | |
a14e9ff7 MC |
24 | static void ERR_load_DASYNC_strings(void); |
25 | static void ERR_unload_DASYNC_strings(void); | |
26 | static void ERR_DASYNC_error(int function, int reason, char *file, int line); | |
2f781956 | 27 | # define DASYNCerr(f,r) ERR_DASYNC_error((f),(r),OPENSSL_FILE,OPENSSL_LINE) |
a14e9ff7 MC |
28 | |
29 | /* Error codes for the DASYNC functions. */ | |
30 | ||
31 | /* Function codes. */ | |
98ee7543 MC |
32 | # define DASYNC_F_BIND_DASYNC 107 |
33 | # define DASYNC_F_CIPHER_AES_128_CBC_CODE 100 | |
2f2c9caa | 34 | # define DASYNC_F_DASYNC_AES128_CBC_HMAC_SHA1_INIT_KEY 109 |
98ee7543 MC |
35 | # define DASYNC_F_DASYNC_AES128_INIT_KEY 108 |
36 | # define DASYNC_F_DASYNC_BN_MOD_EXP 101 | |
2f781956 | 37 | # define DASYNC_F_DASYNC_CIPHER_INIT_KEY_HELPER 110 |
98ee7543 MC |
38 | # define DASYNC_F_DASYNC_MOD_EXP 102 |
39 | # define DASYNC_F_DASYNC_PRIVATE_DECRYPT 103 | |
40 | # define DASYNC_F_DASYNC_PRIVATE_ENCRYPT 104 | |
41 | # define DASYNC_F_DASYNC_PUBLIC_DECRYPT 105 | |
42 | # define DASYNC_F_DASYNC_PUBLIC_ENCRYPT 106 | |
a14e9ff7 MC |
43 | |
44 | /* Reason codes. */ | |
98ee7543 MC |
45 | # define DASYNC_R_INIT_FAILED 102 |
46 | # define DASYNC_R_LENGTH_NOT_BLOCK_ALIGNED 100 | |
47 | # define DASYNC_R_UNKNOWN_FAULT 101 | |
a14e9ff7 MC |
48 | |
49 | #ifdef __cplusplus | |
50 | } | |
51 | #endif | |
52 | #endif |