Skip to content
Snippets Groups Projects
Commit fa9d40c7 authored by Niels Möller's avatar Niels Möller
Browse files

(idx_row): New macro. Include asm.m4.

Rev: src/nettle/sparc/aes.asm:1.9
parent 65346ce4
No related branches found
No related tags found
No related merge requests found
...@@ -15,6 +15,8 @@ ...@@ -15,6 +15,8 @@
! aes256 (CBC encrypt): 20.92s, 0.478MB/s ! aes256 (CBC encrypt): 20.92s, 0.478MB/s
! aes256 ((CBC decrypt)): 23.22s, 0.431MB/s ! aes256 ((CBC decrypt)): 23.22s, 0.431MB/s
include(`asm.m4')
.file "aes.asm" .file "aes.asm"
.section ".text" .section ".text"
.align 4 .align 4
...@@ -130,22 +132,17 @@ key_addition32to8: ...@@ -130,22 +132,17 @@ key_addition32to8:
.type idx,#object .type idx,#object
.size idx,64 .size idx,64
idx: idx:
.long 0 define(idx_row,
.long 1 < .long $1
.long 2 .long $2
.long 3 .long $3
.long 1 .long $4
.long 2 >)
.long 3 idx_row(0, 1, 2, 3)
.long 0 idx_row(1, 2, 3, 0)
.long 2 idx_row(2, 3, 0, 1)
.long 3 idx_row(3, 0, 1, 2)
.long 0
.long 1
.long 3
.long 0
.long 1
.long 2
.align 8 .align 8
.LLC0: .LLC0:
.asciz "!(length % 16)" .asciz "!(length % 16)"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment