From: Andy Polyakov Date: Thu, 30 Dec 2004 10:55:02 +0000 (+0000) Subject: Commentary update for AES IA-64 assembler module. X-Git-Tag: OpenSSL_0_9_7g~17^2~88 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=25866e39822a23e97ba390d60e893faff2fe0a62;p=openssl Commentary update for AES IA-64 assembler module. --- 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