1570 Commits

Author SHA1 Message Date
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
Sun Yimin
f6d2e319c1
sm4: fix compile error 2024-09-11 08:31:33 +08:00
Sun Yimin
45c90c33cd
sm4: reverse inverse shift rows byte order 2024-09-11 08:29:44 +08:00
Sun Yimin
2ca0421085
try VNAND 2024-09-11 08:23:46 +08:00
Sun Yimin
4f60a230f0
sm3: ppc64, reverse m1,m2 byte order 2024-09-11 08:21:12 +08:00
Sun Yimin
d2adcd78b0
Update asm_ppc64x.s 2024-09-10 22:37:31 +08:00
Sun Yimin
98e2f4a852
sm4: ppc64x fix T2 issue 2024-09-10 21:54:08 +08:00
Sun Yimin
086ea1267b
sm4: ppc64x expand key debug 3 2024-09-10 17:46:54 +08:00
Sun Yimin
5a8c253a5a
sm4: ppc64x expand key debug 2 2024-09-10 17:41:31 +08:00
Sun Yimin
c21ab2d9c8
sm4: ppc64x expand key debug 1 2024-09-10 17:38:12 +08:00
Sun Yimin
742bdcc1aa
sm4: ppc64x expand key fix 3 2024-09-10 17:04:41 +08:00
Sun Yimin
82efc4b40f
sm4: ppc64x expand key fix 2 2024-09-10 17:00:39 +08:00
Sun Yimin
8cd7748b00
sm4: ppc64x expand key fix 1 2024-09-10 16:59:16 +08:00
Sun Yimin
0333280ef1
sm4: ppc64x expandkey init 2024-09-10 16:55:33 +08:00
Sun Yimin
4fd59a1901
Update README 2024-09-10 13:04:26 +08:00
Sun Yimin
8c2dd95a5c
sm3: s390x block, init 2024-09-10 09:00:38 +08:00
Sun Yimin
8cb35658e4
Merge pull request #247 from emmansun/dependabot/go_modules/golang.org/x/crypto-0.27.0
build(deps): bump golang.org/x/crypto from 0.26.0 to 0.27.0
2024-09-10 08:04:23 +08:00
dependabot[bot]
53164026d0
build(deps): bump golang.org/x/crypto from 0.26.0 to 0.27.0
Bumps [golang.org/x/crypto](https://github.com/golang/crypto) from 0.26.0 to 0.27.0.
- [Commits](https://github.com/golang/crypto/compare/v0.26.0...v0.27.0)

---
updated-dependencies:
- dependency-name: golang.org/x/crypto
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-09-09 23:53:05 +00:00
Sun Yimin
60275adc78
Merge pull request #246 from emmansun/dependabot/go_modules/golang.org/x/sys-0.25.0
build(deps): bump golang.org/x/sys from 0.24.0 to 0.25.0
2024-09-10 07:52:01 +08:00
dependabot[bot]
cc0462d8a0
build(deps): bump golang.org/x/sys from 0.24.0 to 0.25.0
Bumps [golang.org/x/sys](https://github.com/golang/sys) from 0.24.0 to 0.25.0.
- [Commits](https://github.com/golang/sys/compare/v0.24.0...v0.25.0)

---
updated-dependencies:
- dependency-name: golang.org/x/sys
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-09-09 23:23:33 +00:00
Sun Yimin
a564207436
sm3: ppc64x block, remove useless code and add comments #245 2024-09-09 17:28:42 +08:00
Sun Yimin
86d7648b6f
sm3: ppc64x block, load w change 2024-09-09 16:39:18 +08:00
Sun Yimin
2d8b0fde8e
sm3: ppc64x block, fix compile issue 1 #245 2024-09-09 15:50:56 +08:00
Sun Yimin
ec3aff95f9
sm3: ppc64x block init #245 2024-09-09 15:47:42 +08:00
Sun Yimin
28d56b2ce2
sm3: ppcx64, align address access mode 2024-09-09 08:52:34 +08:00
Sun Yimin
79e33e2970
sm3: ppc64x, improve code readability 2024-09-09 08:46:02 +08:00
Sun Yimin
b606bd773f
sm3: ppc64x, update comments 2024-09-06 17:52:13 +08:00
Sun Yimin
0799942ef9
sm3: ppc64x, s390x mult4 add comments 2024-09-06 17:20:01 +08:00
Sun Yimin
2d3220793c
sm3: ppc64x, fix general purpose register usage issue 2024-09-06 15:19:23 +08:00
Sun Yimin
fa9aba2cd6
sm3: test copyResultsBy4 2024-09-06 15:03:53 +08:00
Sun Yimin
b95cbabf8b
sm3: ppc64x, test more 2024-09-06 14:56:18 +08:00
Sun Yimin
7a84c6fd29
sm3: add copyResultsBy4 test case 2024-09-06 14:19:40 +08:00
Sun Yimin
664f5dcae3
fix LOAD_T 2024-09-06 13:49:01 +08:00
Sun Yimin
76c0cc93d9
fix LOAD_T 2024-09-06 13:38:10 +08:00
Sun Yimin
47ac403b9a
test load constant T 2024-09-06 13:35:24 +08:00
Sun Yimin
df0242f4fc
test load constant T 2024-09-06 13:32:23 +08:00
Sun Yimin
66d356888b
split rotl 19 to rotl 10 then rotl 9 2024-09-06 13:28:12 +08:00