2 * Generated by util/mkerr.pl DO NOT EDIT
3 * Copyright 1995-2018 The OpenSSL Project Authors. All Rights Reserved.
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
11 #ifndef HEADER_SM2ERR_H
12 # define HEADER_SM2ERR_H
14 # include <openssl/opensslconf.h>
16 # ifndef OPENSSL_NO_SM2
21 int ERR_load_SM2_strings(void);
26 # define SM2_F_SM2_COMPUTE_MSG_HASH 100
27 # define SM2_F_SM2_COMPUTE_USERID_DIGEST 101
28 # define SM2_F_SM2_DECRYPT 102
29 # define SM2_F_SM2_ENCRYPT 103
30 # define SM2_F_SM2_PLAINTEXT_SIZE 104
31 # define SM2_F_SM2_SIGN 105
32 # define SM2_F_SM2_SIG_GEN 106
33 # define SM2_F_SM2_SIG_VERIFY 107
34 # define SM2_F_SM2_VERIFY 108
39 # define SM2_R_ASN1_ERROR 100
40 # define SM2_R_BAD_SIGNATURE 101
41 # define SM2_R_INVALID_DIGEST 102
42 # define SM2_R_INVALID_DIGEST_TYPE 103
43 # define SM2_R_INVALID_ENCODING 104
44 # define SM2_R_INVALID_FIELD 105
45 # define SM2_R_USER_ID_TOO_LARGE 106