[prev in list] [next in list] [prev in thread] [next in thread] 

List:       gcrypt-devel
Subject:    =?UTF-8?B?QWRkIGNyeXB0byBwdWJrZXkgU00y?=
From:       Tianjia Zhang via Gcrypt-devel <gcrypt-devel () gnupg ! org>
Date:       2019-12-20 7:20:11
Message-ID: a66141a1-e7a3-4f09-b6d1-d8f163553c52.tianjia.zhang () linux ! alibaba ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]

[Attachment #4 (text/plain)]

This new module implement the SM2 public key 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
scctc: http://www.gmbz.org.cn/main/bzlb.html
cipher/Makefile.am (EXTRA_libcipher_la_SOURCES): Add sm2.c.
cipher/ecc-curves.c (domain_parms): Add sm2p256v1 for SM2.
cipher/pubkey.c [USE_SM2] (pubkey_list): Add _gcry_pubkey_spec_sm2.
cipher/sm2.c: New.
configure.ac (available_pubkey_ciphers): Add sm2.
src/cipher.h: Add declarations for SM2.
src/fips.c (algos): Add GCRY_PK_SM2.
src/gcrypt.h.in (gcry_pk_algos): Add algorithm ID for SM2.
tests/basic.c (check_pubkey): Add test cases for SM2.
tests/curves.c (N_CURVES): Update N_CURVES for SM2.
Signed-off-by: Tianjia Zhang tianjia.zhang@linux.alibaba.com

https://github.com/gpg/libgcrypt/pull/9
[Attachment #5 (text/html)]

<div class="__aliyun_email_body_block"><div  style="clear:both;"><p  \
style="box-sizing:border-box;margin-bottom:16.0px;color:#24292e;font-size:14.0px;font- \
style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;te \
xt-align:start;text-indent:.0px;text-transform:none;widows:2;background-color:#ffffff; \
text-decoration-style:initial;text-decoration-color:initial;margin-top:.0px;">This \
new module implement the SM2 public key algorithm. It was<br  \
style="box-sizing:border-box;">published by State Encryption Management Bureau, \
China.<br  style="box-sizing:border-box;">List of specifications for SM2 elliptic \
curve public key cryptography:</p><ul  \
style="box-sizing:border-box;padding-left:2.0em;margin-top:.0px;margin-bottom:16.0px;c \
olor:#24292e;font-size:14.0px;font-style:normal;font-variant-ligatures:normal;font-var \
iant-caps:normal;font-weight:400;text-align:start;text-indent:.0px;text-transform:none \
;widows:2;background-color:#ffffff;text-decoration-style:initial;text-decoration-color:initial;"><li \
style="box-sizing:border-box;margin-left:.0px;">GM/T 0003.1-2012</li><li  \
style="box-sizing:border-box;margin-top:.2em;margin-left:.0px;">GM/T \
0003.2-2012</li><li  \
style="box-sizing:border-box;margin-top:.2em;margin-left:.0px;">GM/T \
0003.3-2012</li><li  \
style="box-sizing:border-box;margin-top:.2em;margin-left:.0px;">GM/T \
0003.4-2012</li><li  \
style="box-sizing:border-box;margin-top:.2em;margin-left:.0px;">GM/T \
0003.5-2012</li></ul><p  \
style="box-sizing:border-box;margin-top:.0px;margin-bottom:16.0px;color:#24292e;font-s \
ize:14.0px;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;fo \
nt-weight:400;text-align:start;text-indent:.0px;text-transform:none;widows:2;backgroun \
d-color:#ffffff;text-decoration-style:initial;text-decoration-color:initial;">IETF:&nbsp;<a \
href="https://tools.ietf.org/html/draft-shen-sm2-ecdsa-02" rel="nofollow" \
style="box-sizing:border-box;background-color:initial;color:#0366d6;text-decoration:none;">https://tools.ietf.org/html/draft-shen-sm2-ecdsa-02</a><br \
style="box-sizing:border-box;">scctc:&nbsp;<a  \
href="http://www.gmbz.org.cn/main/bzlb.html" rel="nofollow" \
style="box-sizing:border-box;background-color:initial;color:#0366d6;text-decoration:none;">http://www.gmbz.org.cn/main/bzlb.html</a></p><ul \
style="box-sizing:border-box;padding-left:2.0em;margin-top:.0px;margin-bottom:16.0px;c \
olor:#24292e;font-size:14.0px;font-style:normal;font-variant-ligatures:normal;font-var \
iant-caps:normal;font-weight:400;text-align:start;text-indent:.0px;text-transform:none \
;widows:2;background-color:#ffffff;text-decoration-style:initial;text-decoration-color:initial;"><li \
style="box-sizing:border-box;margin-left:.0px;">cipher/Makefile.am \
(EXTRA_libcipher_la_SOURCES): Add sm2.c.</li><li  \
style="box-sizing:border-box;margin-top:.2em;margin-left:.0px;">cipher/ecc-curves.c \
(domain_parms): Add sm2p256v1 for SM2.</li><li  \
style="box-sizing:border-box;margin-top:.2em;margin-left:.0px;">cipher/pubkey.c \
[USE_SM2] (pubkey_list): Add _gcry_pubkey_spec_sm2.</li><li  \
style="box-sizing:border-box;margin-top:.2em;margin-left:.0px;">cipher/sm2.c: \
New.</li><li  style="box-sizing:border-box;margin-top:.2em;margin-left:.0px;">configure.ac \
(available_pubkey_ciphers): Add sm2.</li><li  \
style="box-sizing:border-box;margin-top:.2em;margin-left:.0px;">src/cipher.h: Add \
declarations for SM2.</li><li  \
style="box-sizing:border-box;margin-top:.2em;margin-left:.0px;">src/fips.c (algos): \
Add GCRY_PK_SM2.</li><li  \
style="box-sizing:border-box;margin-top:.2em;margin-left:.0px;">src/gcrypt.h.in \
(gcry_pk_algos): Add algorithm ID for SM2.</li><li  \
style="box-sizing:border-box;margin-top:.2em;margin-left:.0px;">tests/basic.c \
(check_pubkey): Add test cases for SM2.</li><li  \
style="box-sizing:border-box;margin-top:.2em;margin-left:.0px;">tests/curves.c \
(N_CURVES): Update N_CURVES for SM2.</li></ul><p  \
style="box-sizing:border-box;margin-top:.0px;color:#24292e;font-size:14.0px;font-style \
:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;text-al \
ign:start;text-indent:.0px;text-transform:none;widows:2;background-color:#ffffff;text- \
decoration-style:initial;text-decoration-color:initial;margin-bottom:.0px;">Signed-off-by: \
Tianjia Zhang&nbsp;<a  href="mailto:tianjia.zhang@linux.alibaba.com" \
style="box-sizing:border-box;background-color:initial;color:#0366d6;text-decoration:none;">tianjia.zhang@linux.alibaba.com</a></p><span \
style="font-family:Tahoma,Arial,STHeiti,SimSun;font-size:14.0px;color:#000000;"></span></div><div \
style="clear:both;"><span  \
style="font-family:Tahoma,Arial,STHeiti,SimSun;font-size:14.0px;color:#000000;"><br \
></span></div><div  style="clear:both;"><span  \
> style="font-family:Tahoma,Arial,STHeiti,SimSun;font-size:14.0px;color:#000000;"><a  \
> href="https://github.com/gpg/libgcrypt/pull/9">https://github.com/gpg/libgcrypt/pull/9</a></span></div></div>
> 



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


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic