From 25866e39822a23e97ba390d60e893faff2fe0a62 Mon Sep 17 00:00:00 2001 From: Andy Polyakov Date: Thu, 30 Dec 2004 10:55:02 +0000 Subject: [PATCH] Commentary update for AES IA-64 assembler module. --- crypto/aes/asm/aes-ia64.S | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/crypto/aes/asm/aes-ia64.S b/crypto/aes/asm/aes-ia64.S index 7f5432f656..b7d0c9ca80 100644 --- a/crypto/aes/asm/aes-ia64.S +++ b/crypto/aes/asm/aes-ia64.S @@ -48,13 +48,16 @@ te0=r40; te1=r41; te2=r42; te3=r43; # define ADDP add #endif +// Why is the key schedule sparse on 64-bit architectures? When/if we fix +// it in C, these are the lines to modify accordingly. #ifndef KSZ # define KSZ 8 # define LDKEY ld8 #endif // void AES_encrypt (const void *in,void *out,const AES_KEY *key); -// measured timing om Itanium 2 is (48 + 14*rounds) cycles +// measured timing on Itanium 2 is (48 + 14*rounds) cycles, or +// 11.75 cycles per byte for 128 bit key... .global AES_encrypt# .proc AES_encrypt# .align 32 -- 2.40.0