Skip to content

Commit

Permalink
Remove /openmp from cryptest.nmake
Browse files Browse the repository at this point in the history
This has cross-pollinated twice in two days
  • Loading branch information
noloader committed Jan 22, 2019
1 parent ef1b391 commit 6d33901
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion cryptest.nmake
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion xed25519.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 6d33901

Please sign in to comment.