From e3b5c05ec01e254c80a620b9728b29030c97b4eb Mon Sep 17 00:00:00 2001 From: emmansun Date: Sat, 13 Feb 2021 20:32:22 +0800 Subject: [PATCH] add comments --- sm2/p256_asm.go | 1 + 1 file changed, 1 insertion(+) diff --git a/sm2/p256_asm.go b/sm2/p256_asm.go index f626e63..c9bd82e 100644 --- a/sm2/p256_asm.go +++ b/sm2/p256_asm.go @@ -446,6 +446,7 @@ func boothW6(in uint) (int, int) { return int(d), int(s & 1) } +// table[i][j] = (2^(6*i))*j*G mod P func initTable() { p256Precomputed = new([43][32 * 8]uint64)