diff options
author | Matt Caswell <matt@openssl.org> | 2018-05-31 14:43:14 +0100 |
---|---|---|
committer | Matt Caswell <matt@openssl.org> | 2018-06-04 11:59:56 +0100 |
commit | 245be5304d7c8e4a4345c971791cbf03cb5ca603 (patch) | |
tree | 608d85995a97a439244b46786453ffb00a4e48b7 /crypto/include | |
parent | e14d6cf691c9d8ad49df280b580b6836a67c6a19 (diff) |
More more on SM2 error codes and tidy up
Reviewed-by: Richard Levitte <levitte@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/6386)
Diffstat (limited to 'crypto/include')
-rw-r--r-- | crypto/include/internal/sm2err.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/crypto/include/internal/sm2err.h b/crypto/include/internal/sm2err.h index 93af92664e..0842666a31 100644 --- a/crypto/include/internal/sm2err.h +++ b/crypto/include/internal/sm2err.h @@ -29,8 +29,10 @@ int ERR_load_SM2_strings(void); # define SM2_F_PKEY_SM2_PARAMGEN 277 # define SM2_F_PKEY_SM2_SIGN 278 # define SM2_F_SM2_COMPUTE_MSG_HASH 284 +# define SM2_F_SM2_COMPUTE_USERID_DIGEST 286 # define SM2_F_SM2_DECRYPT 279 # define SM2_F_SM2_ENCRYPT 280 +# define SM2_F_SM2_PLAINTEXT_SIZE 287 # define SM2_F_SM2_SIGN 281 # define SM2_F_SM2_SIG_GEN 285 # define SM2_F_SM2_SIG_VERIFY 282 @@ -97,6 +99,7 @@ int ERR_load_SM2_strings(void); # define SM2_R_UNKNOWN_GROUP 129 # define SM2_R_UNKNOWN_ORDER 114 # define SM2_R_UNSUPPORTED_FIELD 131 +# define SM2_R_USER_ID_TOO_LARGE 136 # define SM2_R_WRONG_CURVE_PARAMETERS 145 # define SM2_R_WRONG_ORDER 130 |