Bug #1855

need add define AV_SPARC_AES to /usr/include/sys/auxv_SPARC.h

Added by Igor Kozhukhov over 2 years ago.

Status:New Start date:2011-12-05
Priority:Normal Due date:
Assignee:- % Done:

0%

Category:- Spent time: -
Target version:-
Difficulty:Medium Tags:needs-triage

Description

build LIBSSL-1.0 failed on SPARC
need add define AV_SPARC_AES to /usr/include/sys/auxv_SPARC.h

http://blogs.oracle.com/DanX/entry/sparc_t4_openssl_engine

Future Availability and Commitment

The new crypto instructions mention here are available on the SPARC T4 microprocessor. However, these new instructions should be considered "evolving" in that there's no guarantee the instructions will be present or unchanged in future SPARC processors. That's to allow the possibility for optimizations and tuning in the future. That's not a problem to those using Solaris software, including OpenSSL, as future software will support future hardware. But it is a consideration to those coding and using crypto instructions directly in their code. Applications should verify T4 aes is availabe with the getisax(2) system call and checking for the AV_SPARC_AES bit (or similar bit for digests) defined in header file /usr/include/sys/auxv_SPARC.h. 

Also available in: Atom PDF