]> git.ipfire.org Git - thirdparty/openssl.git/blame - include/openssl/cryptoerr.h
make error tables const and separate header file
[thirdparty/openssl.git] / include / openssl / cryptoerr.h
CommitLineData
52df25cf
RS
1/*
2 * Generated by util/mkerr.pl DO NOT EDIT
3 * Copyright 1995-2017 The OpenSSL Project Authors. All Rights Reserved.
4 *
5 * Licensed under the OpenSSL license (the "License"). You may not use
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
14# ifdef __cplusplus
15extern "C" {
16# endif
17int ERR_load_CRYPTO_strings(void);
18# ifdef __cplusplus
19}
20# endif
21
22/*
23 * CRYPTO function codes.
24 */
25# define CRYPTO_F_CRYPTO_DUP_EX_DATA 110
26# define CRYPTO_F_CRYPTO_FREE_EX_DATA 111
27# define CRYPTO_F_CRYPTO_GET_EX_NEW_INDEX 100
28# define CRYPTO_F_CRYPTO_MEMDUP 115
29# define CRYPTO_F_CRYPTO_NEW_EX_DATA 112
30# define CRYPTO_F_CRYPTO_SET_EX_DATA 102
31# define CRYPTO_F_FIPS_MODE_SET 109
32# define CRYPTO_F_GET_AND_LOCK 113
33# define CRYPTO_F_OPENSSL_BUF2HEXSTR 117
34# define CRYPTO_F_OPENSSL_HEXSTR2BUF 118
35# define CRYPTO_F_OPENSSL_INIT_CRYPTO 116
36
37/*
38 * CRYPTO reason codes.
39 */
40# define CRYPTO_R_FIPS_MODE_NOT_SUPPORTED 101
41# define CRYPTO_R_ILLEGAL_HEX_DIGIT 102
42# define CRYPTO_R_ODD_NUMBER_OF_DIGITS 103
43
44#endif