xref: /third_party/openssl/crypto/evp/evp_err.c (revision e1051a39)
1e1051a39Sopenharmony_ci/*
2e1051a39Sopenharmony_ci * Generated by util/mkerr.pl DO NOT EDIT
3e1051a39Sopenharmony_ci * Copyright 1995-2021 The OpenSSL Project Authors. All Rights Reserved.
4e1051a39Sopenharmony_ci *
5e1051a39Sopenharmony_ci * Licensed under the Apache License 2.0 (the "License").  You may not use
6e1051a39Sopenharmony_ci * this file except in compliance with the License.  You can obtain a copy
7e1051a39Sopenharmony_ci * in the file LICENSE in the source distribution or at
8e1051a39Sopenharmony_ci * https://www.openssl.org/source/license.html
9e1051a39Sopenharmony_ci */
10e1051a39Sopenharmony_ci
11e1051a39Sopenharmony_ci#include <openssl/err.h>
12e1051a39Sopenharmony_ci#include <openssl/evperr.h>
13e1051a39Sopenharmony_ci#include "crypto/evperr.h"
14e1051a39Sopenharmony_ci
15e1051a39Sopenharmony_ci#ifndef OPENSSL_NO_ERR
16e1051a39Sopenharmony_ci
17e1051a39Sopenharmony_cistatic const ERR_STRING_DATA EVP_str_reasons[] = {
18e1051a39Sopenharmony_ci    {ERR_PACK(ERR_LIB_EVP, 0, EVP_R_AES_KEY_SETUP_FAILED),
19e1051a39Sopenharmony_ci    "aes key setup failed"},
20e1051a39Sopenharmony_ci    {ERR_PACK(ERR_LIB_EVP, 0, EVP_R_ARIA_KEY_SETUP_FAILED),
21e1051a39Sopenharmony_ci    "aria key setup failed"},
22e1051a39Sopenharmony_ci    {ERR_PACK(ERR_LIB_EVP, 0, EVP_R_BAD_ALGORITHM_NAME), "bad algorithm name"},
23e1051a39Sopenharmony_ci    {ERR_PACK(ERR_LIB_EVP, 0, EVP_R_BAD_DECRYPT), "bad decrypt"},
24e1051a39Sopenharmony_ci    {ERR_PACK(ERR_LIB_EVP, 0, EVP_R_BAD_KEY_LENGTH), "bad key length"},
25e1051a39Sopenharmony_ci    {ERR_PACK(ERR_LIB_EVP, 0, EVP_R_BUFFER_TOO_SMALL), "buffer too small"},
26e1051a39Sopenharmony_ci    {ERR_PACK(ERR_LIB_EVP, 0, EVP_R_CACHE_CONSTANTS_FAILED),
27e1051a39Sopenharmony_ci    "cache constants failed"},
28e1051a39Sopenharmony_ci    {ERR_PACK(ERR_LIB_EVP, 0, EVP_R_CAMELLIA_KEY_SETUP_FAILED),
29e1051a39Sopenharmony_ci    "camellia key setup failed"},
30e1051a39Sopenharmony_ci    {ERR_PACK(ERR_LIB_EVP, 0, EVP_R_CANNOT_GET_PARAMETERS),
31e1051a39Sopenharmony_ci    "cannot get parameters"},
32e1051a39Sopenharmony_ci    {ERR_PACK(ERR_LIB_EVP, 0, EVP_R_CANNOT_SET_PARAMETERS),
33e1051a39Sopenharmony_ci    "cannot set parameters"},
34e1051a39Sopenharmony_ci    {ERR_PACK(ERR_LIB_EVP, 0, EVP_R_CIPHER_NOT_GCM_MODE),
35e1051a39Sopenharmony_ci    "cipher not gcm mode"},
36e1051a39Sopenharmony_ci    {ERR_PACK(ERR_LIB_EVP, 0, EVP_R_CIPHER_PARAMETER_ERROR),
37e1051a39Sopenharmony_ci    "cipher parameter error"},
38e1051a39Sopenharmony_ci    {ERR_PACK(ERR_LIB_EVP, 0, EVP_R_COMMAND_NOT_SUPPORTED),
39e1051a39Sopenharmony_ci    "command not supported"},
40e1051a39Sopenharmony_ci    {ERR_PACK(ERR_LIB_EVP, 0, EVP_R_CONFLICTING_ALGORITHM_NAME),
41e1051a39Sopenharmony_ci    "conflicting algorithm name"},
42e1051a39Sopenharmony_ci    {ERR_PACK(ERR_LIB_EVP, 0, EVP_R_COPY_ERROR), "copy error"},
43e1051a39Sopenharmony_ci    {ERR_PACK(ERR_LIB_EVP, 0, EVP_R_CTRL_NOT_IMPLEMENTED),
44e1051a39Sopenharmony_ci    "ctrl not implemented"},
45e1051a39Sopenharmony_ci    {ERR_PACK(ERR_LIB_EVP, 0, EVP_R_CTRL_OPERATION_NOT_IMPLEMENTED),
46e1051a39Sopenharmony_ci    "ctrl operation not implemented"},
47e1051a39Sopenharmony_ci    {ERR_PACK(ERR_LIB_EVP, 0, EVP_R_DATA_NOT_MULTIPLE_OF_BLOCK_LENGTH),
48e1051a39Sopenharmony_ci    "data not multiple of block length"},
49e1051a39Sopenharmony_ci    {ERR_PACK(ERR_LIB_EVP, 0, EVP_R_DECODE_ERROR), "decode error"},
50e1051a39Sopenharmony_ci    {ERR_PACK(ERR_LIB_EVP, 0, EVP_R_DEFAULT_QUERY_PARSE_ERROR),
51e1051a39Sopenharmony_ci    "default query parse error"},
52e1051a39Sopenharmony_ci    {ERR_PACK(ERR_LIB_EVP, 0, EVP_R_DIFFERENT_KEY_TYPES),
53e1051a39Sopenharmony_ci    "different key types"},
54e1051a39Sopenharmony_ci    {ERR_PACK(ERR_LIB_EVP, 0, EVP_R_DIFFERENT_PARAMETERS),
55e1051a39Sopenharmony_ci    "different parameters"},
56e1051a39Sopenharmony_ci    {ERR_PACK(ERR_LIB_EVP, 0, EVP_R_ERROR_LOADING_SECTION),
57e1051a39Sopenharmony_ci    "error loading section"},
58e1051a39Sopenharmony_ci    {ERR_PACK(ERR_LIB_EVP, 0, EVP_R_EXPECTING_AN_HMAC_KEY),
59e1051a39Sopenharmony_ci    "expecting an hmac key"},
60e1051a39Sopenharmony_ci    {ERR_PACK(ERR_LIB_EVP, 0, EVP_R_EXPECTING_AN_RSA_KEY),
61e1051a39Sopenharmony_ci    "expecting an rsa key"},
62e1051a39Sopenharmony_ci    {ERR_PACK(ERR_LIB_EVP, 0, EVP_R_EXPECTING_A_DH_KEY), "expecting a dh key"},
63e1051a39Sopenharmony_ci    {ERR_PACK(ERR_LIB_EVP, 0, EVP_R_EXPECTING_A_DSA_KEY),
64e1051a39Sopenharmony_ci    "expecting a dsa key"},
65e1051a39Sopenharmony_ci    {ERR_PACK(ERR_LIB_EVP, 0, EVP_R_EXPECTING_A_ECX_KEY),
66e1051a39Sopenharmony_ci    "expecting an ecx key"},
67e1051a39Sopenharmony_ci    {ERR_PACK(ERR_LIB_EVP, 0, EVP_R_EXPECTING_A_EC_KEY), "expecting an ec key"},
68e1051a39Sopenharmony_ci    {ERR_PACK(ERR_LIB_EVP, 0, EVP_R_EXPECTING_A_POLY1305_KEY),
69e1051a39Sopenharmony_ci    "expecting a poly1305 key"},
70e1051a39Sopenharmony_ci    {ERR_PACK(ERR_LIB_EVP, 0, EVP_R_EXPECTING_A_SIPHASH_KEY),
71e1051a39Sopenharmony_ci    "expecting a siphash key"},
72e1051a39Sopenharmony_ci    {ERR_PACK(ERR_LIB_EVP, 0, EVP_R_FINAL_ERROR), "final error"},
73e1051a39Sopenharmony_ci    {ERR_PACK(ERR_LIB_EVP, 0, EVP_R_GENERATE_ERROR), "generate error"},
74e1051a39Sopenharmony_ci    {ERR_PACK(ERR_LIB_EVP, 0, EVP_R_GET_RAW_KEY_FAILED), "get raw key failed"},
75e1051a39Sopenharmony_ci    {ERR_PACK(ERR_LIB_EVP, 0, EVP_R_ILLEGAL_SCRYPT_PARAMETERS),
76e1051a39Sopenharmony_ci    "illegal scrypt parameters"},
77e1051a39Sopenharmony_ci    {ERR_PACK(ERR_LIB_EVP, 0, EVP_R_INACCESSIBLE_DOMAIN_PARAMETERS),
78e1051a39Sopenharmony_ci    "inaccessible domain parameters"},
79e1051a39Sopenharmony_ci    {ERR_PACK(ERR_LIB_EVP, 0, EVP_R_INACCESSIBLE_KEY), "inaccessible key"},
80e1051a39Sopenharmony_ci    {ERR_PACK(ERR_LIB_EVP, 0, EVP_R_INITIALIZATION_ERROR),
81e1051a39Sopenharmony_ci    "initialization error"},
82e1051a39Sopenharmony_ci    {ERR_PACK(ERR_LIB_EVP, 0, EVP_R_INPUT_NOT_INITIALIZED),
83e1051a39Sopenharmony_ci    "input not initialized"},
84e1051a39Sopenharmony_ci    {ERR_PACK(ERR_LIB_EVP, 0, EVP_R_INVALID_CUSTOM_LENGTH),
85e1051a39Sopenharmony_ci    "invalid custom length"},
86e1051a39Sopenharmony_ci    {ERR_PACK(ERR_LIB_EVP, 0, EVP_R_INVALID_DIGEST), "invalid digest"},
87e1051a39Sopenharmony_ci    {ERR_PACK(ERR_LIB_EVP, 0, EVP_R_INVALID_IV_LENGTH), "invalid iv length"},
88e1051a39Sopenharmony_ci    {ERR_PACK(ERR_LIB_EVP, 0, EVP_R_INVALID_KEY), "invalid key"},
89e1051a39Sopenharmony_ci    {ERR_PACK(ERR_LIB_EVP, 0, EVP_R_INVALID_KEY_LENGTH), "invalid key length"},
90e1051a39Sopenharmony_ci    {ERR_PACK(ERR_LIB_EVP, 0, EVP_R_INVALID_LENGTH), "invalid length"},
91e1051a39Sopenharmony_ci    {ERR_PACK(ERR_LIB_EVP, 0, EVP_R_INVALID_NULL_ALGORITHM),
92e1051a39Sopenharmony_ci    "invalid null algorithm"},
93e1051a39Sopenharmony_ci    {ERR_PACK(ERR_LIB_EVP, 0, EVP_R_INVALID_OPERATION), "invalid operation"},
94e1051a39Sopenharmony_ci    {ERR_PACK(ERR_LIB_EVP, 0, EVP_R_INVALID_PROVIDER_FUNCTIONS),
95e1051a39Sopenharmony_ci    "invalid provider functions"},
96e1051a39Sopenharmony_ci    {ERR_PACK(ERR_LIB_EVP, 0, EVP_R_INVALID_SALT_LENGTH),
97e1051a39Sopenharmony_ci    "invalid salt length"},
98e1051a39Sopenharmony_ci    {ERR_PACK(ERR_LIB_EVP, 0, EVP_R_INVALID_SECRET_LENGTH),
99e1051a39Sopenharmony_ci    "invalid secret length"},
100e1051a39Sopenharmony_ci    {ERR_PACK(ERR_LIB_EVP, 0, EVP_R_INVALID_SEED_LENGTH),
101e1051a39Sopenharmony_ci    "invalid seed length"},
102e1051a39Sopenharmony_ci    {ERR_PACK(ERR_LIB_EVP, 0, EVP_R_INVALID_VALUE), "invalid value"},
103e1051a39Sopenharmony_ci    {ERR_PACK(ERR_LIB_EVP, 0, EVP_R_KEYMGMT_EXPORT_FAILURE),
104e1051a39Sopenharmony_ci    "keymgmt export failure"},
105e1051a39Sopenharmony_ci    {ERR_PACK(ERR_LIB_EVP, 0, EVP_R_KEY_SETUP_FAILED), "key setup failed"},
106e1051a39Sopenharmony_ci    {ERR_PACK(ERR_LIB_EVP, 0, EVP_R_LOCKING_NOT_SUPPORTED),
107e1051a39Sopenharmony_ci    "locking not supported"},
108e1051a39Sopenharmony_ci    {ERR_PACK(ERR_LIB_EVP, 0, EVP_R_MEMORY_LIMIT_EXCEEDED),
109e1051a39Sopenharmony_ci    "memory limit exceeded"},
110e1051a39Sopenharmony_ci    {ERR_PACK(ERR_LIB_EVP, 0, EVP_R_MESSAGE_DIGEST_IS_NULL),
111e1051a39Sopenharmony_ci    "message digest is null"},
112e1051a39Sopenharmony_ci    {ERR_PACK(ERR_LIB_EVP, 0, EVP_R_METHOD_NOT_SUPPORTED),
113e1051a39Sopenharmony_ci    "method not supported"},
114e1051a39Sopenharmony_ci    {ERR_PACK(ERR_LIB_EVP, 0, EVP_R_MISSING_PARAMETERS), "missing parameters"},
115e1051a39Sopenharmony_ci    {ERR_PACK(ERR_LIB_EVP, 0, EVP_R_NOT_ABLE_TO_COPY_CTX),
116e1051a39Sopenharmony_ci    "not able to copy ctx"},
117e1051a39Sopenharmony_ci    {ERR_PACK(ERR_LIB_EVP, 0, EVP_R_NOT_XOF_OR_INVALID_LENGTH),
118e1051a39Sopenharmony_ci    "not XOF or invalid length"},
119e1051a39Sopenharmony_ci    {ERR_PACK(ERR_LIB_EVP, 0, EVP_R_NO_CIPHER_SET), "no cipher set"},
120e1051a39Sopenharmony_ci    {ERR_PACK(ERR_LIB_EVP, 0, EVP_R_NO_DEFAULT_DIGEST), "no default digest"},
121e1051a39Sopenharmony_ci    {ERR_PACK(ERR_LIB_EVP, 0, EVP_R_NO_DIGEST_SET), "no digest set"},
122e1051a39Sopenharmony_ci    {ERR_PACK(ERR_LIB_EVP, 0, EVP_R_NO_IMPORT_FUNCTION), "no import function"},
123e1051a39Sopenharmony_ci    {ERR_PACK(ERR_LIB_EVP, 0, EVP_R_NO_KEYMGMT_AVAILABLE),
124e1051a39Sopenharmony_ci    "no keymgmt available"},
125e1051a39Sopenharmony_ci    {ERR_PACK(ERR_LIB_EVP, 0, EVP_R_NO_KEYMGMT_PRESENT), "no keymgmt present"},
126e1051a39Sopenharmony_ci    {ERR_PACK(ERR_LIB_EVP, 0, EVP_R_NO_KEY_SET), "no key set"},
127e1051a39Sopenharmony_ci    {ERR_PACK(ERR_LIB_EVP, 0, EVP_R_NO_OPERATION_SET), "no operation set"},
128e1051a39Sopenharmony_ci    {ERR_PACK(ERR_LIB_EVP, 0, EVP_R_NULL_MAC_PKEY_CTX), "null mac pkey ctx"},
129e1051a39Sopenharmony_ci    {ERR_PACK(ERR_LIB_EVP, 0, EVP_R_ONLY_ONESHOT_SUPPORTED),
130e1051a39Sopenharmony_ci    "only oneshot supported"},
131e1051a39Sopenharmony_ci    {ERR_PACK(ERR_LIB_EVP, 0, EVP_R_OPERATION_NOT_INITIALIZED),
132e1051a39Sopenharmony_ci    "operation not initialized"},
133e1051a39Sopenharmony_ci    {ERR_PACK(ERR_LIB_EVP, 0, EVP_R_OPERATION_NOT_SUPPORTED_FOR_THIS_KEYTYPE),
134e1051a39Sopenharmony_ci    "operation not supported for this keytype"},
135e1051a39Sopenharmony_ci    {ERR_PACK(ERR_LIB_EVP, 0, EVP_R_OUTPUT_WOULD_OVERFLOW),
136e1051a39Sopenharmony_ci    "output would overflow"},
137e1051a39Sopenharmony_ci    {ERR_PACK(ERR_LIB_EVP, 0, EVP_R_PARAMETER_TOO_LARGE),
138e1051a39Sopenharmony_ci    "parameter too large"},
139e1051a39Sopenharmony_ci    {ERR_PACK(ERR_LIB_EVP, 0, EVP_R_PARTIALLY_OVERLAPPING),
140e1051a39Sopenharmony_ci    "partially overlapping buffers"},
141e1051a39Sopenharmony_ci    {ERR_PACK(ERR_LIB_EVP, 0, EVP_R_PBKDF2_ERROR), "pbkdf2 error"},
142e1051a39Sopenharmony_ci    {ERR_PACK(ERR_LIB_EVP, 0, EVP_R_PKEY_APPLICATION_ASN1_METHOD_ALREADY_REGISTERED),
143e1051a39Sopenharmony_ci    "pkey application asn1 method already registered"},
144e1051a39Sopenharmony_ci    {ERR_PACK(ERR_LIB_EVP, 0, EVP_R_PRIVATE_KEY_DECODE_ERROR),
145e1051a39Sopenharmony_ci    "private key decode error"},
146e1051a39Sopenharmony_ci    {ERR_PACK(ERR_LIB_EVP, 0, EVP_R_PRIVATE_KEY_ENCODE_ERROR),
147e1051a39Sopenharmony_ci    "private key encode error"},
148e1051a39Sopenharmony_ci    {ERR_PACK(ERR_LIB_EVP, 0, EVP_R_PUBLIC_KEY_NOT_RSA), "public key not rsa"},
149e1051a39Sopenharmony_ci    {ERR_PACK(ERR_LIB_EVP, 0, EVP_R_SETTING_XOF_FAILED), "setting xof failed"},
150e1051a39Sopenharmony_ci    {ERR_PACK(ERR_LIB_EVP, 0, EVP_R_SET_DEFAULT_PROPERTY_FAILURE),
151e1051a39Sopenharmony_ci    "set default property failure"},
152e1051a39Sopenharmony_ci    {ERR_PACK(ERR_LIB_EVP, 0, EVP_R_TOO_MANY_RECORDS), "too many records"},
153e1051a39Sopenharmony_ci    {ERR_PACK(ERR_LIB_EVP, 0, EVP_R_UNABLE_TO_ENABLE_LOCKING),
154e1051a39Sopenharmony_ci    "unable to enable locking"},
155e1051a39Sopenharmony_ci    {ERR_PACK(ERR_LIB_EVP, 0, EVP_R_UNABLE_TO_GET_MAXIMUM_REQUEST_SIZE),
156e1051a39Sopenharmony_ci    "unable to get maximum request size"},
157e1051a39Sopenharmony_ci    {ERR_PACK(ERR_LIB_EVP, 0, EVP_R_UNABLE_TO_GET_RANDOM_STRENGTH),
158e1051a39Sopenharmony_ci    "unable to get random strength"},
159e1051a39Sopenharmony_ci    {ERR_PACK(ERR_LIB_EVP, 0, EVP_R_UNABLE_TO_LOCK_CONTEXT),
160e1051a39Sopenharmony_ci    "unable to lock context"},
161e1051a39Sopenharmony_ci    {ERR_PACK(ERR_LIB_EVP, 0, EVP_R_UNABLE_TO_SET_CALLBACKS),
162e1051a39Sopenharmony_ci    "unable to set callbacks"},
163e1051a39Sopenharmony_ci    {ERR_PACK(ERR_LIB_EVP, 0, EVP_R_UNKNOWN_CIPHER), "unknown cipher"},
164e1051a39Sopenharmony_ci    {ERR_PACK(ERR_LIB_EVP, 0, EVP_R_UNKNOWN_DIGEST), "unknown digest"},
165e1051a39Sopenharmony_ci    {ERR_PACK(ERR_LIB_EVP, 0, EVP_R_UNKNOWN_KEY_TYPE), "unknown key type"},
166e1051a39Sopenharmony_ci    {ERR_PACK(ERR_LIB_EVP, 0, EVP_R_UNKNOWN_OPTION), "unknown option"},
167e1051a39Sopenharmony_ci    {ERR_PACK(ERR_LIB_EVP, 0, EVP_R_UNKNOWN_PBE_ALGORITHM),
168e1051a39Sopenharmony_ci    "unknown pbe algorithm"},
169e1051a39Sopenharmony_ci    {ERR_PACK(ERR_LIB_EVP, 0, EVP_R_UNSUPPORTED_ALGORITHM),
170e1051a39Sopenharmony_ci    "unsupported algorithm"},
171e1051a39Sopenharmony_ci    {ERR_PACK(ERR_LIB_EVP, 0, EVP_R_UNSUPPORTED_CIPHER), "unsupported cipher"},
172e1051a39Sopenharmony_ci    {ERR_PACK(ERR_LIB_EVP, 0, EVP_R_UNSUPPORTED_KEYLENGTH),
173e1051a39Sopenharmony_ci    "unsupported keylength"},
174e1051a39Sopenharmony_ci    {ERR_PACK(ERR_LIB_EVP, 0, EVP_R_UNSUPPORTED_KEY_DERIVATION_FUNCTION),
175e1051a39Sopenharmony_ci    "unsupported key derivation function"},
176e1051a39Sopenharmony_ci    {ERR_PACK(ERR_LIB_EVP, 0, EVP_R_UNSUPPORTED_KEY_SIZE),
177e1051a39Sopenharmony_ci    "unsupported key size"},
178e1051a39Sopenharmony_ci    {ERR_PACK(ERR_LIB_EVP, 0, EVP_R_UNSUPPORTED_KEY_TYPE),
179e1051a39Sopenharmony_ci    "unsupported key type"},
180e1051a39Sopenharmony_ci    {ERR_PACK(ERR_LIB_EVP, 0, EVP_R_UNSUPPORTED_NUMBER_OF_ROUNDS),
181e1051a39Sopenharmony_ci    "unsupported number of rounds"},
182e1051a39Sopenharmony_ci    {ERR_PACK(ERR_LIB_EVP, 0, EVP_R_UNSUPPORTED_PRF), "unsupported prf"},
183e1051a39Sopenharmony_ci    {ERR_PACK(ERR_LIB_EVP, 0, EVP_R_UNSUPPORTED_PRIVATE_KEY_ALGORITHM),
184e1051a39Sopenharmony_ci    "unsupported private key algorithm"},
185e1051a39Sopenharmony_ci    {ERR_PACK(ERR_LIB_EVP, 0, EVP_R_UNSUPPORTED_SALT_TYPE),
186e1051a39Sopenharmony_ci    "unsupported salt type"},
187e1051a39Sopenharmony_ci    {ERR_PACK(ERR_LIB_EVP, 0, EVP_R_UPDATE_ERROR), "update error"},
188e1051a39Sopenharmony_ci    {ERR_PACK(ERR_LIB_EVP, 0, EVP_R_WRAP_MODE_NOT_ALLOWED),
189e1051a39Sopenharmony_ci    "wrap mode not allowed"},
190e1051a39Sopenharmony_ci    {ERR_PACK(ERR_LIB_EVP, 0, EVP_R_WRONG_FINAL_BLOCK_LENGTH),
191e1051a39Sopenharmony_ci    "wrong final block length"},
192e1051a39Sopenharmony_ci    {ERR_PACK(ERR_LIB_EVP, 0, EVP_R_XTS_DATA_UNIT_IS_TOO_LARGE),
193e1051a39Sopenharmony_ci    "xts data unit is too large"},
194e1051a39Sopenharmony_ci    {ERR_PACK(ERR_LIB_EVP, 0, EVP_R_XTS_DUPLICATED_KEYS),
195e1051a39Sopenharmony_ci    "xts duplicated keys"},
196e1051a39Sopenharmony_ci    {0, NULL}
197e1051a39Sopenharmony_ci};
198e1051a39Sopenharmony_ci
199e1051a39Sopenharmony_ci#endif
200e1051a39Sopenharmony_ci
201e1051a39Sopenharmony_ciint ossl_err_load_EVP_strings(void)
202e1051a39Sopenharmony_ci{
203e1051a39Sopenharmony_ci#ifndef OPENSSL_NO_ERR
204e1051a39Sopenharmony_ci    if (ERR_reason_error_string(EVP_str_reasons[0].error) == NULL)
205e1051a39Sopenharmony_ci        ERR_load_strings_const(EVP_str_reasons);
206e1051a39Sopenharmony_ci#endif
207e1051a39Sopenharmony_ci    return 1;
208e1051a39Sopenharmony_ci}
209