[openssl-dev] [openssl.org #4568] Enhancement request: Capability vector accessor function for arm and ppc

Loic Etienne via RT rt at openssl.org
Tue Jun 14 15:26:49 UTC 2016


For arm and ppc, define functions corresponding to unsigned long *OPENSSL_ia32cap(), returning a pointer to the capability vector, or NULL on an unsuitable architecture:
unsigned int *OPENSSL_armcap_loc();
unsigned int *OPENSSL_ppccap_loc();

Otherwise, an extern declaration of OPENSSL_armcap_P (or OPENSSL_ppccap_P) is required, depending on the architecture, which has to be detected by other means. This is inconvenient. Furthermore, arm_arch.h and ppc_arch.h not available in the deployed include folder, making a declaration mismatch possible.

Further architectures may be considered as well.

-- 
Ticket here: http://rt.openssl.org/Ticket/Display.html?id=4568
Please log in as guest with password guest if prompted



More information about the openssl-dev mailing list