Skip to content

Commit b1141a3

Browse files
committed
Merge OpenSSL_1_0_2-stable' into 1.0.2-chacha
Aligned with OpenSSL 1.0.2-beta3-dev Conflicts: crypto/opensslv.h
2 parents 68ab9b3 + 371d9a6 commit b1141a3

23 files changed

+51
-1025
lines changed

CHANGES

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,41 @@
44

55
Changes between 1.0.1h and 1.0.2 [xx XXX xxxx]
66

7+
*) Initial support for PowerISA 2.0.7, first implemented in POWER8.
8+
This covers AES, SHA256/512 and GHASH. "Initial" means that most
9+
common cases are optimized and there still is room for further
10+
improvements. Vector Permutation AES for Altivec is also added.
11+
[Andy Polyakov]
12+
13+
*) Add support for little-endian ppc64 Linux target.
14+
[Marcelo Cerri (IBM)]
15+
16+
*) Initial support for AMRv8 ISA crypto extensions. This covers AES,
17+
SHA1, SHA256 and GHASH. "Initial" means that most common cases
18+
are optimized and there still is room for further improvements.
19+
Both 32- and 64-bit modes are supported.
20+
[Andy Polyakov, Ard Biesheuvel (Linaro)]
21+
22+
*) Improved ARMv7 NEON support.
23+
[Andy Polyakov]
24+
25+
*) Support for SPARC Architecture 2011 crypto extensions, first
26+
implemented in SPARC T4. This covers AES, DES, Camellia, SHA1,
27+
SHA256/512, MD5, GHASH and modular exponentiation.
28+
[Andy Polyakov, David Miller]
29+
30+
*) Accelerated modular exponentiation for Intel processors, a.k.a.
31+
RSAZ.
32+
[Shay Gueron (Intel Corp)]
33+
34+
*) Support for new and upcoming Intel processors, including AVX2,
35+
BMI and SHA ISA extensions. This includes additional "stitched"
36+
implementations, AESNI-SHA256 and GCM, and multi-buffer support
37+
for TLS encrypt.
38+
39+
This work was sponsored by Intel Corp.
40+
[Andy Polyakov]
41+
742
*) Harmonize version and its documentation. -f flag is used to display
843
compilation flags.
944
[mancha <[email protected]>]

Configure

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -749,7 +749,7 @@ my @experimental = ();
749749

750750
# This is what $depflags will look like with the above defaults
751751
# (we need this to see if we should advise the user to run "make depend"):
752-
my $default_depflags = " -DOPENSSL_NO_EC_NISTP_64_GCC_128 -DOPENSSL_NO_GMP -DOPENSSL_NO_JPAKE -DOPENSSL_NO_LIBUNBOUND -DOPENSSL_NO_MD2 -DOPENSSL_NO_MULTIBLOCK -DOPENSSL_NO_RC5 -DOPENSSL_NO_RFC3779 -DOPENSSL_NO_SCTP -DOPENSSL_NO_SSL_TRACE -DOPENSSL_NO_STORE";
752+
my $default_depflags = " -DOPENSSL_NO_EC_NISTP_64_GCC_128 -DOPENSSL_NO_GMP -DOPENSSL_NO_JPAKE -DOPENSSL_NO_LIBUNBOUND -DOPENSSL_NO_MD2 -DOPENSSL_NO_RC5 -DOPENSSL_NO_RFC3779 -DOPENSSL_NO_SCTP -DOPENSSL_NO_SSL_TRACE -DOPENSSL_NO_STORE";
753753

754754
# Explicit "no-..." options will be collected in %disabled along with the defaults.
755755
# To remove something from %disabled, use "enable-foo" (unless it's experimental).

README

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11

2-
OpenSSL 1.0.2-beta2-dev
2+
OpenSSL 1.0.2-beta3-dev
33

44
Copyright (c) 1998-2011 The OpenSSL Project
55
Copyright (c) 1995-1998 Eric A. Young, Tim J. Hudson

crypto/bn/Makefile

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -253,7 +253,6 @@ bn_exp.o: ../../include/openssl/lhash.h ../../include/openssl/opensslconf.h
253253
bn_exp.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
254254
bn_exp.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h
255255
bn_exp.o: ../../include/openssl/symhacks.h ../cryptlib.h bn_exp.c bn_lcl.h
256-
bn_exp.o: rsaz_exp.h
257256
bn_exp2.o: ../../e_os.h ../../include/openssl/bio.h ../../include/openssl/bn.h
258257
bn_exp2.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h
259258
bn_exp2.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h

