Remove sm3_digest.c

This commit is contained in:
Zhi Guan
2026-06-27 12:13:30 +08:00
parent c924503a05
commit e680c45b69
6 changed files with 18 additions and 134 deletions

View File

@@ -70,19 +70,6 @@ int sm3_pbkdf2(const char *pass, size_t passlen,
size_t outlen, uint8_t *out);
typedef struct {
union {
SM3_CTX sm3_ctx;
SM3_HMAC_CTX hmac_ctx;
};
int state;
} SM3_DIGEST_CTX;
int sm3_digest_init(SM3_DIGEST_CTX *ctx, const uint8_t *key, size_t keylen);
int sm3_digest_update(SM3_DIGEST_CTX *ctx, const uint8_t *data, size_t datalen);
int sm3_digest_finish(SM3_DIGEST_CTX *ctx, uint8_t dgst[SM3_DIGEST_SIZE]);
#ifdef __cplusplus
}
#endif

View File

@@ -18,7 +18,7 @@ extern "C" {
#define GMSSL_VERSION_NUM 30300
#define GMSSL_VERSION_STR "GmSSL 3.3.0-dev.1181"
#define GMSSL_VERSION_STR "GmSSL 3.3.0-dev.1182"
int gmssl_version_num(void);
const char *gmssl_version_str(void);