CVSROOT: /cvs Module name: src Changes by: js...@cvs.openbsd.org 2025/03/07 07:21:22
Modified files: lib/libcrypto/arch/aarch64: Makefile.inc crypto_arch.h Added files: lib/libcrypto/sha: sha256_aarch64.c sha256_aarch64_ce.S Log message: Provide an accelerated SHA-256 assembly implementation for aarch64. This provides a SHA-256 assembly implementation that makes use of the ARM Cryptographic Extension (CE), which is found on many arm64 CPUs. This gives a performance gain of up to 7.5x on an Apple M2 (dependent on block size). If an aarch64 machine does not have SHA2 support, then we'll fall back to using the existing C implementation. ok kettenis@ tb@