Home
last modified time | relevance | path

Searched refs:SM2err (Results 1 – 5 of 5) sorted by relevance

/third_party/openssl/crypto/sm2/
Dsm2_sign.c47 SM2err(SM2_F_SM2_COMPUTE_Z_DIGEST, ERR_R_MALLOC_FAILURE); in sm2_compute_z_digest()
60 SM2err(SM2_F_SM2_COMPUTE_Z_DIGEST, ERR_R_MALLOC_FAILURE); in sm2_compute_z_digest()
65 SM2err(SM2_F_SM2_COMPUTE_Z_DIGEST, ERR_R_EVP_LIB); in sm2_compute_z_digest()
73 SM2err(SM2_F_SM2_COMPUTE_Z_DIGEST, SM2_R_ID_TOO_LARGE); in sm2_compute_z_digest()
81 SM2err(SM2_F_SM2_COMPUTE_Z_DIGEST, ERR_R_EVP_LIB); in sm2_compute_z_digest()
86 SM2err(SM2_F_SM2_COMPUTE_Z_DIGEST, ERR_R_EVP_LIB); in sm2_compute_z_digest()
91 SM2err(SM2_F_SM2_COMPUTE_Z_DIGEST, ERR_R_EVP_LIB); in sm2_compute_z_digest()
96 SM2err(SM2_F_SM2_COMPUTE_Z_DIGEST, ERR_R_EC_LIB); in sm2_compute_z_digest()
103 SM2err(SM2_F_SM2_COMPUTE_Z_DIGEST, ERR_R_MALLOC_FAILURE); in sm2_compute_z_digest()
126 SM2err(SM2_F_SM2_COMPUTE_Z_DIGEST, ERR_R_INTERNAL_ERROR); in sm2_compute_z_digest()
[all …]
Dsm2_crypt.c71 SM2err(SM2_F_SM2_PLAINTEXT_SIZE, SM2_R_INVALID_ENCODING); in sm2_plaintext_size()
132 SM2err(SM2_F_SM2_ENCRYPT, ERR_R_INTERNAL_ERROR); in sm2_encrypt()
138 SM2err(SM2_F_SM2_ENCRYPT, ERR_R_INTERNAL_ERROR); in sm2_encrypt()
146 SM2err(SM2_F_SM2_ENCRYPT, ERR_R_MALLOC_FAILURE); in sm2_encrypt()
158 SM2err(SM2_F_SM2_ENCRYPT, ERR_R_BN_LIB); in sm2_encrypt()
166 SM2err(SM2_F_SM2_ENCRYPT, ERR_R_MALLOC_FAILURE); in sm2_encrypt()
173 SM2err(SM2_F_SM2_ENCRYPT, ERR_R_INTERNAL_ERROR); in sm2_encrypt()
181 SM2err(SM2_F_SM2_ENCRYPT, ERR_R_EC_LIB); in sm2_encrypt()
187 SM2err(SM2_F_SM2_ENCRYPT, ERR_R_INTERNAL_ERROR); in sm2_encrypt()
193 SM2err(SM2_F_SM2_ENCRYPT, ERR_R_MALLOC_FAILURE); in sm2_encrypt()
[all …]
Dsm2_pmeth.c37 SM2err(SM2_F_PKEY_SM2_INIT, ERR_R_MALLOC_FAILURE); in pkey_sm2_init()
75 SM2err(SM2_F_PKEY_SM2_COPY, ERR_R_MALLOC_FAILURE); in pkey_sm2_copy()
106 SM2err(SM2_F_PKEY_SM2_SIGN, SM2_R_BUFFER_TOO_SMALL); in pkey_sm2_sign()
173 SM2err(SM2_F_PKEY_SM2_CTRL, SM2_R_INVALID_CURVE); in pkey_sm2_ctrl()
182 SM2err(SM2_F_PKEY_SM2_CTRL, SM2_R_NO_PARAMETERS_SET); in pkey_sm2_ctrl()
200 SM2err(SM2_F_PKEY_SM2_CTRL, ERR_R_MALLOC_FAILURE); in pkey_sm2_ctrl()
241 SM2err(SM2_F_PKEY_SM2_CTRL_STR, SM2_R_INVALID_CURVE); in pkey_sm2_ctrl_str()
274 SM2err(SM2_F_PKEY_SM2_DIGEST_CUSTOM, SM2_R_ID_NOT_SET); in pkey_sm2_digest_custom()
279 SM2err(SM2_F_PKEY_SM2_DIGEST_CUSTOM, SM2_R_INVALID_DIGEST); in pkey_sm2_digest_custom()
/third_party/mindspore/third_party/patch/openssl/
DCVE-2021-3711.patch19 - SM2err(SM2_F_SM2_PLAINTEXT_SIZE, SM2_R_INVALID_DIGEST);
23 - SM2err(SM2_F_SM2_PLAINTEXT_SIZE, SM2_R_INVALID_FIELD);
31 SM2err(SM2_F_SM2_PLAINTEXT_SIZE, SM2_R_INVALID_ENCODING);
/third_party/openssl/include/openssl/
Derr.h136 # define SM2err(f,r) ERR_PUT_error(ERR_LIB_SM2,(f),(r),OPENSSL_FILE,OPENSSL_LINE) macro