Commit 341e6ca6 by Alexandre Adomnicai Committed by Enrico Pozzobon

giftcofb128v1.armcortexm

parent 2a22d512
...@@ -224,7 +224,7 @@ rearrange_rkey_3: ...@@ -224,7 +224,7 @@ rearrange_rkey_3:
.global gift128_keyschedule .global gift128_keyschedule
.type gift128_keyschedule,%function .type gift128_keyschedule,%function
gift128_keyschedule: gift128_keyschedule:
push {r2-r12, r14} push {r1-r12, r14}
ldm r0, {r4-r7} //load key words ldm r0, {r4-r7} //load key words
rev r4, r4 rev r4, r4
rev r5, r5 rev r5, r5
...@@ -328,8 +328,7 @@ gift128_keyschedule: ...@@ -328,8 +328,7 @@ gift128_keyschedule:
bl rearrange_rkey_3 bl rearrange_rkey_3
add.w r1, r1, #40 add.w r1, r1, #40
bl rearrange_rkey_3 bl rearrange_rkey_3
sub.w r1, r1, #312 pop {r1-r12, r14}
pop {r2-r12, r14}
bx lr bx lr
.align 2 .align 2
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment