diff options
author | Samuli Suominen <ssuominen@gentoo.org> | 2010-11-28 14:49:16 +0000 |
---|---|---|
committer | Samuli Suominen <ssuominen@gentoo.org> | 2010-11-28 14:49:16 +0000 |
commit | 8b6af792cd1b61f27ac0a36d4608ceed2798c8ae (patch) | |
tree | 4fb62216d65c5f6abcb78e16ba4698f53ed2934c /dev-libs/openssl/files | |
parent | Version bump with translation updates, remove old. (diff) | |
download | gentoo-2-8b6af792cd1b61f27ac0a36d4608ceed2798c8ae.tar.gz gentoo-2-8b6af792cd1b61f27ac0a36d4608ceed2798c8ae.tar.bz2 gentoo-2-8b6af792cd1b61f27ac0a36d4608ceed2798c8ae.zip |
old
(Portage version: 2.2.0_alpha5/cvs/Linux x86_64)
Diffstat (limited to 'dev-libs/openssl/files')
-rw-r--r-- | dev-libs/openssl/files/alphacpuid.s | 125 | ||||
-rw-r--r-- | dev-libs/openssl/files/openssl-1.0.0a-alpha-mont.patch | 125 | ||||
-rw-r--r-- | dev-libs/openssl/files/openssl-1.0.0a-alphacpuid.patch | 18 | ||||
-rw-r--r-- | dev-libs/openssl/files/openssl-1.0.0a-fix-double-free.patch | 12 |
4 files changed, 0 insertions, 280 deletions
diff --git a/dev-libs/openssl/files/alphacpuid.s b/dev-libs/openssl/files/alphacpuid.s deleted file mode 100644 index 3fa77a0ade5b..000000000000 --- a/dev-libs/openssl/files/alphacpuid.s +++ /dev/null @@ -1,125 +0,0 @@ -.text - -.set noat - -.globl OPENSSL_cpuid_setup -.ent OPENSSL_cpuid_setup -OPENSSL_cpuid_setup: - .frame $30,0,$26 - .prologue 0 - ret ($26) -.end OPENSSL_cpuid_setup - -.globl OPENSSL_wipe_cpu -.ent OPENSSL_wipe_cpu -OPENSSL_wipe_cpu: - .frame $30,0,$26 - .prologue 0 - clr $1 - clr $2 - clr $3 - clr $4 - clr $5 - clr $6 - clr $7 - clr $8 - clr $16 - clr $17 - clr $18 - clr $19 - clr $20 - clr $21 - clr $22 - clr $23 - clr $24 - clr $25 - clr $27 - clr $at - clr $29 - fclr $f0 - fclr $f1 - fclr $f10 - fclr $f11 - fclr $f12 - fclr $f13 - fclr $f14 - fclr $f15 - fclr $f16 - fclr $f17 - fclr $f18 - fclr $f19 - fclr $f20 - fclr $f21 - fclr $f22 - fclr $f23 - fclr $f24 - fclr $f25 - fclr $f26 - fclr $f27 - fclr $f28 - fclr $f29 - fclr $f30 - mov $sp,$0 - ret ($26) -.end OPENSSL_wipe_cpu - -.globl OPENSSL_atomic_add -.ent OPENSSL_atomic_add -OPENSSL_atomic_add: - .frame $30,0,$26 - .prologue 0 -1: ldl_l $0,($16) - addl $0,$17,$1 - stl_c $1,($16) - beq $1,1b - addl $0,$17,$0 - ret ($26) -.end OPENSSL_atomic_add - -.globl OPENSSL_rdtsc -.ent OPENSSL_rdtsc -OPENSSL_rdtsc: - .frame $30,0,$26 - .prologue 0 - rpcc $0 - ret ($26) -.end OPENSSL_rdtsc - -.globl OPENSSL_cleanse -.ent OPENSSL_cleanse -OPENSSL_cleanse: - .frame $30,0,$26 - .prologue 0 - beq $17,.Ldone - and $16,7,$0 - bic $17,7,$at - beq $at,.Little - beq $0,.Laligned - -.Little: - ldq_u $1,0($16) - mov $16,$2 -.Lalign: - mskbl $1,$16,$1 - lda $16,1($16) - subq $17,1,$17 - subq $0,1,$0 - beq $17,.Lout - bne $0,.Lalign -.Lout: stq_u $1,0($2) - beq $17,.Ldone - bic $17,7,$at - mov $17,$0 - beq $at,.Little - -.Laligned: - stq $31,0($16) - subq $17,8,$17 - lda $16,8($16) - bic $17,7,$at - bne $at,.Laligned - beq $17,.Ldone - mov $17,$0 - br .Little -.Ldone: ret ($26) -.end OPENSSL_cleanse diff --git a/dev-libs/openssl/files/openssl-1.0.0a-alpha-mont.patch b/dev-libs/openssl/files/openssl-1.0.0a-alpha-mont.patch deleted file mode 100644 index cb7d5655aa66..000000000000 --- a/dev-libs/openssl/files/openssl-1.0.0a-alpha-mont.patch +++ /dev/null @@ -1,125 +0,0 @@ -get the new alpha-mont code building with GNU toolchains - -https://bugs.gentoo.org/330915 - -Index: crypto/bn/asm/alpha-mont.pl -=================================================================== -RCS file: /usr/local/src/openssl/CVSROOT/openssl/crypto/bn/asm/alpha-mont.pl,v -retrieving revision 1.6 -retrieving revision 1.7 -diff -u -p -r1.6 -r1.7 ---- crypto/bn/asm/alpha-mont.pl 10 Apr 2010 13:33:04 -0000 1.6 -+++ crypto/bn/asm/alpha-mont.pl 13 Sep 2010 13:28:51 -0000 1.7 -@@ -41,8 +41,12 @@ $j="s4"; - $m1="s5"; - - $code=<<___; -+#ifdef __linux__ -+#include <asm/regdef.h> -+#else - #include <asm.h> - #include <regdef.h> -+#endif - - .text - -@@ -76,7 +80,7 @@ bn_mul_mont: - ldq $aj,8($ap) - subq sp,AT,sp - ldq $bi,0($bp) # bp[0] -- mov -4096,AT -+ lda AT,-4096(zero) # mov -4096,AT - ldq $n0,0($n0) - and sp,AT,sp - -@@ -106,9 +110,9 @@ bn_mul_mont: - .align 4 - .L1st: - .set noreorder -- ldq $aj,($aj) -+ ldq $aj,0($aj) - addl $j,1,$j -- ldq $nj,($nj) -+ ldq $nj,0($nj) - lda $tp,8($tp) - - addq $alo,$hi0,$lo0 -@@ -159,12 +163,12 @@ bn_mul_mont: - .align 4 - .Louter: - s8addq $i,$bp,$bi -- ldq $hi0,($ap) -+ ldq $hi0,0($ap) - ldq $aj,8($ap) -- ldq $bi,($bi) -- ldq $hi1,($np) -+ ldq $bi,0($bi) -+ ldq $hi1,0($np) - ldq $nj,8($np) -- ldq $tj,(sp) -+ ldq $tj,0(sp) - - mulq $hi0,$bi,$lo0 - umulh $hi0,$bi,$hi0 -@@ -195,10 +199,10 @@ bn_mul_mont: - .set noreorder - ldq $tj,8($tp) #L0 - nop #U1 -- ldq $aj,($aj) #L1 -+ ldq $aj,0($aj) #L1 - s8addq $j,$np,$nj #U0 - -- ldq $nj,($nj) #L0 -+ ldq $nj,0($nj) #L0 - nop #U1 - addq $alo,$hi0,$lo0 #L1 - lda $tp,8($tp) -@@ -247,7 +251,7 @@ bn_mul_mont: - addq $hi1,v0,$hi1 - - addq $hi1,$hi0,$lo1 -- stq $j,($tp) -+ stq $j,0($tp) - cmpult $lo1,$hi0,$hi1 - addq $lo1,$tj,$lo1 - cmpult $lo1,$tj,AT -@@ -265,8 +269,8 @@ bn_mul_mont: - mov 0,$hi0 # clear borrow bit - - .align 4 --.Lsub: ldq $lo0,($tp) -- ldq $lo1,($np) -+.Lsub: ldq $lo0,0($tp) -+ ldq $lo1,0($np) - lda $tp,8($tp) - lda $np,8($np) - subq $lo0,$lo1,$lo1 # tp[i]-np[i] -@@ -274,7 +278,7 @@ bn_mul_mont: - subq $lo1,$hi0,$lo0 - cmpult $lo1,$lo0,$hi0 - or $hi0,AT,$hi0 -- stq $lo0,($rp) -+ stq $lo0,0($rp) - cmpult $tp,$tj,v0 - lda $rp,8($rp) - bne v0,.Lsub -@@ -288,7 +292,7 @@ bn_mul_mont: - bis $bp,$ap,$ap # ap=borrow?tp:rp - - .align 4 --.Lcopy: ldq $aj,($ap) # copy or in-place refresh -+.Lcopy: ldq $aj,0($ap) # copy or in-place refresh - lda $tp,8($tp) - lda $rp,8($rp) - lda $ap,8($ap) -@@ -309,8 +313,8 @@ bn_mul_mont: - lda sp,48(sp) - ret (ra) - .end bn_mul_mont --.rdata --.asciiz "Montgomery Multiplication for Alpha, CRYPTOGAMS by <appro\@openssl.org>" -+.ascii "Montgomery Multiplication for Alpha, CRYPTOGAMS by <appro\@openssl.org>" -+.align 2 - ___ - - print $code; diff --git a/dev-libs/openssl/files/openssl-1.0.0a-alphacpuid.patch b/dev-libs/openssl/files/openssl-1.0.0a-alphacpuid.patch deleted file mode 100644 index 0c4cc71e70af..000000000000 --- a/dev-libs/openssl/files/openssl-1.0.0a-alphacpuid.patch +++ /dev/null @@ -1,18 +0,0 @@ -fix by Matt Turner to alpha syntax - -https://bugs.gentoo.org/330915 - ---- a/crypto/alphacpuid.s -+++ b/crypto/alphacpuid.s -@@ -68,9 +68,9 @@ OPENSSL_wipe_cpu: - OPENSSL_atomic_add: - .frame $30,0,$26 - .prologue 0 --1: ldl_l $0,($16) -+1: ldl_l $0,0($16) - addl $0,$17,$1 -- stl_c $1,($16) -+ stl_c $1,0($16) - beq $1,1b - addl $0,$17,$0 - ret ($26) diff --git a/dev-libs/openssl/files/openssl-1.0.0a-fix-double-free.patch b/dev-libs/openssl/files/openssl-1.0.0a-fix-double-free.patch deleted file mode 100644 index a5aaf1eac0aa..000000000000 --- a/dev-libs/openssl/files/openssl-1.0.0a-fix-double-free.patch +++ /dev/null @@ -1,12 +0,0 @@ -http://bugs.gentoo.org/332027 - ---- ssl/s3_clnt.c -+++ ssl/s3_clnt.c -@@ -1508,6 +1508,7 @@ - s->session->sess_cert->peer_ecdh_tmp=ecdh; - ecdh=NULL; - BN_CTX_free(bn_ctx); -+ bn_ctx = NULL; - EC_POINT_free(srvr_ecpoint); - srvr_ecpoint = NULL; - } |