]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Add assembly optimized code for OpenSSL on powerpc, powerpc64 and powerpc64le
authorPiotr Kubaj <pkubaj@FreeBSD.org>
Mon, 22 Nov 2021 02:28:46 +0000 (03:28 +0100)
committerPiotr Kubaj <pkubaj@FreeBSD.org>
Wed, 29 Dec 2021 13:45:29 +0000 (14:45 +0100)
commitce35a3bc852d25cb989bc1f3dc4ddb723d7d5117
treec8b1a34bb036e3c854069a754d690acc3518ee79
parenta7e7700fa741d64a31e9d7596175fc0461687b86
Add assembly optimized code for OpenSSL on powerpc, powerpc64 and powerpc64le

Summary:
1. https://github.com/openssl/openssl/commit/34ab13b7d8e3e723adb60be8142e38b7c9cd382a
needs to be merged for ELFv2 support on big-endian.
2. crypto/openssl/crypto/ppccap.c needs to be patched.
Same reason as in https://github.com/openssl/openssl/pull/17082.

Approved by: jkim, jhibbits, alfredo (MFC to stable/13)
MFC after: 1 month
Differential Revision: https://reviews.freebsd.org/D33076

(cherry picked from commit 3a60869237b8b315fe66497cf5299ec08b688533)
56 files changed:
crypto/openssl/crypto/perlasm/ppc-xlate.pl
crypto/openssl/crypto/ppccap.c
secure/lib/libcrypto/Makefile
secure/lib/libcrypto/Makefile.asm
secure/lib/libcrypto/Makefile.inc
sys/crypto/openssl/powerpc/aes-ppc.S [new file with mode: 0644]
sys/crypto/openssl/powerpc/aesp8-ppc.S [new file with mode: 0644]
sys/crypto/openssl/powerpc/chacha-ppc.S [new file with mode: 0644]
sys/crypto/openssl/powerpc/ghashp8-ppc.S [new file with mode: 0644]
sys/crypto/openssl/powerpc/poly1305-ppc.S [new file with mode: 0644]
sys/crypto/openssl/powerpc/poly1305-ppcfp.S [new file with mode: 0644]
sys/crypto/openssl/powerpc/ppc-mont.S [new file with mode: 0644]
sys/crypto/openssl/powerpc/ppc.S [new file with mode: 0644]
sys/crypto/openssl/powerpc/ppccpuid.S [new file with mode: 0644]
sys/crypto/openssl/powerpc/sha1-ppc.S [new file with mode: 0644]
sys/crypto/openssl/powerpc/sha256-ppc.S [new file with mode: 0644]
sys/crypto/openssl/powerpc/sha256p8-ppc.S [new file with mode: 0644]
sys/crypto/openssl/powerpc/sha512-ppc.S [new file with mode: 0644]
sys/crypto/openssl/powerpc/sha512p8-ppc.S [new file with mode: 0644]
sys/crypto/openssl/powerpc/vpaes-ppc.S [new file with mode: 0644]
sys/crypto/openssl/powerpc64/aes-ppc.S [new file with mode: 0644]
sys/crypto/openssl/powerpc64/aesp8-ppc.S [new file with mode: 0644]
sys/crypto/openssl/powerpc64/chacha-ppc.S [new file with mode: 0644]
sys/crypto/openssl/powerpc64/ecp_nistz256-ppc64.S [new file with mode: 0644]
sys/crypto/openssl/powerpc64/ghashp8-ppc.S [new file with mode: 0644]
sys/crypto/openssl/powerpc64/keccak1600-ppc64.S [new file with mode: 0644]
sys/crypto/openssl/powerpc64/poly1305-ppc.S [new file with mode: 0644]
sys/crypto/openssl/powerpc64/poly1305-ppcfp.S [new file with mode: 0644]
sys/crypto/openssl/powerpc64/ppc-mont.S [new file with mode: 0644]
sys/crypto/openssl/powerpc64/ppc.S [new file with mode: 0644]
sys/crypto/openssl/powerpc64/ppccpuid.S [new file with mode: 0644]
sys/crypto/openssl/powerpc64/sha1-ppc.S [new file with mode: 0644]
sys/crypto/openssl/powerpc64/sha256-ppc.S [new file with mode: 0644]
sys/crypto/openssl/powerpc64/sha256p8-ppc.S [new file with mode: 0644]
sys/crypto/openssl/powerpc64/sha512-ppc.S [new file with mode: 0644]
sys/crypto/openssl/powerpc64/sha512p8-ppc.S [new file with mode: 0644]
sys/crypto/openssl/powerpc64/vpaes-ppc.S [new file with mode: 0644]
sys/crypto/openssl/powerpc64/x25519-ppc64.S [new file with mode: 0644]
sys/crypto/openssl/powerpc64le/aes-ppc.S [new file with mode: 0644]
sys/crypto/openssl/powerpc64le/aesp8-ppc.S [new file with mode: 0644]
sys/crypto/openssl/powerpc64le/chacha-ppc.S [new file with mode: 0644]
sys/crypto/openssl/powerpc64le/ecp_nistz256-ppc64.S [new file with mode: 0644]
sys/crypto/openssl/powerpc64le/ghashp8-ppc.S [new file with mode: 0644]
sys/crypto/openssl/powerpc64le/keccak1600-ppc64.S [new file with mode: 0644]
sys/crypto/openssl/powerpc64le/poly1305-ppc.S [new file with mode: 0644]
sys/crypto/openssl/powerpc64le/poly1305-ppcfp.S [new file with mode: 0644]
sys/crypto/openssl/powerpc64le/ppc-mont.S [new file with mode: 0644]
sys/crypto/openssl/powerpc64le/ppc.S [new file with mode: 0644]
sys/crypto/openssl/powerpc64le/ppccpuid.S [new file with mode: 0644]
sys/crypto/openssl/powerpc64le/sha1-ppc.S [new file with mode: 0644]
sys/crypto/openssl/powerpc64le/sha256-ppc.S [new file with mode: 0644]
sys/crypto/openssl/powerpc64le/sha256p8-ppc.S [new file with mode: 0644]
sys/crypto/openssl/powerpc64le/sha512-ppc.S [new file with mode: 0644]
sys/crypto/openssl/powerpc64le/sha512p8-ppc.S [new file with mode: 0644]
sys/crypto/openssl/powerpc64le/vpaes-ppc.S [new file with mode: 0644]
sys/crypto/openssl/powerpc64le/x25519-ppc64.S [new file with mode: 0644]