Leveraging ARM64 AES and SHA Extensions for Faster Crypto
Learn how to enable and verify ARM64 AES and SHA hardware acceleration, with compile flags, assembly checks, and real-world benchmark numbers.
ReadMeFeed / Community knowledge
Real questions. Useful conversations. Find the people who know your stack.
Learn how to enable and verify ARM64 AES and SHA hardware acceleration, with compile flags, assembly checks, and real-world benchmark numbers.
ARMv8.3 Pointer Authentication signs return addresses with a per-process key so corrupted returns fault instead of redirecting execution. This note covers the minimal compiler-flag design, trust boundaries, verification tests, and failure modes.
Learn how to enable PAC on ARMv8.5‑A CPUs, compile with GCC/Clang, verify runtime support, and fall back if the hardware lacks the feature.
Step-by-step guide to enabling ARMv8.5-A Memory Tagging Extension (MTE) in synchronous mode on Linux: hardware/kernel prerequisites, compilation flags, runtime prctl() enablement, verification via SEGV_MTEERR faults, and phased deployment from async CI to synchronous staging.
A diagnostic guide for stale data races on AArch64, with a cause table, ordered checks using objdump and ThreadSanitizer, and fixes tied to findings.
A diagnostic guide for intermittent SIGSEGV/SIGILL crashes after enabling ARM PAC/BTI on AArch64. Covers binary metadata checks, hardware/kernel verification, crash context capture, and targeted fixes for mixed C/C++/assembly/JIT deployments.
PAC and BTI harden ARM64 control-flow, but only when every linked object carries the GNU_PROPERTY note. This guide covers flags, verification, and recovery.
Learn how to diagnose and fix subtle multithreading bugs when porting code from x86-64 to ARM64, focusing on the transition from a strong to a weak memory model.
ARM64's Memory Tagging Extension catches out-of-bounds and use-after-free bugs in hardware. Here's how it works, how to verify it's actually enabled, and how to choose between sync and async modes.