From 5bd0abe7a2f76d8c80f566ae615c10113884d843 Mon Sep 17 00:00:00 2001 From: Paul Yang Date: Mon, 3 Sep 2018 22:08:17 +0800 Subject: Remove unnecessary sm2_za.c Reviewed-by: Tim Hudson Reviewed-by: Matt Caswell (Merged from https://github.com/openssl/openssl/pull/7113) --- crypto/include/internal/sm2.h | 5 ----- 1 file changed, 5 deletions(-) (limited to 'crypto/include') diff --git a/crypto/include/internal/sm2.h b/crypto/include/internal/sm2.h index 23e38952b2..11af248b5a 100644 --- a/crypto/include/internal/sm2.h +++ b/crypto/include/internal/sm2.h @@ -20,10 +20,6 @@ /* The default user id as specified in GM/T 0009-2012 */ # define SM2_DEFAULT_USERID "1234567812345678" -int sm2_compute_userid_digest(uint8_t *out, - const EVP_MD *digest, - const char *user_id, const EC_KEY *key); - /* * SM2 signature operation. Computes ZA (user id digest) and then signs * H(ZA || msg) using SM2 @@ -49,7 +45,6 @@ int sm2_sign(const unsigned char *dgst, int dgstlen, int sm2_verify(const unsigned char *dgst, int dgstlen, const unsigned char *sig, int siglen, EC_KEY *eckey); - /* * SM2 encryption */ -- cgit v1.2.3