A workable SM9 R-ate pairing over BN curve

This textbook version R-ate pairing is very slow. About 0.5 seconds on my Macbook Pro 2018 with 2.7 GHz Core i7.
This commit is contained in:
Zhi Guan
2018-09-21 22:42:11 +08:00
parent 9f4e184ac5
commit c7aa2cc1ff
6 changed files with 1457 additions and 415 deletions

View File

@@ -1,3 +1,4 @@
LIBS=../../libcrypto
SOURCE[../../libcrypto]=sm9_lib.c sm9_err.c sm9_asn1.c sm9_params.c \
sm9_setup.c sm9_keygen.c sm9_sign.c sm9_enc.c sm9_exch.c
sm9_setup.c sm9_keygen.c sm9_sign.c sm9_enc.c sm9_exch.c \
sm9_rate.c