]> git.ipfire.org Git - thirdparty/openssl.git/blame - include/openssl/cryptoerr.h
Remove function name from errors
[thirdparty/openssl.git] / include / openssl / cryptoerr.h
CommitLineData
52df25cf
RS
1/*
2 * Generated by util/mkerr.pl DO NOT EDIT
2a6a5607 3 * Copyright 1995-2019 The OpenSSL Project Authors. All Rights Reserved.
52df25cf 4 *
48f4ad77 5 * Licensed under the Apache License 2.0 (the "License"). You may not use
52df25cf
RS
6 * this file except in compliance with the License. You can obtain a copy
7 * in the file LICENSE in the source distribution or at
8 * https://www.openssl.org/source/license.html
9 */
10
11#ifndef HEADER_CRYPTOERR_H
12# define HEADER_CRYPTOERR_H
13
2a6a5607
RS
14# ifndef HEADER_SYMHACKS_H
15# include <openssl/symhacks.h>
16# endif
17
52df25cf 18# ifdef __cplusplus
a699b8e4 19extern "C"
52df25cf
RS
20# endif
21int ERR_load_CRYPTO_strings(void);
52df25cf
RS
22
23/*
24 * CRYPTO function codes.
25 */
7de2b9c4 26# define CRYPTO_F_CMAC_CTX_NEW 120
52df25cf
RS
27# define CRYPTO_F_CRYPTO_DUP_EX_DATA 110
28# define CRYPTO_F_CRYPTO_FREE_EX_DATA 111
29# define CRYPTO_F_CRYPTO_GET_EX_NEW_INDEX 100
1aedc35f 30# define CRYPTO_F_CRYPTO_GET_EX_NEW_INDEX_EX 141
52df25cf
RS
31# define CRYPTO_F_CRYPTO_MEMDUP 115
32# define CRYPTO_F_CRYPTO_NEW_EX_DATA 112
1aedc35f 33# define CRYPTO_F_CRYPTO_NEW_EX_DATA_EX 142
7de2b9c4
RS
34# define CRYPTO_F_CRYPTO_OCB128_COPY_CTX 121
35# define CRYPTO_F_CRYPTO_OCB128_INIT 122
52df25cf
RS
36# define CRYPTO_F_CRYPTO_SET_EX_DATA 102
37# define CRYPTO_F_FIPS_MODE_SET 109
38# define CRYPTO_F_GET_AND_LOCK 113
4c2883a9 39# define CRYPTO_F_GET_PROVIDER_STORE 133
cdb10bae 40# define CRYPTO_F_OPENSSL_ATEXIT 114
52df25cf 41# define CRYPTO_F_OPENSSL_BUF2HEXSTR 117
cdb10bae 42# define CRYPTO_F_OPENSSL_FOPEN 119
52df25cf
RS
43# define CRYPTO_F_OPENSSL_HEXSTR2BUF 118
44# define CRYPTO_F_OPENSSL_INIT_CRYPTO 116
fe1128dc
RS
45# define CRYPTO_F_OPENSSL_LH_NEW 126
46# define CRYPTO_F_OPENSSL_SK_DEEP_COPY 127
47# define CRYPTO_F_OPENSSL_SK_DUP 128
4c2883a9 48# define CRYPTO_F_OSSL_PROVIDER_ACTIVATE 130
1aedc35f 49# define CRYPTO_F_OSSL_PROVIDER_ADD_BUILTIN 132
ac1055ef 50# define CRYPTO_F_OSSL_PROVIDER_ADD_PARAMETER 139
4c2883a9 51# define CRYPTO_F_OSSL_PROVIDER_NEW 131
ac1055ef 52# define CRYPTO_F_OSSL_PROVIDER_SET_MODULE_PATH 140
7de2b9c4
RS
53# define CRYPTO_F_PKEY_HMAC_INIT 123
54# define CRYPTO_F_PKEY_POLY1305_INIT 124
55# define CRYPTO_F_PKEY_SIPHASH_INIT 125
e55008a9 56# define CRYPTO_F_PROVIDER_ACTIVATE 134
abbc2c40
RL
57# define CRYPTO_F_PROVIDER_CONF_INIT 137
58# define CRYPTO_F_PROVIDER_CONF_LOAD 138
c41f3ae0
RL
59# define CRYPTO_F_PROVIDER_NEW 135
60# define CRYPTO_F_PROVIDER_STORE_NEW 136
fe1128dc 61# define CRYPTO_F_SK_RESERVE 129
52df25cf
RS
62
63/*
64 * CRYPTO reason codes.
65 */
66# define CRYPTO_R_FIPS_MODE_NOT_SUPPORTED 101
67# define CRYPTO_R_ILLEGAL_HEX_DIGIT 102
68# define CRYPTO_R_ODD_NUMBER_OF_DIGITS 103
4c2883a9 69# define CRYPTO_R_PROVIDER_ALREADY_EXISTS 104
abbc2c40 70# define CRYPTO_R_PROVIDER_SECTION_ERROR 105
52df25cf
RS
71
72#endif