Comments (3)
I can't duplicate with the following program built with -DDEBUG -g3 -O0
. The library was also built with the same flags.
$ cat test.cxx
#include "cryptlib.h"
#include "osrng.h"
#include "rsa.h"
int main(int argc, char* argv[])
{
using namespace CryptoPP;
AutoSeededRandomPool prng;
RSA::PrivateKey privateKey;
privateKey.GenerateRandomWithKeySize(prng, 2048);
RSA::PublicKey publicKey(privateKey);
return 0;
}
There's probably something wrong with your program.
from cryptopp.
Still strange that the same code in release is working just fine and in debug not.
Have a workaround now, in debug using plain text in release encrypted.
Thanks for you effort.
from cryptopp.
I experienced this issue about 8 or 10 years ago on OS X. If I recall correctly, there was a global static, and for some reason, it was triggering the unused parameter exception. I never figured out what was sideways.
from cryptopp.
Related Issues (20)
- ARIA/CTR mode self test failures HOT 2
- AES/CFB and AES/CTR modes self test failures on ARMv7 HOT 1
- SIMON128 Asan failures on POWER8 HOT 1
- Warning in validat2.cpp
- CRYPTOPP_VERSION has reached its limits HOT 3
- CRYPTOPP_DISABLE_ASM is broken in 8.9.0 for MSVC x64 builds HOT 20
- Unable to link using MSYS2 Clang64 toolchain HOT 8
- Linker command
- Loss of data after inflation using gunzip HOT 3
- page www.cryptopp.com/wiki | Obsolete links
- Crypto++ vulnerable to the Marvin Attack HOT 1
- EC2N::DecodePoint can crash if exponents are not in descending order HOT 2
- A security issue in the `ModularSquareRoot` function leads to a DOS attack
- Compile warnings in VS 2022 17.8.0 - stdext::make_checked_array_iterator stdext::make_unchecked_array_iterator beeing deprecated HOT 1
- Memory leak problem!! HOT 2
- Crypto++ needs to support a fixed target HOT 2
- Poly1305 null pointer passed as argument 1 HOT 1
- Django cipher texts not matching Crypto++ cipher texts.
- destructor delete problem with own dialog program with MFC (Unicode/Use MFC in a Shared DLL) VS2015
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cryptopp.