622 Commits

Author SHA1 Message Date
Sun Yimin
60f734b82c
disable signing with MD5WithRSA #56 2022-05-13 08:22:35 +08:00
Sun Yimin
ff60ecbcc8
Upgrade dependencies 2022-05-13 08:06:51 +08:00
Sun Yimin
5b5942db84
refactor point marshal/unmarshal 2022-05-11 16:58:36 +08:00
Sun Yimin
dafbb30c6e
use SAN when comparing certs during path building, #55 2022-05-09 14:47:23 +08:00
Sun Yimin
322aa881ed
EKU nesting enforcement, #54 2022-05-09 14:35:51 +08:00
emmansun
57d899613d align format v0.12.0 2022-05-01 18:06:47 +08:00
emmansun
488c0db854 remove branch ci 2022-05-01 17:31:44 +08:00
Sun Yimin
9a2d7123f8
Merge pull request #52 from emmansun/sm3_sm4_ni
Sm3 sm4 ni
2022-05-01 16:19:35 +08:00
Emman
c71d5ccd96 Fix compile error 2022-04-29 17:29:08 +08:00
Emman
37ab6d67f3 Fix amd64 bug 2022-04-29 13:01:34 +08:00
Emman
51b26c071d separate aes/sm4 ni implementation 2022-04-29 12:09:04 +08:00
Emman
f2c249b323 refactoring and fix bug 2022-04-29 09:10:16 +08:00
Emman
4c131bdeb6 refactoring and fix bug 2022-04-29 08:56:53 +08:00
Emman
0beb90aff8 enable sm4ni gcm 2022-04-28 17:53:04 +08:00
Emman
5744b64c56 sm4ni gcm 2022-04-28 17:52:11 +08:00
Emman
0450200249 sm4 use sm4e sm4ekey, without gcm integration part 2022-04-28 13:46:50 +08:00
Emman
697d1dbd35 sm3 use arm cpu inst 2022-04-28 13:44:18 +08:00
Emman
1d83736209 add branch ci 2022-04-28 13:43:44 +08:00
Emman
660d54649b fix generated asm file name pattern 2022-04-28 11:03:44 +08:00
Emman
67d40a2a61 add new line 2022-04-27 10:42:20 +08:00
Emman
47f411681c upgrade dependency 2022-04-27 10:38:59 +08:00
Emman
c266b3211a support sm3 ni preparation 2022-04-27 10:36:10 +08:00
Emman
2dc8dae6bd Update comments 2022-04-26 10:13:17 +08:00
Emman
eb56eac42a support zuc eia 256 bits 2022-04-26 10:04:30 +08:00
Emman
7632ebf376 sm4 generic implementation optimization ref openssl 2022-04-25 11:02:33 +08:00
Emman
03563d8553 zuc128 eia for reference 2022-04-22 11:31:59 +08:00
Emman
41d0934ef4 crypto/x509: revert serial length restriction 2022-04-22 08:37:49 +08:00
Emman
64f522ea1b Revert "#43, crypto/x509: don't allow too long serials"
This reverts commit b3f10b9a4cfeb8c384282f3e61aaf7356efab636.

# Conflicts:
#	smx509/x509.go
#	smx509/x509_test.go
2022-04-22 08:28:12 +08:00
Emman
88dc7dc8ec remove non-shangmi alg 2022-04-21 08:27:41 +08:00
Emman
0a827de266 update package level comments 2022-04-20 08:36:44 +08:00
Emman
772beacfb0 support zuc256 for eea 2022-04-19 17:42:21 +08:00
Emman
ca98bd6f5c crypto/x509: reject duplicate extensions #48 2022-04-19 16:29:41 +08:00
Emman
45aae847b8 add back the last test vector 2022-04-19 13:32:09 +08:00
Emman
2391806012 Merge branch 'main' of https://github.com/emmansun/gmsm 2022-04-19 11:50:38 +08:00
Emman
133077a4b2 zuc 128 stream cipher 2022-04-19 11:25:14 +08:00
Emman
e95fc0c08a rc5 symmetric cipher 2022-04-19 11:24:00 +08:00
emmansun
77f61fce9c crypto/x509: don't create certs with negative serials #47 2022-04-17 09:37:03 +08:00
Emman
35732a2822 #45, #46 v0.11.5 2022-04-15 11:14:30 +08:00
Emman
155ef2943d #44, crypto/x509: omit empty extensions SEQUENCE 2022-04-15 11:05:14 +08:00
Emman
b3f10b9a4c #43, crypto/x509: don't allow too long serials 2022-04-15 11:01:11 +08:00
Emman
db4ee8585a expose type cast method 2022-04-13 09:41:38 +08:00
Emman
51f29b0258 Upgrade dependencies 2022-04-13 09:40:42 +08:00
emmansun
c7066d2256 fix ut error 2022-04-11 19:50:44 +08:00
Emman
efc3350236 Fix ut error 2022-04-11 17:40:41 +08:00
Emman
97217e8a68 crypto/x509: only disable SHA-1 verification for certificates 2022-04-11 17:33:40 +08:00
Emman
41f9220e3c crypto/x509: rework path building 2022-04-11 15:55:23 +08:00
Emman
eb54032c1b crypto/x509: properly handle issuerUniqueID and subjectUniqueID 2022-04-11 13:36:14 +08:00
Emman
d35a314b7a crypto/x509: properly handle issuerUniqueID and subjectUniqueID 2022-04-11 13:35:04 +08:00
Emman
bd9ba93ffe crypto/x509: add CertPool.Equal 2022-04-11 13:34:35 +08:00
Emman
a61731e0e2 duplicated 2022-04-10 11:16:11 +08:00