21 Commits

Author SHA1 Message Date
Sun Yimin
d814868a47
pkcs: SM4 oid special handling 2023-03-27 13:41:45 +08:00
Sun Yimin
5d41aaa348
merge pkcs7 2023-03-09 11:45:39 +08:00
Sun Yimin
f57e6a4a1d
pkcs8: rename internal struct 2023-03-06 17:18:55 +08:00
Sun Yimin
617d2591d6
pkcs8: fix gcm parameters asn1 issue 2023-02-28 13:43:00 +08:00
Sun Yimin
a2d54159ad
add example test for sm3 sm4 pkcs8 2023-02-02 11:45:57 +08:00
Sun Yimin
5b806c85fe
pkcs8: fix comments 2023-02-01 17:34:42 +08:00
Sun Yimin
ff2b695500
pkcs8: add example test 2023-02-01 17:28:49 +08:00
Sun Yimin
edfb4febdd
sm: improve docs and add examples 2023-01-31 13:50:14 +08:00
Sun Yimin
3bd57e44f4
move file 2022-11-23 10:21:29 +08:00
Sun Yimin
a45e13d148
sm2: use bigmod and sm2ec instead of math/big and crypto/elliptic 2022-11-23 10:20:13 +08:00
Sun Yimin
5db7e63360
provide convient methods to parse pkcs8 sm9 keys 2022-10-24 16:09:12 +08:00
Sun Yimin
a7c36d7f30
supplement gmssl sign master private key test data 2022-10-24 11:45:46 +08:00
Sun Yimin
f6af6eb729
add gmssl test cases 2022-10-24 11:42:26 +08:00
emmansun
404cd10210 support sm9 key format with gmssl 2022-10-22 15:49:01 +08:00
Sun Yimin
af50b136e9
sm4: separate cipher_ni from cipher_asm 2022-07-19 13:29:21 +08:00
Sun Yimin
6a60fe2603
ccm: add unit test cases and support ignore 2022-07-19 09:47:36 +08:00
Sun Yimin
24765d0e35
supplement unit test cases 2022-07-18 10:13:53 +08:00
Emman
eb94980db3 run "gofmt -s -w" 2022-07-15 16:42:39 +08:00
Sun Yimin
ffe5bff24e
pkcs8: fix copy issue 2022-07-15 13:37:54 +08:00
Sun Yimin
7271ce6df9
pkcs8: find out race fail case due to big CostParameter value 2022-07-15 13:34:42 +08:00
Sun Yimin
21b8f82a6e
pkcs8: merge from emmansun/pkcs8 2022-06-17 10:59:23 +08:00