Skip to content

Commit

Permalink
Sync cryptopp commit (PR multitheftauto#3506)
Browse files Browse the repository at this point in the history
  • Loading branch information
TheNormalnij authored Jun 23, 2024
1 parent 8e9034f commit 2c4e232
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions vendor/cryptopp/nbtheory.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -525,9 +525,6 @@ Integer MaurerProvablePrime(RandomNumberGenerator &rng, unsigned int bits)

Integer CRT(const Integer &xp, const Integer &p, const Integer &xq, const Integer &q, const Integer &u)
{
// Callers must ensure p and q are prime, GH #1249
CRYPTOPP_ASSERT(IsPrime(p) && IsPrime(q));

// isn't operator overloading great?
return p * (u * (xq-xp) % q) + xp;
/*
Expand Down

0 comments on commit 2c4e232

Please sign in to comment.