Add new curve named sm2p256v1.

Authored by Tianjia Zhang <tianjia.zhang@linux.alibaba.com> on Dec 22 2019, 10:20 AM.

Description

Add new curve named sm2p256v1.

* cipher/ecc-curves.c (domain_parms): Add sm2p256v1 for SM2.
* tests/curves.c (N_CURVES): Update N_CURVES for SM2.
  • Signed-off-by: Tianjia Zhang <tianjia.zhang@linux.alibaba.com>

Details

Committed
gniibeJan 16 2020, 6:54 AM
Parents
rCf34de41b9db5: Register DCO for Tianjia Zhang.
Branches
Unknown
Tags
Unknown
gniibe committed rCd154c1e9e110: Add new curve named sm2p256v1. (authored by Tianjia Zhang <tianjia.zhang@linux.alibaba.com>).Jan 16 2020, 6:54 AM
Mfcx added a subscriber: Mfcx.Jan 16 2020, 7:22 PM