mirror of
https://github.com/shadps4-emu/ext-cryptopp.git
synced 2025-02-19 21:00:50 +00:00
Sidestep failed self tests on GCC135
This commit is contained in:
parent
8c9f3821e4
commit
759e586bf0
6
simon.h
6
simon.h
@ -17,9 +17,11 @@
|
||||
#include "seckey.h"
|
||||
#include "secblock.h"
|
||||
|
||||
// Cannot include PPC and PPC64 here. GCC8 on Power9 (and one other
|
||||
// Debian platform) produce incorrect results for Simon64. Play it
|
||||
// safe and disable CRYPTOPP_SIMON64_ADVANCED_PROCESS_BLOCKS.
|
||||
#if CRYPTOPP_BOOL_X64 || CRYPTOPP_BOOL_X32 || CRYPTOPP_BOOL_X86 || \
|
||||
CRYPTOPP_BOOL_ARM32 || CRYPTOPP_BOOL_ARMV8 || \
|
||||
CRYPTOPP_BOOL_PPC32 || CRYPTOPP_BOOL_PPC64
|
||||
CRYPTOPP_BOOL_ARM32 || CRYPTOPP_BOOL_ARMV8
|
||||
# ifndef CRYPTOPP_DISABLE_SIMON_SIMD
|
||||
# define CRYPTOPP_SIMON64_ADVANCED_PROCESS_BLOCKS 1
|
||||
# endif
|
||||
|
6
speck.h
6
speck.h
@ -17,9 +17,11 @@
|
||||
#include "seckey.h"
|
||||
#include "secblock.h"
|
||||
|
||||
// Cannot include PPC and PPC64 here. GCC8 on Power9 (and one other
|
||||
// Debian platform) produce incorrect results for Speck64. Play it
|
||||
// safe and disable CRYPTOPP_SPECK64_ADVANCED_PROCESS_BLOCKS.
|
||||
#if CRYPTOPP_BOOL_X64 || CRYPTOPP_BOOL_X32 || CRYPTOPP_BOOL_X86 || \
|
||||
CRYPTOPP_BOOL_ARM32 || CRYPTOPP_BOOL_ARMV8 || \
|
||||
CRYPTOPP_BOOL_PPC32 || CRYPTOPP_BOOL_PPC64
|
||||
CRYPTOPP_BOOL_ARM32 || CRYPTOPP_BOOL_ARMV8
|
||||
# ifndef CRYPTOPP_DISABLE_SPECK_SIMD
|
||||
# define CRYPTOPP_SPECK64_ADVANCED_PROCESS_BLOCKS 1
|
||||
# endif
|
||||
|
Loading…
x
Reference in New Issue
Block a user