X-Git-Url: https://bearssl.org/gitweb//home/git/?p=BearSSL;a=blobdiff_plain;f=src%2Fconfig.h;h=d2e7a7deeaf64519ca3ee7745113900d8727734e;hp=9eadaf4a78288d3f895aa1665fcb785ca80b3062;hb=db8f1b664524e3fbeea8a0730b2bbe2f0bdcea86;hpb=5f045c759957fdff8c85716e6af99e10901fdac0;ds=sidebyside diff --git a/src/config.h b/src/config.h index 9eadaf4..d2e7a7d 100644 --- a/src/config.h +++ b/src/config.h @@ -162,4 +162,14 @@ #define BR_AES_X86NI 1 */ +/* + * When BR_POWER8 is enabled, the AES implementation using the POWER ISA + * 2.07 opcodes (available on POWER8 processors and later) is compiled. + * If this is not enabled explicitly, then that implementation will be + * compiled only if a compatible compiler is detected, _and_ the target + * architecture is POWER8 or later. + * +#define BR_POWER8 1 + */ + #endif