diff options
author | Jeffrey Walton <noloader@gmail.com> | 2017-11-25 10:40:17 -0500 |
---|---|---|
committer | Jeffrey Walton <noloader@gmail.com> | 2017-11-25 10:40:17 -0500 |
commit | 679c9583a087ddd0afb414181a16dadc9c09808b (patch) | |
tree | 09e0e489c54dd0044222d2a03cba5c1d1b3dd2f6 /oids.h | |
parent | 1ca704aec65d9716cff577f3128728a848a5e312 (diff) | |
download | cryptopp-git-679c9583a087ddd0afb414181a16dadc9c09808b.tar.gz |
Update oids for SM2 (GH #542)
Also see https://www.cryptopp.com/wiki/SM2. The wiki page is documenting some of this stuff
Diffstat (limited to 'oids.h')
-rw-r--r-- | oids.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -30,6 +30,8 @@ DEFINE_OID(1, iso) DEFINE_OID(sm2p256v1()+1, sm2sign)
DEFINE_OID(sm2p256v1()+2, sm2exchange)
DEFINE_OID(sm2p256v1()+3, sm2encrypt)
+ DEFINE_OID(sm2encrypt()+1, sm2encrypt_recommendedParameters)
+ DEFINE_OID(sm2encrypt()+2, sm2encrypt_specifiedParameters)
DEFINE_OID(member_body()+840, iso_us)
DEFINE_OID(iso_us()+10040, ansi_x9_57)
DEFINE_OID(ansi_x9_57()+4+1, id_dsa)
|