Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Factory:Rebuild
libcryptopp
libcryptopp-CVE-2023-50981.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File libcryptopp-CVE-2023-50981.patch of Package libcryptopp
Index: cryptopp-CRYPTOPP_8_9_0/nbtheory.cpp =================================================================== --- cryptopp-CRYPTOPP_8_9_0.orig/nbtheory.cpp +++ cryptopp-CRYPTOPP_8_9_0/nbtheory.cpp @@ -543,6 +543,9 @@ Integer CRT(const Integer &xp, const Int Integer ModularSquareRoot(const Integer &a, const Integer &p) { + if (!IsPrime(p)) + throw InvalidArgument("ModularSquareRoot: p must be a prime"); + if (p%4 == 3) return a_exp_b_mod_c(a, (p+1)/4, p);
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor