X-Git-Url: https://bearssl.org/gitweb//home/git/?p=BearSSL;a=blobdiff_plain;f=src%2Fconfig.h;h=c315a53a884395eb8d70841c5facb4ca01442e01;hp=71440e71688d72879c3da488c9ecf704182fa525;hb=d8641065c992e2d06494d51f151355635f05dfa0;hpb=5db2d48b128326704cd33aff56c8b46e463f3bf6 diff --git a/src/config.h b/src/config.h index 71440e7..c315a53 100644 --- a/src/config.h +++ b/src/config.h @@ -189,4 +189,20 @@ #define BR_UMUL128 1 */ +/* + * When BR_LE_UNALIGNED is enabled, then the current architecture is + * assumed to use little-endian encoding for integers, and to tolerate + * unaligned accesses with no or minimal time penalty. + * +#define BR_LE_UNALIGNED 1 + */ + +/* + * When BR_BE_UNALIGNED is enabled, then the current architecture is + * assumed to use little-endian encoding for integers, and to tolerate + * unaligned accesses with no or minimal time penalty. + * +#define BR_BE_UNALIGNED 1 + */ + #endif