relic-toolkit / relic

Code
Other
452 stars 179 forks source link

Add support for Chinese national cryptography standard #253

Closed YWRtaW4 closed 1 year ago

YWRtaW4 commented 1 year ago
  1. RELIC has already supported the SM9 standard (the Chinese national cryptography standard for Identity Based Cryptography), but the pairing result is not consistent with the exmaple given in the SM9 standard. Therefore, I modified the final exponentiation part for SM9 and added pp_exp_sm9() to relic_pp_exp_k12.c, so that the pairing result is consitent.
  2. Add support for SM2 standard (the Chinese national cryptography standard for elliptic curve based cryptography).