projects
/
openssl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
3b3df98
)
Commentary update for AES IA-64 assembler module.
author
Andy Polyakov
<appro@openssl.org>
Thu, 30 Dec 2004 10:55:02 +0000
(10:55 +0000)
committer
Andy Polyakov
<appro@openssl.org>
Thu, 30 Dec 2004 10:55:02 +0000
(10:55 +0000)
crypto/aes/asm/aes-ia64.S
patch
|
blob
|
history
diff --git
a/crypto/aes/asm/aes-ia64.S
b/crypto/aes/asm/aes-ia64.S
index 7f5432f6569551fa01f2d46d0bb1b2f82a8e9bba..b7d0c9ca80bf870d66178d3fea38d5049d59d69a 100644
(file)
--- 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
# 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);
#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
.global AES_encrypt#
.proc AES_encrypt#
.align 32