2016-05-17 21:38:18 +00:00
|
|
|
/*
|
|
|
|
* Copyright 1995-2016 The OpenSSL Project Authors. All Rights Reserved.
|
2015-02-13 23:25:33 +00:00
|
|
|
*
|
2016-05-17 21:38:18 +00:00
|
|
|
* Licensed under the OpenSSL license (the "License"). You may not use
|
|
|
|
* this file except in compliance with the License. You can obtain a copy
|
|
|
|
* in the file LICENSE in the source distribution or at
|
|
|
|
* https://www.openssl.org/source/license.html
|
|
|
|
*/
|
|
|
|
|
|
|
|
/*
|
|
|
|
* NOTE: this file was auto generated by the mkerr.pl script: any changes
|
|
|
|
* made to it will be overwritten when the script next updates this file,
|
|
|
|
* only reason strings will be preserved.
|
2015-02-13 23:25:33 +00:00
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef HEADER_DASYNC_ERR_H
|
|
|
|
# define HEADER_DASYNC_ERR_H
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
extern "C" {
|
|
|
|
#endif
|
|
|
|
|
|
|
|
/* BEGIN ERROR CODES */
|
|
|
|
static void ERR_load_DASYNC_strings(void);
|
|
|
|
static void ERR_unload_DASYNC_strings(void);
|
|
|
|
static void ERR_DASYNC_error(int function, int reason, char *file, int line);
|
2016-03-08 23:12:53 +00:00
|
|
|
# define DASYNCerr(f,r) ERR_DASYNC_error((f),(r),OPENSSL_FILE,OPENSSL_LINE)
|
2015-02-13 23:25:33 +00:00
|
|
|
|
|
|
|
/* Error codes for the DASYNC functions. */
|
|
|
|
|
|
|
|
/* Function codes. */
|
2015-09-22 10:11:24 +00:00
|
|
|
# define DASYNC_F_BIND_DASYNC 107
|
|
|
|
# define DASYNC_F_CIPHER_AES_128_CBC_CODE 100
|
2015-11-27 12:02:25 +00:00
|
|
|
# define DASYNC_F_DASYNC_AES128_CBC_HMAC_SHA1_INIT_KEY 109
|
2015-09-22 10:11:24 +00:00
|
|
|
# define DASYNC_F_DASYNC_AES128_INIT_KEY 108
|
|
|
|
# define DASYNC_F_DASYNC_BN_MOD_EXP 101
|
2016-03-08 23:12:53 +00:00
|
|
|
# define DASYNC_F_DASYNC_CIPHER_INIT_KEY_HELPER 110
|
2015-09-22 10:11:24 +00:00
|
|
|
# define DASYNC_F_DASYNC_MOD_EXP 102
|
|
|
|
# define DASYNC_F_DASYNC_PRIVATE_DECRYPT 103
|
|
|
|
# define DASYNC_F_DASYNC_PRIVATE_ENCRYPT 104
|
|
|
|
# define DASYNC_F_DASYNC_PUBLIC_DECRYPT 105
|
|
|
|
# define DASYNC_F_DASYNC_PUBLIC_ENCRYPT 106
|
2015-02-13 23:25:33 +00:00
|
|
|
|
|
|
|
/* Reason codes. */
|
2015-09-22 10:11:24 +00:00
|
|
|
# define DASYNC_R_INIT_FAILED 102
|
|
|
|
# define DASYNC_R_LENGTH_NOT_BLOCK_ALIGNED 100
|
|
|
|
# define DASYNC_R_UNKNOWN_FAULT 101
|
2015-02-13 23:25:33 +00:00
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
}
|
|
|
|
#endif
|
|
|
|
#endif
|