openssl/openssl

Separate text and rodata for armv8

Open

#23.911 aberto em 21 de mar. de 2024

Ver no GitHub
 (2 comments) (1 reaction) (0 assignees)C (11.262 forks)batch import
branch: masterhelp wantedtriaged: feature

Métricas do repositório

Stars
 (30.157 stars)
Métricas de merge de PR
 (Nenhuma PRs mesclada em 30d)

Description

To improve performance, OpenSSL uses assembly to implement some encryption algorithms when add cflags like -DECP_NISTZ256_ASM, -DKECCAK1600_ASM, -DOPENSSL_BN_ASM_MONT, -DSHA256_ASM... And some data is stored in .text section, which is conflict for eXecute-Only-Memory (XOM) feature, because XOM will set permission of .text to executable only, read is not allowed, and data need be read. So can we move data to .rodata section in this kind of assembly code to support XOM feature?

Guia do colaborador