Commentary update for AES IA-64 assembler module.
This commit is contained in:
parent
3b3df98ca6
commit
25866e3982
@ -48,13 +48,16 @@ te0=r40; te1=r41; te2=r42; te3=r43;
|
|||||||
# define ADDP add
|
# define ADDP add
|
||||||
#endif
|
#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
|
#ifndef KSZ
|
||||||
# define KSZ 8
|
# define KSZ 8
|
||||||
# define LDKEY ld8
|
# define LDKEY ld8
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
// void AES_encrypt (const void *in,void *out,const AES_KEY *key);
|
// 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#
|
.global AES_encrypt#
|
||||||
.proc AES_encrypt#
|
.proc AES_encrypt#
|
||||||
.align 32
|
.align 32
|
||||||
|
Loading…
x
Reference in New Issue
Block a user