#include "config.h"
#include "asm-common.h"
-///--------------------------------------------------------------------------
-/// External definitions.
-
.globl F(abort)
.globl F(rijndael_rcon)
// Find the round constants.
ldgot ecx
- leaext RCON, rijndael_rcon, ecx
+ leaext RCON, F(rijndael_rcon), ecx
// Prepare for the main loop.
lea SI, [CTX + w]
///--------------------------------------------------------------------------
/// Encrypting and decrypting blocks.
- .macro encdec op, aes, koff
-FUNC(rijndael_\op\()_x86ish_aesni)
+.macro encdec op, aes, koff
+ FUNC(rijndael_\op\()_x86ish_aesni)
// Find the magic endianness-swapping table.
ldgot ecx
#undef DST
#undef NR
-ENDFUNC
- .endm
+ ENDFUNC
+.endm
encdec eblk, aesenc, w
encdec dblk, aesdec, wi