crypto/ec/ec_lib.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -942,7 +942,7 @@ int EC_POINT_dbl(const EC_GROUP *group, EC_POINT *r, const EC_POINT *a, BN_CTX *
942942

943943
int EC_POINT_invert(const EC_GROUP *group, EC_POINT *a, BN_CTX *ctx)
944944
{
945-
if (group->meth->dbl == 0)
945+
if (group->meth->invert == 0)
946946
{
947947
ECerr(EC_F_EC_POINT_INVERT, ERR_R_SHOULD_NOT_HAVE_BEEN_CALLED);
948948
return 0;

crypto/opensslv.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,11 +25,11 @@
2525
* (Prior to 0.9.5a beta1, a different scheme was used: MMNNFFRBB for
2626
* major minor fix final patch/beta)
2727
*/
28-
#define OPENSSL_VERSION_NUMBER 0x10002002L
28+
#define OPENSSL_VERSION_NUMBER 0x10002003L
2929
#ifdef OPENSSL_FIPS
30-
#define OPENSSL_VERSION_TEXT "OpenSSL 1.0.2-chacha (beta2-fips-dev)"
30+
#define OPENSSL_VERSION_TEXT "OpenSSL 1.0.2-chacha (beta3-fips-dev)"
3131
#else
32-
#define OPENSSL_VERSION_TEXT "OpenSSL 1.0.2-chacha (beta2-dev)"
32+
#define OPENSSL_VERSION_TEXT "OpenSSL 1.0.2-chacha (beta3-dev)"
3333
#endif
3434
#define OPENSSL_VERSION_PTEXT " part of " OPENSSL_VERSION_TEXT
3535

crypto/sha/asm/sha1-ppc.pl

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -125,31 +125,31 @@ sub BODY_20_39 {
125125
my $j=$i+1;
126126
$code.=<<___ if ($i<79);
127127
add $f,$K,$e
128+
xor $t0,$b,$d
128129
rotlwi $e,$a,5
129130
xor @X[$j%16],@X[$j%16],@X[($j+2)%16]
130131
add $f,$f,@X[$i%16]
131-
xor $t0,$b,$c
132+
xor $t0,$t0,$c
132133
xor @X[$j%16],@X[$j%16],@X[($j+8)%16]
133-
add $f,$f,$e
134+
add $f,$f,$t0
134135
rotlwi $b,$b,30
135-
xor $t0,$t0,$d
136136
xor @X[$j%16],@X[$j%16],@X[($j+13)%16]
137-
add $f,$f,$t0
137+
add $f,$f,$e
138138
rotlwi @X[$j%16],@X[$j%16],1
139139
___
140140
$code.=<<___ if ($i==79);
141141
add $f,$K,$e
142+
xor $t0,$b,$d
142143
rotlwi $e,$a,5
143144
lwz r16,0($ctx)
144145
add $f,$f,@X[$i%16]
145-
xor $t0,$b,$c
146+
xor $t0,$t0,$c
146147
lwz r17,4($ctx)
147-
add $f,$f,$e
148+
add $f,$f,$t0
148149
rotlwi $b,$b,30
149150
lwz r18,8($ctx)
150-
xor $t0,$t0,$d
151151
lwz r19,12($ctx)
152-
add $f,$f,$t0
152+
add $f,$f,$e
153153
lwz r20,16($ctx)
154154
___
155155
}

crypto/sha/asm/sha512p8-ppc.pl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@
1313
# always virtualized setup with possibly throttled processor.
1414
# Relative comparison is therefore more informative. This module is
1515
# ~60% faster than integer-only sha512-ppc.pl. To anchor to something
16-
# else, SHA256 is 16% slower than sha1-ppc.pl and 2.5x slower than
17-
# hardware-assisted aes-128-cbc encrypt. SHA512 is 33% faster than
16+
# else, SHA256 is 24% slower than sha1-ppc.pl and 2.5x slower than
17+
# hardware-assisted aes-128-cbc encrypt. SHA512 is 20% faster than
1818
# sha1-ppc.pl and 1.6x slower than aes-128-cbc. Another interesting
1919
# result is degree of computational resources' utilization. POWER8 is
2020
# "massively multi-threaded chip" and difference between single- and

demos/eay/Makefile

Lines changed: 0 additions & 24 deletions
This file was deleted.

demos/eay/base64.c

Lines changed: 0 additions & 49 deletions
This file was deleted.

demos/eay/conn.c

Lines changed: 0 additions & 105 deletions
This file was deleted.

demos/eay/loadrsa.c

Lines changed: 0 additions & 53 deletions
This file was deleted.

demos/maurice/.cvsignore

Lines changed: 0 additions & 6 deletions
This file was deleted.

0 commit comments

Comments
 (0)