Sun Yimin
|
c35269f866
|
sm3: amd64 avx support, #157
|
2023-09-13 17:33:49 +08:00 |
|
Sun Yimin
|
aa5ff27e5e
|
sm3: arm64, try BIC instruction
|
2023-09-13 17:29:32 +08:00 |
|
Sun Yimin
|
d46ef92f74
|
sm3: amd64 asm, RORXL uses postive value
|
2023-09-12 15:34:51 +08:00 |
|
Sun Yimin
|
5e08c8e49b
|
sm3: amd64 asm, reduce duplicated code
|
2023-09-12 11:13:55 +08:00 |
|
Sun Yimin
|
cd4d5581c1
|
sm3: add more test vectors
|
2023-09-11 17:20:02 +08:00 |
|
Sun Yimin
|
6cd67b155c
|
sm3: amd64, use VPSHUFB for byte level rotate left shift
|
2023-09-11 16:43:16 +08:00 |
|
Sun Yimin
|
e811c959ab
|
sm3: arm64 align format
|
2023-09-11 13:56:11 +08:00 |
|
Sun Yimin
|
150f1bdb28
|
sm3: amd64, reduce MOVL
|
2023-09-11 10:59:59 +08:00 |
|
Sun Yimin
|
719bca92db
|
sm3: amd64 asm, align format
|
2023-09-11 08:28:47 +08:00 |
|
Sun Yimin
|
30acaf4dd6
|
sm3: amd64 eliminate usage of R15
|
2023-09-07 17:42:55 +08:00 |
|
Sun Yimin
|
58121ac8cc
|
build: support plugin flag for amd64 #154
|
2023-09-07 08:50:10 +08:00 |
|
Sun Yimin
|
d3e6412258
|
sm4: Support AES-NI + AVX #135
|
2023-07-03 12:00:27 +08:00 |
|
Sun Yimin
|
4bda6e6b6c
|
sm3: improve purego performance
|
2023-06-20 17:51:14 +08:00 |
|
Sun Yimin
|
3cbabc3d1c
|
optimize purego sm3/sm4 and reduce bounds checking for sm9
|
2023-06-16 16:06:38 +08:00 |
|
Sun Yimin
|
79f0fb6b0d
|
sm3: reduce bounds checking
|
2023-06-15 11:52:14 +08:00 |
|
Sun Yimin
|
7047aab300
|
sm3: fix rotateleft32 issue
|
2023-03-30 14:56:46 +08:00 |
|
Sun Yimin
|
d38216752d
|
sm3: fix arm ni issue
|
2023-03-30 14:05:04 +08:00 |
|
Sun Yimin
|
d2382247b1
|
sm3: fix arm ni issue
|
2023-03-30 13:39:17 +08:00 |
|
Sun Yimin
|
bb3529894c
|
sm3: fix arm sm3 ni issue
|
2023-03-30 13:03:31 +08:00 |
|
Sun Yimin
|
7257b0151b
|
fix typo issu
|
2023-03-08 15:44:38 +08:00 |
|
Sun Yimin
|
818159283c
|
disable sm3 sm4 ni via env. variable
|
2023-03-08 15:39:48 +08:00 |
|
Sun Yimin
|
a2d54159ad
|
add example test for sm3 sm4 pkcs8
|
2023-02-02 11:45:57 +08:00 |
|
Sun Yimin
|
edfb4febdd
|
sm: improve docs and add examples
|
2023-01-31 13:50:14 +08:00 |
|
Sun Yimin
|
200a785d29
|
change build tag generic to purego & import nat package
|
2022-11-22 11:02:37 +08:00 |
|
Sun Yimin
|
57882bbdbc
|
sm3: reduce Write calls in Sum
|
2022-11-22 08:42:17 +08:00 |
|
Sun Yimin
|
eedd5ebc2b
|
kdf: move Kdf() from sm3 to kdf
|
2022-08-25 11:48:41 +08:00 |
|
Sun Yimin
|
b7cc21a055
|
sm3: kdf constant time check all zero
|
2022-08-09 15:58:55 +08:00 |
|
Emman
|
eb94980db3
|
run "gofmt -s -w"
|
2022-07-15 16:42:39 +08:00 |
|
Sun Yimin
|
1a75fd65ca
|
zuc: add comment and fix a bug
|
2022-07-15 11:48:44 +08:00 |
|
Sun Yimin
|
f5bd2cabad
|
fix 1.17 error
|
2022-06-14 08:57:25 +08:00 |
|
Sun Yimin
|
8cb1e257dc
|
support build generic
|
2022-06-14 08:45:54 +08:00 |
|
Sun Yimin
|
ef51a679a7
|
extract kdf to sm3
|
2022-06-10 10:29:12 +08:00 |
|
Emman
|
c71d5ccd96
|
Fix compile error
|
2022-04-29 17:29:08 +08:00 |
|
Emman
|
697d1dbd35
|
sm3 use arm cpu inst
|
2022-04-28 13:44:18 +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
|
c266b3211a
|
support sm3 ni preparation
|
2022-04-27 10:36:10 +08:00 |
|
Emman
|
0a827de266
|
update package level comments
|
2022-04-20 08:36:44 +08:00 |
|
Emman
|
535b9ab928
|
Add SM GM/T references
|
2022-02-09 10:11:45 +08:00 |
|
Emman
|
7dec383b16
|
align format
|
2022-01-21 11:24:10 +08:00 |
|
Emman
|
4156eb1c07
|
align / change format
|
2022-01-21 08:33:01 +08:00 |
|
Emman
|
3e437c935a
|
check cpu
|
2021-12-31 13:31:31 +08:00 |
|
Emman
|
e9e3c665aa
|
add sm4 asm fuzzy test
|
2021-12-29 17:46:18 +08:00 |
|
Emman
|
3e921379d9
|
format
|
2021-12-29 09:00:39 +08:00 |
|
Sun Yimin
|
0e7334ff49
|
fix comments error
|
2021-12-29 08:51:24 +08:00 |
|
Sun Yimin
|
0418d6aea4
|
reduce sm3 arm64 instructions
|
2021-12-29 08:44:27 +08:00 |
|
Emman
|
98b70a5cfd
|
reduce instructions
|
2021-12-28 08:30:33 +08:00 |
|
Emman
|
ec02d6afc6
|
optimize sm3 arm64
|
2021-12-27 17:43:07 +08:00 |
|
Emman
|
41328ef49a
|
Fix bug
|
2021-12-27 16:20:14 +08:00 |
|
Emman
|
cb8862bd6c
|
optimize the memory loading
|
2021-12-27 16:11:23 +08:00 |
|