diff options
Diffstat (limited to 'security/nss/lib/freebl/ctr.c')
-rw-r--r-- | security/nss/lib/freebl/ctr.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/security/nss/lib/freebl/ctr.c b/security/nss/lib/freebl/ctr.c index 67ee72c0c..239a60da2 100644 --- a/security/nss/lib/freebl/ctr.c +++ b/security/nss/lib/freebl/ctr.c @@ -13,7 +13,9 @@ #include "secerr.h" #ifdef USE_HW_AES +#ifdef NSS_X86_OR_X64 #include "intel-aes.h" +#endif #include "rijndael.h" #endif @@ -207,7 +209,7 @@ CTR_Update(CTRContext *ctr, unsigned char *outbuf, return SECSuccess; } -#if defined(USE_HW_AES) && defined(_MSC_VER) +#if defined(USE_HW_AES) && defined(_MSC_VER) && defined(NSS_X86_OR_X64) SECStatus CTR_Update_HW_AES(CTRContext *ctr, unsigned char *outbuf, unsigned int *outlen, unsigned int maxout, |