summaryrefslogtreecommitdiff
path: root/assembly/zkshtest/zkshtest.S
blob: 1bc78afe27936c1a1dcc9c33e8e58ab6933d378d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
li a0,0x12345678

sm3p0 s0,a0

rori t0,a0,(32-9)
xor s1,a0,t0
rori t0,a0,(32-17)
xor s1,s1,t0



sm3p1 s2,a0

rori t0,a0,(32-15)
xor s3,a0,t0
rori t0,a0,(32-23)
xor s3,s3,t0



li a7,10
ecall