[openssl-commits] [openssl] master update

Richard Levitte levitte at openssl.org
Tue Mar 15 22:56:56 UTC 2016


The branch master has been updated
       via  0a86f668212acfa6b48abacbc17b99c234eedf33 (commit)
       via  1bf80d93024e72628d4351c7ad19c0dfe635aa95 (commit)
      from  4def90c5de3465bd4bc69d069d5f50367108ab27 (commit)


- Log -----------------------------------------------------------------
commit 0a86f668212acfa6b48abacbc17b99c234eedf33
Author: Emilia Kasper <emilia at openssl.org>
Date:   Tue Mar 15 23:04:14 2016 +0100

    On Windows, page walking is known as __chkstk.
    
    Reviewed-by: Andy Polyakov <appro at openssl.org>

commit 1bf80d93024e72628d4351c7ad19c0dfe635aa95
Author: Emilia Kasper <emilia at openssl.org>
Date:   Tue Mar 15 21:52:31 2016 +0100

    Explain *cough*-dows
    
    Reviewed-by: Andy Polyakov <appro at openssl.org>

-----------------------------------------------------------------------

Summary of changes:
 crypto/bn/asm/x86-mont.pl     | 4 +++-
 crypto/bn/asm/x86_64-mont.pl  | 4 +++-
 crypto/bn/asm/x86_64-mont5.pl | 4 +++-
 3 files changed, 9 insertions(+), 3 deletions(-)

diff --git a/crypto/bn/asm/x86-mont.pl b/crypto/bn/asm/x86-mont.pl
index 972de26..7c4e0b2 100755
--- a/crypto/bn/asm/x86-mont.pl
+++ b/crypto/bn/asm/x86-mont.pl
@@ -88,7 +88,9 @@ $frame=32;				# size of above frame rounded up to 16n
 
 	&and	("esp",-64);		# align to cache line
 
-	# Some OSes, *cough*-dows, insist on stack being "wired" to
+	# An OS-agnostic version of __chkstk.
+	#
+	# Some OSes (Windows) insist on stack being "wired" to
 	# physical memory in strictly sequential manner, i.e. if stack
 	# allocation spans two pages, then reference to farmost one can
 	# be punishable by SEGV. But page walking can do good even on
diff --git a/crypto/bn/asm/x86_64-mont.pl b/crypto/bn/asm/x86_64-mont.pl
index 8fb6c99..3e0a78e 100755
--- a/crypto/bn/asm/x86_64-mont.pl
+++ b/crypto/bn/asm/x86_64-mont.pl
@@ -130,7 +130,9 @@ $code.=<<___;
 
 	mov	%r11,8(%rsp,$num,8)	# tp[num+1]=%rsp
 .Lmul_body:
-	# Some OSes, *cough*-dows, insist on stack being "wired" to
+	# An OS-agnostic version of __chkstk.
+	#
+	# Some OSes (Windows) insist on stack being "wired" to
 	# physical memory in strictly sequential manner, i.e. if stack
 	# allocation spans two pages, then reference to farmost one can
 	# be punishable by SEGV. But page walking can do good even on
diff --git a/crypto/bn/asm/x86_64-mont5.pl b/crypto/bn/asm/x86_64-mont5.pl
index 938e170..aa6a5d1 100755
--- a/crypto/bn/asm/x86_64-mont5.pl
+++ b/crypto/bn/asm/x86_64-mont5.pl
@@ -115,7 +115,9 @@ $code.=<<___;
 
 	mov	%rax,8(%rsp,$num,8)	# tp[num+1]=%rsp
 .Lmul_body:
-	# Some OSes, *cough*-dows, insist on stack being "wired" to
+	# An OS-agnostic version of __chkstk.
+	#
+	# Some OSes (Windows) insist on stack being "wired" to
 	# physical memory in strictly sequential manner, i.e. if stack
 	# allocation spans two pages, then reference to farmost one can
 	# be punishable by SEGV. But page walking can do good even on


More information about the openssl-commits mailing list