Home
last modified time | relevance | path

Searched refs:ERR_LIB_SM2 (Results 1 – 7 of 7) sorted by relevance

/freebsd/crypto/openssl/crypto/sm2/
H A Dsm2_err.c19 {ERR_PACK(ERR_LIB_SM2, 0, SM2_R_ASN1_ERROR), "asn1 error"},
20 {ERR_PACK(ERR_LIB_SM2, 0, SM2_R_BAD_SIGNATURE), "bad signature"},
21 {ERR_PACK(ERR_LIB_SM2, 0, SM2_R_BUFFER_TOO_SMALL), "buffer too small"},
22 {ERR_PACK(ERR_LIB_SM2, 0, SM2_R_DIST_ID_TOO_LARGE), "dist id too large"},
23 {ERR_PACK(ERR_LIB_SM2, 0, SM2_R_ID_NOT_SET), "id not set"},
24 {ERR_PACK(ERR_LIB_SM2, 0, SM2_R_ID_TOO_LARGE), "id too large"},
25 {ERR_PACK(ERR_LIB_SM2, 0, SM2_R_INVALID_CURVE), "invalid curve"},
26 {ERR_PACK(ERR_LIB_SM2, 0, SM2_R_INVALID_DIGEST), "invalid digest"},
27 {ERR_PACK(ERR_LIB_SM2, 0, SM2_R_INVALID_DIGEST_TYPE),
29 {ERR_PACK(ERR_LIB_SM2, 0, SM2_R_INVALID_ENCODING), "invalid encoding"},
[all …]
H A Dsm2_sign.c49 ERR_raise(ERR_LIB_SM2, ERR_R_PASSED_NULL_PARAMETER); in ossl_sm2_compute_z_digest()
56 ERR_raise(ERR_LIB_SM2, ERR_R_MALLOC_FAILURE); in ossl_sm2_compute_z_digest()
69 ERR_raise(ERR_LIB_SM2, ERR_R_MALLOC_FAILURE); in ossl_sm2_compute_z_digest()
74 ERR_raise(ERR_LIB_SM2, ERR_R_EVP_LIB); in ossl_sm2_compute_z_digest()
82 ERR_raise(ERR_LIB_SM2, SM2_R_ID_TOO_LARGE); in ossl_sm2_compute_z_digest()
90 ERR_raise(ERR_LIB_SM2, ERR_R_EVP_LIB); in ossl_sm2_compute_z_digest()
95 ERR_raise(ERR_LIB_SM2, ERR_R_EVP_LIB); in ossl_sm2_compute_z_digest()
100 ERR_raise(ERR_LIB_SM2, ERR_R_EVP_LIB); in ossl_sm2_compute_z_digest()
105 ERR_raise(ERR_LIB_SM2, ERR_R_EC_LIB); in ossl_sm2_compute_z_digest()
112 ERR_raise(ERR_LIB_SM2, ERR_R_MALLOC_FAILURE); in ossl_sm2_compute_z_digest()
[all …]
H A Dsm2_crypt.c90 ERR_raise(ERR_LIB_SM2, SM2_R_INVALID_ENCODING); in ossl_sm2_ciphertext_size()
154 ERR_raise(ERR_LIB_SM2, ERR_R_INTERNAL_ERROR); in ossl_sm2_encrypt()
160 ERR_raise(ERR_LIB_SM2, ERR_R_INTERNAL_ERROR); in ossl_sm2_encrypt()
168 ERR_raise(ERR_LIB_SM2, ERR_R_MALLOC_FAILURE); in ossl_sm2_encrypt()
180 ERR_raise(ERR_LIB_SM2, ERR_R_BN_LIB); in ossl_sm2_encrypt()
188 ERR_raise(ERR_LIB_SM2, ERR_R_MALLOC_FAILURE); in ossl_sm2_encrypt()
196 ERR_raise(ERR_LIB_SM2, ERR_R_MALLOC_FAILURE); in ossl_sm2_encrypt()
202 ERR_raise(ERR_LIB_SM2, ERR_R_INTERNAL_ERROR); in ossl_sm2_encrypt()
210 ERR_raise(ERR_LIB_SM2, ERR_R_EC_LIB); in ossl_sm2_encrypt()
216 ERR_raise(ERR_LIB_SM2, ERR_R_INTERNAL_ERRO in ossl_sm2_encrypt()
[all...]
H A Dsm2_key.c33 ERR_raise(ERR_LIB_SM2, ERR_R_PASSED_NULL_PARAMETER); in ossl_sm2_key_private_check()
43 ERR_raise(ERR_LIB_SM2, SM2_R_INVALID_PRIVATE_KEY); in ossl_sm2_key_private_check()
/freebsd/crypto/openssl/include/openssl/
H A Derr.h114 # define ERR_LIB_SM2 53 macro
163 # define SM2err(f, r) ERR_raise_data(ERR_LIB_SM2, (r), NULL)
H A Derr.h.in116 # define ERR_LIB_SM2 53 macro
165 # define SM2err(f, r) ERR_raise_data(ERR_LIB_SM2, (r), NULL)
/freebsd/crypto/openssl/crypto/err/
H A Derr.c76 {ERR_PACK(ERR_LIB_SM2, 0, 0), "SM2 routines"},