]>
Commit | Line | Data |
---|---|---|
52df25cf RS |
1 | /* |
2 | * Generated by util/mkerr.pl DO NOT EDIT | |
826da145 | 3 | * Copyright 1995-2022 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 | ||
ae4186b0 DMSP |
11 | #ifndef OPENSSL_CRYPTOERR_H |
12 | # define OPENSSL_CRYPTOERR_H | |
d86167ec DMSP |
13 | # pragma once |
14 | ||
cbfa5b03 RS |
15 | # include <openssl/opensslconf.h> |
16 | # include <openssl/symhacks.h> | |
14a6c6a4 | 17 | # include <openssl/cryptoerr_legacy.h> |
cbfa5b03 | 18 | |
2a6a5607 | 19 | |
52df25cf | 20 | |
52df25cf RS |
21 | /* |
22 | * CRYPTO reason codes. | |
23 | */ | |
3d83c735 RL |
24 | # define CRYPTO_R_BAD_ALGORITHM_NAME 117 |
25 | # define CRYPTO_R_CONFLICTING_NAMES 118 | |
98ba251f | 26 | # define CRYPTO_R_HEX_STRING_TOO_SHORT 121 |
52df25cf | 27 | # define CRYPTO_R_ILLEGAL_HEX_DIGIT 102 |
3c93fbac P |
28 | # define CRYPTO_R_INSUFFICIENT_DATA_SPACE 106 |
29 | # define CRYPTO_R_INSUFFICIENT_PARAM_SIZE 107 | |
30 | # define CRYPTO_R_INSUFFICIENT_SECURE_DATA_SPACE 108 | |
826da145 | 31 | # define CRYPTO_R_INTEGER_OVERFLOW 127 |
8585b5bc | 32 | # define CRYPTO_R_INVALID_NEGATIVE_VALUE 122 |
3c93fbac P |
33 | # define CRYPTO_R_INVALID_NULL_ARGUMENT 109 |
34 | # define CRYPTO_R_INVALID_OSSL_PARAM_TYPE 110 | |
826da145 P |
35 | # define CRYPTO_R_NO_PARAMS_TO_MERGE 131 |
36 | # define CRYPTO_R_NO_SPACE_FOR_TERMINATING_NULL 128 | |
52df25cf | 37 | # define CRYPTO_R_ODD_NUMBER_OF_DIGITS 103 |
826da145 P |
38 | # define CRYPTO_R_PARAM_CANNOT_BE_REPRESENTED_EXACTLY 123 |
39 | # define CRYPTO_R_PARAM_NOT_INTEGER_TYPE 124 | |
40 | # define CRYPTO_R_PARAM_OF_INCOMPATIBLE_TYPE 129 | |
41 | # define CRYPTO_R_PARAM_UNSIGNED_INTEGER_NEGATIVE_VALUE_UNSUPPORTED 125 | |
42 | # define CRYPTO_R_PARAM_UNSUPPORTED_FLOATING_POINT_FORMAT 130 | |
43 | # define CRYPTO_R_PARAM_VALUE_TOO_LARGE_FOR_DESTINATION 126 | |
4c2883a9 | 44 | # define CRYPTO_R_PROVIDER_ALREADY_EXISTS 104 |
abbc2c40 | 45 | # define CRYPTO_R_PROVIDER_SECTION_ERROR 105 |
44d2482b | 46 | # define CRYPTO_R_RANDOM_SECTION_ERROR 119 |
3c93fbac P |
47 | # define CRYPTO_R_SECURE_MALLOC_FAILURE 111 |
48 | # define CRYPTO_R_STRING_TOO_LONG 112 | |
49 | # define CRYPTO_R_TOO_MANY_BYTES 113 | |
50 | # define CRYPTO_R_TOO_MANY_RECORDS 114 | |
82bd7c2c | 51 | # define CRYPTO_R_TOO_SMALL_BUFFER 116 |
44d2482b | 52 | # define CRYPTO_R_UNKNOWN_NAME_IN_RANDOM_SECTION 120 |
3c93fbac | 53 | # define CRYPTO_R_ZERO_LENGTH_NUMBER 115 |
52df25cf RS |
54 | |
55 | #endif |