diff options
author | Paul Yang <yang.yang@baishancloud.com> | 2018-09-04 17:21:10 +0800 |
---|---|---|
committer | Paul Yang <yang.yang@baishancloud.com> | 2018-09-07 18:12:26 +0800 |
commit | 4803717f5e3bcfba3e3442e1611f421bf1090a47 (patch) | |
tree | f5745d40a7eeb81e8e49f734ae6f962173981eb7 /crypto/err | |
parent | 00433bad41bfa492f2e204675d42061314028ff2 (diff) | |
download | openssl-4803717f5e3bcfba3e3442e1611f421bf1090a47.zip openssl-4803717f5e3bcfba3e3442e1611f421bf1090a47.tar.gz openssl-4803717f5e3bcfba3e3442e1611f421bf1090a47.tar.bz2 |
Support setting SM2 ID
zero-length ID is allowed, but it's not allowed to skip the ID.
Fixes: #6534
Reviewed-by: Tim Hudson <tjh@openssl.org>
Reviewed-by: Matt Caswell <matt@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/7113)
Diffstat (limited to 'crypto/err')
-rw-r--r-- | crypto/err/openssl.txt | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/crypto/err/openssl.txt b/crypto/err/openssl.txt index 3ecd44b..2f86786 100644 --- a/crypto/err/openssl.txt +++ b/crypto/err/openssl.txt @@ -1086,6 +1086,7 @@ SM2_F_PKEY_SM2_INIT:111:pkey_sm2_init SM2_F_PKEY_SM2_SIGN:112:pkey_sm2_sign SM2_F_SM2_COMPUTE_MSG_HASH:100:sm2_compute_msg_hash SM2_F_SM2_COMPUTE_USERID_DIGEST:101:sm2_compute_userid_digest +SM2_F_SM2_COMPUTE_Z_DIGEST:113:sm2_compute_z_digest SM2_F_SM2_DECRYPT:102:sm2_decrypt SM2_F_SM2_ENCRYPT:103:sm2_encrypt SM2_F_SM2_PLAINTEXT_SIZE:104:sm2_plaintext_size @@ -2554,6 +2555,8 @@ RSA_R_WRONG_SIGNATURE_LENGTH:119:wrong signature length SM2_R_ASN1_ERROR:100:asn1 error SM2_R_BAD_SIGNATURE:101:bad signature SM2_R_BUFFER_TOO_SMALL:107:buffer too small +SM2_R_DIST_ID_TOO_LARGE:110:dist id too large +SM2_R_ID_TOO_LARGE:111:id too large SM2_R_INVALID_CURVE:108:invalid curve SM2_R_INVALID_DIGEST:102:invalid digest SM2_R_INVALID_DIGEST_TYPE:103:invalid digest type |