• Antonio Nino Diaz's avatar
    Add support for pointer authentication · b86048c4
    Antonio Nino Diaz authored
    
    
    The previous commit added the infrastructure to load and save
    ARMv8.3-PAuth registers during Non-secure <-> Secure world switches, but
    didn't actually enable pointer authentication in the firmware.
    
    This patch adds the functionality needed for platforms to provide
    authentication keys for the firmware, and a new option (ENABLE_PAUTH) to
    enable pointer authentication in the firmware itself. This option is
    disabled by default, and it requires CTX_INCLUDE_PAUTH_REGS to be
    enabled.
    
    Change-Id: I35127ec271e1198d43209044de39fa712ef202a5
    Signed-off-by: default avatarAntonio Nino Diaz <antonio.ninodiaz@arm.com>
    b86048c4
arch_helpers.h 15.4 KB