From 3336c1da592cdb05a9b0f480978d789f3e774a1e Mon Sep 17 00:00:00 2001 From: Sun Yimin Date: Sun, 9 Jul 2023 17:20:51 +0800 Subject: [PATCH] =?UTF-8?q?Updated=20SM9=E5=AE=9E=E7=8E=B0=E5=8F=8A?= =?UTF-8?q?=E4=BC=98=E5=8C=96=20(markdown)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- SM9实现及优化.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/SM9实现及优化.md b/SM9实现及优化.md index b92ec3c..0075018 100644 --- a/SM9实现及优化.md +++ b/SM9实现及优化.md @@ -14,6 +14,9 @@ https://github.com/emmansun/gmsm/blob/7254c055d7a353094a4d3b2c95d17505d2e8e82b/s 这四步前后花了一个月左右的时间。 # SM9的优化 + +具体可以参考Issues / Discussions。 + ## 借鉴椭圆曲线实现 包括标量乘法的借鉴、应用加法链优化求逆和求平方根、Marshal/Unmarshal的汇编实现、基域运算实现的借鉴等。 @@ -27,6 +30,7 @@ https://github.com/emmansun/gmsm/blob/7254c055d7a353094a4d3b2c95d17505d2e8e82b/s ## 分圆子群特殊平方运算 finalExponentiation中应用特殊平方运算,这是从参考文档看到的,当然人家的是1-2-6-12塔式扩域上的c语言实现,这个特殊平方有效提高了finalExponentiation的性能。 +https://github.com/emmansun/gmsm/discussions/138 ## Neg改用Sub实现 无意中发现Neg方法不如后来实现的Sub性能好。