Move SM2 asymmetric encryption to be available in the default provider
[openssl.git] / providers / implementations / include / prov / implementations.h
index b67b4c736188d6fce98d206d816c66756974111f..dd45523ae9171744326556e15dc363cedbb260c2 100644 (file)
@@ -307,6 +307,9 @@ extern const OSSL_DISPATCH sm2_signature_functions[];
 
 /* Asym Cipher */
 extern const OSSL_DISPATCH rsa_asym_cipher_functions[];
+#ifndef OPENSSL_NO_SM2
+extern const OSSL_DISPATCH sm2_asym_cipher_functions[];
+#endif
 
 /* Asym Key encapsulation  */
 extern const OSSL_DISPATCH rsa_asym_kem_functions[];