From 76bb549f41f4a8e1569677137be38997ed5fa4c1 Mon Sep 17 00:00:00 2001 From: zhsnew Date: Thu, 5 Dec 2024 16:08:10 +0800 Subject: [PATCH] wbsm4: update evp.h --- include/openssl/evp.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/include/openssl/evp.h b/include/openssl/evp.h index 5f8cd2ecc..f09900ec9 100644 --- a/include/openssl/evp.h +++ b/include/openssl/evp.h @@ -1035,7 +1035,7 @@ const EVP_CIPHER *EVP_sm4_gcm(void); const EVP_CIPHER *EVP_sm4_ccm(void); # endif -# ifndef OPENSSL_NO_WBSM4 +# ifndef OPENSSL_NO_WBSM4_XIAOLAI const EVP_CIPHER *EVP_wbsm4_xiaolai_ecb(void); const EVP_CIPHER *EVP_wbsm4_xiaolai_cbc(void); const EVP_CIPHER *EVP_wbsm4_xiaolai_cfb128(void); @@ -1044,7 +1044,9 @@ const EVP_CIPHER *EVP_wbsm4_xiaolai_ofb(void); const EVP_CIPHER *EVP_wbsm4_xiaolai_ctr(void); const EVP_CIPHER *EVP_wbsm4_xiaolai_gcm(void); const EVP_CIPHER *EVP_wbsm4_xiaolai_ccm(void); +#endif +# ifndef OPENSSL_NO_WBSM4_BAIWU const EVP_CIPHER *EVP_wbsm4_baiwu_ecb(void); const EVP_CIPHER *EVP_wbsm4_baiwu_cbc(void); const EVP_CIPHER *EVP_wbsm4_baiwu_cfb128(void); @@ -1053,7 +1055,9 @@ const EVP_CIPHER *EVP_wbsm4_baiwu_ofb(void); const EVP_CIPHER *EVP_wbsm4_baiwu_ctr(void); const EVP_CIPHER *EVP_wbsm4_baiwu_gcm(void); const EVP_CIPHER *EVP_wbsm4_baiwu_ccm(void); +#endif +# ifndef OPENSSL_NO_WBSM4_WSISE const EVP_CIPHER *EVP_wbsm4_wsise_ecb(void); const EVP_CIPHER *EVP_wbsm4_wsise_cbc(void); const EVP_CIPHER *EVP_wbsm4_wsise_cfb128(void);