From 23beaddb9fa1d603f6912aac5e942c346ca1b655 Mon Sep 17 00:00:00 2001 From: Gorachya <38173958+Gorachya@users.noreply.github.com> Date: Sun, 15 May 2022 14:40:03 +0800 Subject: [PATCH] Update sm9.h --- include/gmssl/sm9.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/gmssl/sm9.h b/include/gmssl/sm9.h index e687f661..6e8d59c3 100644 --- a/include/gmssl/sm9.h +++ b/include/gmssl/sm9.h @@ -303,7 +303,7 @@ int sm9_fn_equ(const sm9_fn_t a, const sm9_fn_t b); void sm9_fn_rand(sm9_fn_t r); void sm9_fp12_to_bytes(const sm9_fp12_t a, uint8_t buf[32 * 12]); -int sm9_fn_from_hash(sm9_fn_t h, const uint8_t Ha[40]); +void sm9_fn_from_hash(sm9_fn_t h, const uint8_t Ha[40]); int sm9_hash1(sm9_bn_t h1, const char *id, size_t idlen, uint8_t hid);