2 * Copyright 1995-2016 The OpenSSL Project Authors. All Rights Reserved.
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
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.
16 #ifndef HEADER_HWCRHK_ERR_H
17 # define HEADER_HWCRHK_ERR_H
23 /* BEGIN ERROR CODES */
24 static void ERR_load_HWCRHK_strings(void);
25 static void ERR_unload_HWCRHK_strings(void);
26 static void ERR_HWCRHK_error(int function, int reason, char *file, int line);
27 # define HWCRHKerr(f,r) ERR_HWCRHK_error((f),(r),OPENSSL_FILE,OPENSSL_LINE)
29 /* Error codes for the HWCRHK functions. */
32 # define HWCRHK_F_HWCRHK_CTRL 100
33 # define HWCRHK_F_HWCRHK_FINISH 101
34 # define HWCRHK_F_HWCRHK_GET_PASS 102
35 # define HWCRHK_F_HWCRHK_INIT 103
36 # define HWCRHK_F_HWCRHK_INSERT_CARD 104
37 # define HWCRHK_F_HWCRHK_LOAD_PRIVKEY 105
38 # define HWCRHK_F_HWCRHK_LOAD_PUBKEY 106
39 # define HWCRHK_F_HWCRHK_MOD_EXP 107
40 # define HWCRHK_F_HWCRHK_RAND_BYTES 108
41 # define HWCRHK_F_HWCRHK_RSA_MOD_EXP 109
42 # define HWCRHK_F_BIND_HELPER 110
43 # define HWCRHK_F_HWCRHK_MUTEX_INIT 111
46 # define HWCRHK_R_ALREADY_LOADED 100
47 # define HWCRHK_R_BIO_WAS_FREED 101
48 # define HWCRHK_R_CHIL_ERROR 102
49 # define HWCRHK_R_CTRL_COMMAND_NOT_IMPLEMENTED 103
50 # define HWCRHK_R_DSO_FAILURE 104
51 # define HWCRHK_R_MISSING_KEY_COMPONENTS 105
52 # define HWCRHK_R_NOT_INITIALISED 106
53 # define HWCRHK_R_NOT_LOADED 107
54 # define HWCRHK_R_NO_CALLBACK 108
55 # define HWCRHK_R_NO_KEY 109
56 # define HWCRHK_R_PRIVATE_KEY_ALGORITHMS_DISABLED 110
57 # define HWCRHK_R_REQUEST_FAILED 111
58 # define HWCRHK_R_REQUEST_FALLBACK 112
59 # define HWCRHK_R_UNIT_FAILURE 113