/*
 * Generated by util/mkerr.pl DO NOT EDIT
 * Copyright 1995-2024 The OpenSSL Project Authors. All Rights Reserved.
 *
 * Licensed under the Apache License 2.0 (the "License").  You may not use
 * this file except in compliance with the License.  You can obtain a copy
 * in the file LICENSE in the source distribution or at
 * https://www.openssl.org/source/license.html
 */

#ifndef OPENSSL_CMVPERR_H
# define OPENSSL_CMVPERR_H
# pragma once

# include <openssl/opensslconf.h>
# include <openssl/symhacks.h>
# include <openssl/cryptoerr_legacy.h>


# ifndef OPENSSL_NO_GM_CMVP


/*
 * CMVP reason codes.
 */
#  define CMVP_R_ASYM_CREATE_KEY_ERROR                     100
#  define CMVP_R_ASYM_DECRYPT_ERROR                        101
#  define CMVP_R_ASYM_DERIVE_ERROR                         102
#  define CMVP_R_ASYM_DERIVE_SET_PEER_ERROR                103
#  define CMVP_R_ASYM_ENCRYPT_ERROR                        104
#  define CMVP_R_ASYM_INIT_CTX_ERROR                       105
#  define CMVP_R_ASYM_INIT_DERIVE_CTX_ERROR                106
#  define CMVP_R_ASYM_NEW_CTX_ERROR                        107
#  define CMVP_R_ASYM_SIGN_FINAL_ERROR                     108
#  define CMVP_R_ASYM_SIGN_INIT_ERROR                      109
#  define CMVP_R_ASYM_SIGN_UPDATE_ERROR                    110
#  define CMVP_R_ASYM_VERIFY_FINAL_ERROR                   111
#  define CMVP_R_ASYM_VERIFY_INIT_ERROR                    112
#  define CMVP_R_ASYM_VERIFY_UPDATE_ERROR                  113
#  define CMVP_R_CIPHER_FINAL_ERROR                        114
#  define CMVP_R_CIPHER_INIT_ERROR                         115
#  define CMVP_R_CIPHER_UPDATE_ERROR                       116
#  define CMVP_R_CREATE_KEY_ERROR                          117
#  define CMVP_R_CREATE_PARAM_ERROR                        118
#  define CMVP_R_DECRYPT_ERROR                             119
#  define CMVP_R_DRBG_GENERATE_ERROR                       120
#  define CMVP_R_DRBG_INSTANTIATE_ERR                      121
#  define CMVP_R_DRBG_SET_PARAMS_ERROR                     122
#  define CMVP_R_DRBG_UNINSTANTIATE_ERR                    123
#  define CMVP_R_DRBG_VERIFY_ZEROIZATION_ERR               124
#  define CMVP_R_ENCRYPT_ERROR                             125
#  define CMVP_R_FETCH_CIPHER_ALG_ERROR                    126
#  define CMVP_R_FETCH_DRBG_ALG_ERROR                      127
#  define CMVP_R_FETCH_HASH_ALG_ERROR                      128
#  define CMVP_R_FETCH_HMAC_ALG_ERROR                      129
#  define CMVP_R_HASH_FINAL_ERROR                          130
#  define CMVP_R_HASH_INIT_ERROR                           131
#  define CMVP_R_HASH_SIZE_INVALID                         132
#  define CMVP_R_HASH_UPDATE_ERROR                         133
#  define CMVP_R_HEXSTR2BN_ERROR                           134
#  define CMVP_R_HEXSTR2BUF_ERROR                          135
#  define CMVP_R_I2D_ECDSA_SIG_ERROR                       136
#  define CMVP_R_INVALID_CURVE_NAME                        137
#  define CMVP_R_INVALID_PARAM                             138
#  define CMVP_R_KDF_DERIVE_ERROR                          139
#  define CMVP_R_KDF_FETCH_ERROR                           140
#  define CMVP_R_MAC_FINAL_ERROR                           141
#  define CMVP_R_MAC_INIT_ERROR                            142
#  define CMVP_R_MAC_UPDATE_ERROR                          143
#  define CMVP_R_MEMCMP_ERROR                              144
#  define CMVP_R_NEW_CTX_ERROR                             145
#  define CMVP_R_NEW_EC_GROUP_ERROR                        146
#  define CMVP_R_NEW_EC_POINT_ERROR                        147
#  define CMVP_R_NEW_RAND_CTX_ERROR                        148
#  define CMVP_R_POINT2BUFF_ERROR                          149
#  define CMVP_R_SET_COORDINATE_ERROR                      150
#  define CMVP_R_SM2_SET_ID_ERROR                          151

# endif
#endif
