808 Commits

Author SHA1 Message Date
Sun Yimin
bed0b64629
sm2ec: error message 2022-08-15 15:21:42 +08:00
Sun Yimin
f254673618
sm2ec: sync with sdk 2022-08-15 15:16:07 +08:00
Sun Yimin
c37e143c66
Merge pull request #73 from Trisia/main
SM2密钥交换方法初始化
v0.13.7
2022-08-14 11:22:52 +08:00
cliven
a6172852fc 修改了设置对端参数名称,增加了防止重复设置的检查。 2022-08-14 11:10:55 +08:00
cliven
eea15c3e4c SM2密钥交换算法支持了初始化时没有对端公开信息,在后续加入公开信息的方法。 2022-08-13 15:18:47 +08:00
Sun Yimin
b299ca46f2
zuc: constant time & correct lazy mod 2022-08-10 13:52:44 +08:00
Sun Yimin
b7cc21a055
sm3: kdf constant time check all zero 2022-08-09 15:58:55 +08:00
Sun Yimin
05aeed5c34
sm9: marshal compressed 2022-08-09 10:01:34 +08:00
Sun Yimin
f437855de0
add unit test case and fix typo 2022-08-03 16:31:02 +08:00
Sun Yimin
2071214f1f
x509: fix error message 2022-08-02 15:09:34 +08:00
Sun Yimin
8d0ee45571
upgrade dependencies v0.13.6 2022-07-28 10:39:55 +08:00
Sun Yimin
818cbc3757
misc: clean code 2022-07-28 10:01:30 +08:00
Sun Yimin
21859b7273
sm4: gcm data disable pass initial tag 2022-07-28 09:37:03 +08:00
Sun Yimin
5b075213c0
sm4: add cbcEncAble interface 2022-07-26 08:30:24 +08:00
Sun Yimin
206c8075c3
sm4: arm64 use VZIP1 VZIP2 to transpose matrix 2022-07-25 17:10:15 +08:00
Sun Yimin
fd34c2eff2
sm4: arm64 transpose matrix use VZIP1 VZIP2 2022-07-25 16:37:23 +08:00
Sun Yimin
9b364dca8b
sm4: reduce duplicated code and add comments 2022-07-25 13:20:58 +08:00
Sun Yimin
9204f1f4b2
sm4: encryptBlockAsm arm64 optimization 2022-07-22 15:17:05 +08:00
Sun Yimin
f0ad4beb49
sm4: add gcm test cases from GB/T 36624-2018 C.5 2022-07-22 11:25:18 +08:00
Sun Yimin
acffd83cc9
sm4: format asm code 2022-07-22 10:08:15 +08:00
Sun Yimin
ff434b7bd7
sm4: arm64 forget to load IV 2022-07-21 17:37:57 +08:00
Sun Yimin
42faebb588
sm4: cbc encryption improvement a little 2022-07-21 17:32:11 +08:00
Sun Yimin
8ddf1bc68f
sm4: reduce duplicated asm code 2022-07-21 13:41:56 +08:00
Sun Yimin
572bf6574e
sm4: improve cbc decrypt performance 2022-07-20 11:43:49 +08:00
Sun Yimin
54a06d72e1
sm9: test all curves 2022-07-19 16:07:42 +08:00
Sun Yimin
ec7f96d3cc
sm9: remove unsure code 2022-07-19 15:36:08 +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
711508985e
sm9: clean code and unit test 2022-07-19 08:58:12 +08:00
Sun Yimin
24765d0e35
supplement unit test cases 2022-07-18 10:13:53 +08:00
Sun Yimin
be29c32fe5
Update README.md 2022-07-17 17:48:02 +08:00
Sun Yimin
08bb2e2b57
zuc: add test case 2022-07-15 17:18:14 +08:00
Emman
fdb89d3233 Merge branch 'main' of https://github.com/emmansun/gmsm 2022-07-15 16:43:38 +08:00
Emman
eb94980db3 run "gofmt -s -w" 2022-07-15 16:42:39 +08:00
Sun Yimin
221cd0f6d2
Create codeql-analysis.yml 2022-07-15 14:22:31 +08:00
Sun Yimin
ffe5bff24e
pkcs8: fix copy issue v0.13.5 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
1a75fd65ca
zuc: add comment and fix a bug 2022-07-15 11:48:44 +08:00
Sun Yimin
7e81d05ce9
[sync] crypto/x509: restrict CRL number to <=20 octets #69 2022-07-15 10:25:53 +08:00
Sun Yimin
99bfac3a2b
upgrade dependencies and add unit test cases 2022-07-14 15:31:49 +08:00
Sun Yimin
58513465fa
x509: supplement test cases 2022-07-14 15:03:15 +08:00
Sun Yimin
204419818f
zuc: fix a copy paste error 2022-07-14 14:17:41 +08:00
Sun Yimin
9751e9619e
zuc: EIA256 ARM64 2022-07-14 14:10:49 +08:00
Sun Yimin
e0b2121574
zuc: eia arm64 2022-07-14 10:45:43 +08:00
Sun Yimin
c6e33cb31c
zuc: eia arm64 2022-07-14 10:42:49 +08:00
Sun Yimin
b1dd0ade2e
zuc: eia256 performance improvement 2022-07-13 16:16:01 +08:00
Sun Yimin
39274df2bd
zuc: EIA performance improvement 2022-07-13 11:51:44 +08:00
Sun Yimin
87f6f6a736
sm4: fix test case issue 2022-07-12 10:08:23 +08:00
Sun Yimin
daa6853722
sm4: add test cases 2022-07-12 09:57:35 +08:00
Sun Yimin
e4d02321b7
test: try coverpkg 2022-07-12 08:38:01 +08:00