Mailing List Archive

[PATCH] Add elliptic curve SM2 implementation
This new module implement the SM2 elliptic curve algorithm. It was
published by State Encryption Management Bureau, China.
List of specifications for SM2 elliptic curve public key cryptography:

* GM/T 0003.1-2012
* GM/T 0003.2-2012
* GM/T 0003.3-2012
* GM/T 0003.4-2012
* GM/T 0003.5-2012

IETF: https://tools.ietf.org/html/draft-shen-sm2-ecdsa-02
oscca: http://www.oscca.gov.cn/sca/xxgk/2010-12/17/content_1002386.shtml
scctc: http://www.gmbz.org.cn/main/bzlb.html

Signed-off-by: Tianjia Zhang <tianjia.zhang@linux.alibaba.com>

Thanks,
Tianjia



_______________________________________________
Gcrypt-devel mailing list
Gcrypt-devel@gnupg.org
http://lists.gnupg.org/mailman/listinfo/gcrypt-devel
Re: [PATCH] Add elliptic curve SM2 implementation [ In reply to ]
Tianjia Zhang <tianjia.zhang@linux.alibaba.com> wrote:
> This new module implement the SM2 elliptic curve algorithm. It was
> published by State Encryption Management Bureau, China.

Thanks. I applied:

[PATCH 1/2] Add elliptic curve SM2 implementation.

For another one:

[PATCH 2/2] tests: Add basic test cases for sm2

While I understand your intention of testing SM2 also for
encryption/decryption, the existing code is not good shape for that
(thus, EXACT_MATCH was there in your patch). So, I only put tests for
ECDSA with the SM2 curve.

It's good if we have tests for GCRY_PK_ECC. We should do that in
future.
--

_______________________________________________
Gcrypt-devel mailing list
Gcrypt-devel@gnupg.org
http://lists.gnupg.org/mailman/listinfo/gcrypt-devel