Skip to content
Commit ec555688 authored by Ross Burton's avatar Ross Burton Committed by Steve Sakoman
Browse files

openssl: fix crash on aarch64 if BTI is enabled but no Crypto instructions



On aarch64, if the processor doesn't have the Crypto instructions then
OpenSSL will fall back onto the "bit-sliced" assembler routines. When
branch protection (BTI) was enabled in OpenSSL these routines were
missed, so if BTI is available libssl will immediately abort when it
enters this assembler.

Backport a patch submitted upstream to add the required call target
annotations so that BTI doesn't believe the code is being exploited.

Signed-off-by: default avatarRoss Burton <ross.burton@arm.com>
Signed-off-by: default avatarSteve Sakoman <steve@sakoman.com>
parent d105cc0d
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment