projects
/
oweals
/
openssl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bc120a5
)
ia64cpuid.S: OPENSSL_cleanse to accept zero length parameter.
author
Andy Polyakov
<appro@openssl.org>
Sun, 24 Jan 2010 17:08:52 +0000
(17:08 +0000)
committer
Andy Polyakov
<appro@openssl.org>
Sun, 24 Jan 2010 17:08:52 +0000
(17:08 +0000)
crypto/ia64cpuid.S
patch
|
blob
|
history
diff --git
a/crypto/ia64cpuid.S
b/crypto/ia64cpuid.S
index 1a03b028fcee8ab90fca61acd174d1e038311095..d705fff7ee7cfee9a4e901a2696627ed107f91a9 100644
(file)
--- a/
crypto/ia64cpuid.S
+++ b/
crypto/ia64cpuid.S
@@
-130,9
+130,11
@@
OPENSSL_wipe_cpu:
.global OPENSSL_cleanse#
.proc OPENSSL_cleanse#
OPENSSL_cleanse:
+{ .mib; cmp.eq p6,p0=0,r33 // len==0
#if defined(_HPUX_SOURCE) && !defined(_LP64)
-{ .mmi; addp4 r32=0,r32 };;
+ addp4 r32=0,r32
#endif
+(p6) br.ret.spnt b0 };;
{ .mib; and r2=7,r32
cmp.leu p6,p0=15,r33 // len>=15
(p6) br.cond.dptk .Lot };;