Rich Salz | b6cff31 | 2016-05-17 17:38:18 -0400 | [diff] [blame] | 1 | /* |
| 2 | * Copyright 1995-2016 The OpenSSL Project Authors. All Rights Reserved. |
Matt Caswell | a14e9ff | 2015-02-13 23:25:33 +0000 | [diff] [blame] | 3 | * |
Rich Salz | b6cff31 | 2016-05-17 17:38:18 -0400 | [diff] [blame] | 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. |
Matt Caswell | a14e9ff | 2015-02-13 23:25:33 +0000 | [diff] [blame] | 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 */ |
Matt Caswell | a14e9ff | 2015-02-13 23:25:33 +0000 | [diff] [blame] | 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); |
Alessandro Ghedini | 2f78195 | 2016-03-08 23:12:53 +0000 | [diff] [blame] | 27 | # define DASYNCerr(f,r) ERR_DASYNC_error((f),(r),OPENSSL_FILE,OPENSSL_LINE) |
Matt Caswell | a14e9ff | 2015-02-13 23:25:33 +0000 | [diff] [blame] | 28 | |
| 29 | /* Error codes for the DASYNC functions. */ |
| 30 | |
| 31 | /* Function codes. */ |
Matt Caswell | 98ee754 | 2015-09-22 11:11:24 +0100 | [diff] [blame] | 32 | # define DASYNC_F_BIND_DASYNC 107 |
| 33 | # define DASYNC_F_CIPHER_AES_128_CBC_CODE 100 |
Matt Caswell | 2f2c9ca | 2015-11-27 12:02:25 +0000 | [diff] [blame] | 34 | # define DASYNC_F_DASYNC_AES128_CBC_HMAC_SHA1_INIT_KEY 109 |
Matt Caswell | 98ee754 | 2015-09-22 11:11:24 +0100 | [diff] [blame] | 35 | # define DASYNC_F_DASYNC_AES128_INIT_KEY 108 |
| 36 | # define DASYNC_F_DASYNC_BN_MOD_EXP 101 |
Alessandro Ghedini | 2f78195 | 2016-03-08 23:12:53 +0000 | [diff] [blame] | 37 | # define DASYNC_F_DASYNC_CIPHER_INIT_KEY_HELPER 110 |
Matt Caswell | 98ee754 | 2015-09-22 11:11:24 +0100 | [diff] [blame] | 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 |
Matt Caswell | a14e9ff | 2015-02-13 23:25:33 +0000 | [diff] [blame] | 43 | |
| 44 | /* Reason codes. */ |
Matt Caswell | 98ee754 | 2015-09-22 11:11:24 +0100 | [diff] [blame] | 45 | # define DASYNC_R_INIT_FAILED 102 |
| 46 | # define DASYNC_R_LENGTH_NOT_BLOCK_ALIGNED 100 |
| 47 | # define DASYNC_R_UNKNOWN_FAULT 101 |
Matt Caswell | a14e9ff | 2015-02-13 23:25:33 +0000 | [diff] [blame] | 48 | |
| 49 | #ifdef __cplusplus |
| 50 | } |
| 51 | #endif |
| 52 | #endif |