[openssl/openssl] e7bb35: Backport crypto/armcap.c from master branch

Tom Cosgrove noreply at github.com
Tue Aug 1 17:15:09 UTC 2023

  Branch: refs/heads/openssl-3.1
  Home:   https://github.com/openssl/openssl
  Commit: e7bb35e0c3dbd7ba5e6e4885d893191a3bf70356
  Author: Tom Cosgrove <tom.cosgrove at arm.com>
  Date:   2023-08-01 (Tue, 01 Aug 2023)

  Changed paths:
    M crypto/arm_arch.h
    M crypto/armcap.c
    M crypto/armv4cpuid.pl
    M crypto/bn/asm/armv4-gf2m.pl
    M crypto/bn/asm/armv4-mont.pl
    M crypto/chacha/asm/chacha-armv4.pl
    M crypto/poly1305/asm/poly1305-armv4.pl
    M crypto/sha/asm/sha1-armv4-large.pl
    M crypto/sha/asm/sha256-armv4.pl
    M crypto/sha/asm/sha512-armv4.pl

  Log Message:
  Backport crypto/armcap.c from master branch

This backports 7b508cd1e1 together with .pl fixes

Makes the SIGILL-based code easier to read, and doesn't use it on Apple Silicon
or where getauxval() is present, thereby improving stability when debugging on
Darwin (macOS/iOS/etc) and in multi-threaded programs (both Darwin and Linux).

Fixes #21541

Change-Id: I07912f0ddcbfe15bf3c1550533855a6583d21b67

Reviewed-by: Paul Dale <pauli at openssl.org>
Reviewed-by: Tomas Mraz <tomas at openssl.org>
(Merged from https://github.com/openssl/openssl/pull/21583)

More information about the openssl-commits mailing list