1656 Commits

Author SHA1 Message Date
Sun Yimin
acdc78cff5
update README 2024-09-13 15:16:57 +08:00
Sun Yimin
f2e122f90d
sm4: ppc64x, gcm fix bug #249 2024-09-13 15:06:08 +08:00
Sun Yimin
7e966a56de
sm4: ppc64x, gcm fix package usage #249 2024-09-13 14:35:43 +08:00
Sun Yimin
e8d1100481
sm4: ppc64x, gcm with EncryptBlocks 2024-09-13 14:32:04 +08:00
Sun Yimin
78d55a69bc
sm4: ppc64x, gcm step 1 (without AESNI) #249 2024-09-13 13:31:54 +08:00
Sun Yimin
37493fe3df
sm4: arm64 cbc, fix register usage issue 2024-09-13 11:23:31 +08:00
Sun Yimin
e5af209d83
cipher: fix copy/paste issue 2024-09-13 11:13:34 +08:00
Sun Yimin
20f0807451
sm4: arm64 cbc decrypt, reduce memory load 2024-09-13 11:06:41 +08:00
Sun Yimin
fd9030c92d
sm4: ppc64x, cbc fix src and dst are same issue #249 2024-09-13 10:34:07 +08:00
Sun Yimin
ee312709aa
sm4: ppc64x, cbc init #249 2024-09-13 09:49:44 +08:00
Sun Yimin
15f4ac4535
sm4: ppc64x, fix ecb #249 2024-09-12 16:54:39 +08:00
Sun Yimin
58685cc430
sm4: ppc64x, fix duplicated definition of symbol github.com/emmansun/gmsm/sm4.rcon 2024-09-12 16:43:14 +08:00
Sun Yimin
ac95feaf4f
sm4: ppc64x, ecb fix compile issue #249 2024-09-12 16:40:58 +08:00
Sun Yimin
a9459164b0
sm4: ppc64x, fix ecb #249 2024-09-12 16:38:05 +08:00
Sun Yimin
062662836a
sm4: ppc64x, ecb 2024-09-12 16:22:35 +08:00
Sun Yimin
5d9aa05746
sm4: ppc64x, fix bug #249 2024-09-12 16:08:15 +08:00
Sun Yimin
11db64eb35
sm4: ppc64x, fix duplicated definition of symbol github.com/emmansun/gmsm/sm4.rcon 2024-09-12 16:00:47 +08:00
Sun Yimin
2f048ffbdf
sm4: ppc64x, refactor #249 2024-09-12 15:53:53 +08:00
Sun Yimin
0455a06386
sm4: ppc64x, enable ctr mode parallel 2024-09-12 13:05:03 +08:00
Sun Yimin
7aae08ff76
sm4: ppc64x, fix encryptBlocksAsm #249 2024-09-12 11:50:39 +08:00
Sun Yimin
66a9dcdd81
sm4: ppc64x, fix encryptBlocksAsm #249 2024-09-12 11:31:19 +08:00
Sun Yimin
38282cd292
sm4: make sure test all asm codes 2024-09-12 11:20:50 +08:00
Sun Yimin
91af41952b
fix copy/paster error 2024-09-12 10:53:35 +08:00
Sun Yimin
777ab60dd0
sm4: is it really related to ctr change? 2024-09-12 10:44:56 +08:00
Sun Yimin
b8eeda2309
sm4: ppc64x, Test Force SM4 Single Block with AES-NI 2024-09-12 10:33:26 +08:00
Sun Yimin
ae6a1a486d
sm4: ppc64x, enable ctr mode parallel #249 2024-09-12 10:18:32 +08:00
Sun Yimin
6b0a557be1
sm4: ppc64x, merge the implementation to cipher_asm 2024-09-12 10:12:37 +08:00
Sun Yimin
eb9ef3ad93
sm4: ppc64x, fix SM4_ROUND issue #249 2024-09-12 08:52:59 +08:00
Sun Yimin
0c8671775f
sm4: ppc64x, missing address change 2024-09-12 08:47:10 +08:00
Sun Yimin
759a985cfa
sm4: ppc64x, fix test case 2024-09-12 08:29:15 +08:00
Sun Yimin
0dba1200a5
sm4: ppc64x, missing macro #249 2024-09-12 08:19:15 +08:00
Sun Yimin
420b9e9dfd
sm4: ppc64x, missing macro #249 2024-09-12 08:16:51 +08:00
Sun Yimin
8c9a6283fe
sm4: ppc64x, missing macro 2024-09-12 08:16:10 +08:00
Sun Yimin
8de52628d2
sm4: ppc64x, encryptBlockAsm #249 2024-09-12 08:14:06 +08:00
Sun Yimin
c279984922
sm4: ppc64x, use NIBBLE_MASK as round key 2024-09-11 16:36:35 +08:00
Sun Yimin
7cc5130380
sm4: ppc64x, use VSRD to replace VSRW 2024-09-11 16:29:45 +08:00
Sun Yimin
69d3481edc
sm4: ppc64x, missing fk 2024-09-11 16:09:48 +08:00
Sun Yimin
40486134f8
check input data 2024-09-11 15:35:06 +08:00
Sun Yimin
b8e15b50af
ppc64x, make sure sm4 sbox first 2024-09-11 14:58:51 +08:00
Sun Yimin
942c363ad0
sm4: ppc64x, fix m1l, m1h, m2l, m2h 2024-09-11 14:51:12 +08:00
Sun Yimin
5956841dd3
test ppc64x aes sbox 2024-09-11 13:06:21 +08:00
Sun Yimin
786098ac6a
test AFFINE_TRANSFORM 2024-09-11 11:34:56 +08:00
Sun Yimin
9a6e66c4eb
fix typo 2024-09-11 11:15:53 +08:00
Sun Yimin
73243191f3
sm4: ppc4x, test sm4 box 2024-09-11 11:13:25 +08:00
Sun Yimin
8014d53c57
sm4: ppc64x, update inverse shift rows value according VCIPHERLAST test result 2024-09-11 10:48:40 +08:00
Sun Yimin
57b724eb0e
test VCIPHERLAST 2024-09-11 10:24:30 +08:00
Sun Yimin
44e6ef3444
sm4: ppc64x, use ZERO as VCIPHERLAST round key 2024-09-11 10:18:46 +08:00
Sun Yimin
3491cb091a
test VNAND 2024-09-11 09:45:08 +08:00
Sun Yimin
6c62c14405
sm4: try VCIPHERLAST 2024-09-11 09:01:42 +08:00
Sun Yimin
69e3749a10
sm4: try VNAND 2024-09-11 08:50:40 +08:00