gateway2/Tongsuo-8.4.0/include/openssl/zkpbperr.h
2026-07-11 13:40:57 +08:00

41 lines
1.5 KiB
C

/*
* Generated by util/mkerr.pl DO NOT EDIT
* Copyright 1995-2023 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_ZKPBPERR_H
# define OPENSSL_ZKPBPERR_H
# pragma once
# include <openssl/opensslconf.h>
# include <openssl/symhacks.h>
# include <openssl/cryptoerr_legacy.h>
/*
* ZKP_BP reason codes.
*/
# define ZKP_BP_R_EXCEEDS_GENS_CAPACITY 106
# define ZKP_BP_R_EXCEEDS_MAX_AGG_NUM 100
# define ZKP_BP_R_EXCEEDS_MAX_BITS 101
# define ZKP_BP_R_EXCEEDS_PARTY_CAPACITY 104
# define ZKP_BP_R_EXCEEDS_PP_CAPACITY 102
# define ZKP_BP_R_R1CS_CONSTRAINT_EXPRESSION_FORMAT_ERROR 109
# define ZKP_BP_R_R1CS_CONSTRAINT_EXPRESSION_NO_VAR 110
# define ZKP_BP_R_R1CS_CONSTRAINT_EXPRESSION_PROCESS_ERROR 111
# define ZKP_BP_R_R1CS_CONSTRAINT_EXPRESSION_VAR_NOT_FOUND 112
# define ZKP_BP_R_R1CS_CONSTRAINT_EXPRESSION_VAR_TOO_LONG 113
# define ZKP_BP_R_RANGE_LEN_MUST_BE_POWER_OF_TWO 114
# define ZKP_BP_R_TRANSCRIPT_INIT_FAILED 103
# define ZKP_BP_R_VARIABLE_DUPLICATED 107
# define ZKP_BP_R_VARIABLE_NAME_TOO_LONG 108
# define ZKP_BP_R_WITNESS_INVALID 105
#endif