mirror of
https://github.com/shadps4-emu/ext-cryptopp.git
synced 2024-11-23 09:59:42 +00:00
Remove /openmp from cryptest.nmake
This has cross-pollinated twice in two days
This commit is contained in:
parent
ef1b391ce6
commit
6d339011a8
@ -154,7 +154,7 @@ LDLIBS =
|
||||
# Debug build.
|
||||
# CXXFLAGS = $(CXXFLAGS) /DDEBUG /D_DEBUG /Oi /Oy- /Od /MTd
|
||||
# Release build. Add /OPT:REF to linker
|
||||
CXXFLAGS = $(CXXFLAGS) /DNDEBUG /D_NDEBUG /Oi /Oy /O2 /MT /openmp
|
||||
CXXFLAGS = $(CXXFLAGS) /DNDEBUG /D_NDEBUG /Oi /Oy /O2 /MT
|
||||
# Linker flags.
|
||||
LDFLAGS = $(LDFLAGS) /OPT:REF
|
||||
|
||||
|
@ -468,7 +468,7 @@ void ed25519PrivateKey::GenerateRandom(RandomNumberGenerator &rng, const NameVal
|
||||
if (params.GetValue(Name::Seed(), seed) && rng.CanIncorporateEntropy())
|
||||
rng.IncorporateEntropy(seed.begin(), seed.size());
|
||||
|
||||
rng.GenerateBlock(m_sk, SECRET_KEYLENGTH);
|
||||
rng.GenerateBlock(m_sk, 32);
|
||||
m_sk[0] &= 248; m_sk[31] &= 127; m_sk[31] |= 64;
|
||||
int ret = Donna::ed25519_publickey(m_pk, m_sk);
|
||||
CRYPTOPP_ASSERT(ret == 0); CRYPTOPP_UNUSED(ret);
|
||||
|
Loading…
Reference in New Issue
Block a user