mirror of
https://github.com/guanzhi/GmSSL.git
synced 2026-06-29 09:13:38 +08:00
Update sm9 functions
This commit is contained in:
@@ -744,6 +744,9 @@ const EVP_MD *EVP_whirlpool(void);
|
||||
# endif
|
||||
# ifndef OPENSSL_NO_SM3
|
||||
const EVP_MD *EVP_sm3(void);
|
||||
# ifndef OPENSSL_NO_SM9
|
||||
const EVP_MD *EVP_sm9hash2_sm3(void);
|
||||
# endif
|
||||
# endif
|
||||
const EVP_CIPHER *EVP_enc_null(void); /* does nothing :-) */
|
||||
# ifndef OPENSSL_NO_DES
|
||||
|
||||
@@ -251,6 +251,7 @@ int ERR_load_SM2_strings(void);
|
||||
# define SM2_F_I2O_SM2CIPHERTEXTVALUE 107
|
||||
# define SM2_F_O2I_SM2CIPHERTEXTVALUE 108
|
||||
# define SM2_F_SM2CIPHERTEXTVALUE_SIZE 109
|
||||
# define SM2_F_SM2_CIPHERTEXT_SIZE 110
|
||||
# define SM2_F_SM2_DECRYPT 100
|
||||
# define SM2_F_SM2_DO_DECRYPT 101
|
||||
# define SM2_F_SM2_DO_ENCRYPT 102
|
||||
|
||||
Reference in New Issue
Block a user