blob: b01fead2acb16e82ec5c517bbfc5615b197fa34f [file] [log] [blame]
Rich Salzb6cff312016-05-17 17:38:18 -04001/*
2 * Copyright 1995-2016 The OpenSSL Project Authors. All Rights Reserved.
Matt Caswella14e9ff2015-02-13 23:25:33 +00003 *
Rich Salzb6cff312016-05-17 17:38:18 -04004 * 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 Caswella14e9ff2015-02-13 23:25:33 +000014 */
15
16#ifndef HEADER_DASYNC_ERR_H
17# define HEADER_DASYNC_ERR_H
18
19#ifdef __cplusplus
20extern "C" {
21#endif
22
23/* BEGIN ERROR CODES */
Matt Caswella14e9ff2015-02-13 23:25:33 +000024static void ERR_load_DASYNC_strings(void);
25static void ERR_unload_DASYNC_strings(void);
26static void ERR_DASYNC_error(int function, int reason, char *file, int line);
Alessandro Ghedini2f781952016-03-08 23:12:53 +000027# define DASYNCerr(f,r) ERR_DASYNC_error((f),(r),OPENSSL_FILE,OPENSSL_LINE)
Matt Caswella14e9ff2015-02-13 23:25:33 +000028
29/* Error codes for the DASYNC functions. */
30
31/* Function codes. */
Matt Caswell98ee7542015-09-22 11:11:24 +010032# define DASYNC_F_BIND_DASYNC 107
33# define DASYNC_F_CIPHER_AES_128_CBC_CODE 100
Matt Caswell2f2c9ca2015-11-27 12:02:25 +000034# define DASYNC_F_DASYNC_AES128_CBC_HMAC_SHA1_INIT_KEY 109
Matt Caswell98ee7542015-09-22 11:11:24 +010035# define DASYNC_F_DASYNC_AES128_INIT_KEY 108
36# define DASYNC_F_DASYNC_BN_MOD_EXP 101
Alessandro Ghedini2f781952016-03-08 23:12:53 +000037# define DASYNC_F_DASYNC_CIPHER_INIT_KEY_HELPER 110
Matt Caswell98ee7542015-09-22 11:11:24 +010038# 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 Caswella14e9ff2015-02-13 23:25:33 +000043
44/* Reason codes. */
Matt Caswell98ee7542015-09-22 11:11:24 +010045# define DASYNC_R_INIT_FAILED 102
46# define DASYNC_R_LENGTH_NOT_BLOCK_ALIGNED 100
47# define DASYNC_R_UNKNOWN_FAULT 101
Matt Caswella14e9ff2015-02-13 23:25:33 +000048
49#ifdef __cplusplus
50}
51#endif
52#endif