issue_owner_repo
listlengths
2
2
issue_body
stringlengths
0
261k
issue_title
stringlengths
1
925
issue_comments_url
stringlengths
56
81
issue_comments_count
int64
0
2.5k
issue_created_at
stringlengths
20
20
issue_updated_at
stringlengths
20
20
issue_html_url
stringlengths
37
62
issue_github_id
int64
387k
2.46B
issue_number
int64
1
127k
[ "weidai11", "cryptopp" ]
## Crypto++ Issue Report ### System Info ``` OS: MacOS Crypto++ version: 8.6.0 Git version: 2.31.1 ``` ### Actual Behavior When crypto++ is embedded as a submodule in another repository, the command `git submodule status` shows the incorrect tag and version for the submodule: ``` $> git submodule status...
Git tags after v5.6.3 are lightweight instead of annotated resulting in an incorrect submodule version
https://api.github.com/repos/weidai11/cryptopp/issues/1087/comments
3
2021-11-15T22:02:43Z
2023-06-25T18:57:24Z
https://github.com/weidai11/cryptopp/issues/1087
1,054,146,030
1,087
[ "weidai11", "cryptopp" ]
I found that `MakePublicKey()` generates invalid public key pair when the input private key is an empty string. It happens in most elliptic curve types including `brainpoolP256r1`, `secp128r2` etc. The testfile is as follows: ```c++ std::string x,y; void generatePublicKey(string priv){ using namespace Crypto...
MakePublicKey() generate invalid public key pair
https://api.github.com/repos/weidai11/cryptopp/issues/1086/comments
2
2021-11-15T15:35:13Z
2021-12-17T07:18:37Z
https://github.com/weidai11/cryptopp/issues/1086
1,053,803,711
1,086
[ "weidai11", "cryptopp" ]
system: msys2-mingw64: error: signal SIGSEGV, Segmentation fault. in CryptoPP::IteratedHashBase<unsigned int, CryptoPP::HashTransformation>::TruncatedFinal(unsigned char*, unsigned long long) () attached: cryptopp-mingw-maybe-bug.tar.gz containing code to reproduce problem. [cryptopp-mingw-maybe-bug.tar.gz](h...
msys2-mingw64 problem with crypto++
https://api.github.com/repos/weidai11/cryptopp/issues/1085/comments
3
2021-11-13T14:00:25Z
2021-11-15T13:18:52Z
https://github.com/weidai11/cryptopp/issues/1085
1,052,688,130
1,085
[ "weidai11", "cryptopp" ]
- OS: Arch Linux - Version: main branch - How built: CMake - Example command line for CryptoPP source file: ```bash /usr/lib/ccache/bin/g++ -DCMAKE_INTDIR=\"Debug\" -march=skylake -O2 -pipe -Wall -Wextra -Wno-unknown-pragmas -Wcpp -Wshadow -Wundef -fno-common -Wconversion -Wno-enum-compare -frtti -fexceptions -fdi...
`WINVER` usage fails when not defined with `-Wundef`
https://api.github.com/repos/weidai11/cryptopp/issues/1084/comments
2
2021-11-08T00:39:24Z
2021-11-08T02:34:25Z
https://github.com/weidai11/cryptopp/issues/1084
1,046,898,938
1,084
[ "weidai11", "cryptopp" ]
Microsoft C++ exception: CryptoPP::InvalidCiphertext at memory location 0x00000039748FE280. Any fix for this?
StreamTransformationFilter
https://api.github.com/repos/weidai11/cryptopp/issues/1082/comments
0
2021-10-30T13:07:02Z
2021-11-14T05:24:19Z
https://github.com/weidai11/cryptopp/issues/1082
1,040,143,083
1,082
[ "weidai11", "cryptopp" ]
Hey. So I got problem with verifying ecdsa crypto++ signature with bouncycastle, but I can verify bc signature with crypto++. Also I can't import private key from bc, but public key is importing without problem. The code that used is [here](https://github.com/alimtolman/cryptopp-helper/blob/master/main.cpp). There's a...
Can't verify ecdsa crypto++ signature with bouncycastle
https://api.github.com/repos/weidai11/cryptopp/issues/1081/comments
1
2021-10-28T12:17:50Z
2021-10-29T11:47:11Z
https://github.com/weidai11/cryptopp/issues/1081
1,038,447,682
1,081
[ "weidai11", "cryptopp" ]
I'm using Crypto++ built by the latest version of source code in this repository on Ubuntu 18.04. The function is as follows: ```c++ void ECC_PrivatetoPublic(string priv){ using namespace CryptoPP; clock_t start, finish; ECDSA<ECP, SHA256>::PrivateKey privateKey; ECDSA<ECP, SHA256>::PublicKey ...
Correlation Between Key Length and Execution Time
https://api.github.com/repos/weidai11/cryptopp/issues/1080/comments
14
2021-10-28T08:39:07Z
2022-08-17T12:24:58Z
https://github.com/weidai11/cryptopp/issues/1080
1,038,244,979
1,080
[ "weidai11", "cryptopp" ]
CryptoPP version, compiler etc.: Downloaded and compiled 8.5.0 via Visual Studio 2019. Issue: In trap.h, CRYPTOPP_ASSERT gets defined to call DebugBreak, if CRYPTOPP_DEBUG is #defined. It cannot be circumvented. This is a bit annoying when debugging the code where the asserts are hit. In config_mish.h, ``` ...
CRYPTOPP_ASSERT calls DebugBreak in debug builds, no kill switch
https://api.github.com/repos/weidai11/cryptopp/issues/1079/comments
1
2021-10-21T06:48:32Z
2021-11-14T05:26:13Z
https://github.com/weidai11/cryptopp/issues/1079
1,032,122,176
1,079
[ "weidai11", "cryptopp" ]
If I understand correctly, the data sink in crypto++ needs to be created in the heap every time it is used. Just like this: ```C++ // ... StreamTransformationFilter iDecryptor(*pDec, new StringSink(stResult)); // <-- new sink every time iDecryptor.Put(static_cast<const BYTE*>(pData), nByteSize); iDecrypto...
Add one line code to allow the data sink created on stack
https://api.github.com/repos/weidai11/cryptopp/issues/1078/comments
3
2021-10-20T19:24:02Z
2023-06-25T23:32:18Z
https://github.com/weidai11/cryptopp/issues/1078
1,031,753,801
1,078
[ "weidai11", "cryptopp" ]
null
Can I compile only what I want? For example, I just want the ecc encryption part
https://api.github.com/repos/weidai11/cryptopp/issues/1077/comments
0
2021-10-19T09:35:39Z
2021-10-19T13:08:41Z
https://github.com/weidai11/cryptopp/issues/1077
1,030,080,654
1,077
[ "weidai11", "cryptopp" ]
![image](https://user-images.githubusercontent.com/48320342/137881745-d05c5101-fff2-4981-ad19-f1c24b689c61.png)
build in M1 chip for iphone throw unknown type name 'uint32x4_t'; did you mean 'uint32_t'?
https://api.github.com/repos/weidai11/cryptopp/issues/1076/comments
0
2021-10-19T09:23:04Z
2021-10-19T09:27:40Z
https://github.com/weidai11/cryptopp/issues/1076
1,030,066,758
1,076
[ "weidai11", "cryptopp" ]
### Crypto++ Issue Report ``` crypto_version="CRYPTOPP_8_6_0" function install_cryptopp_platform { ( set +u # Allow having undefined variables in setenv-ios.sh IOS_SDK="$1" IOS_CPU="$2" source ./TestScripts/setenv-ios.sh make -j"$NUM_PROC" -f GNUmakefile-cross make install -f GNUmakefile-...
Can't build Crypto++ 8.6.0 for iOS in the M1 architecture
https://api.github.com/repos/weidai11/cryptopp/issues/1074/comments
16
2021-10-14T13:04:00Z
2022-12-20T17:59:35Z
https://github.com/weidai11/cryptopp/issues/1074
1,026,373,162
1,074
[ "weidai11", "cryptopp" ]
Base64URLEncoder has a large performance gap with java and rust libraries. I'm not sure if it is a problem with my code。 os: win11 cpu: Intel(R) Core(TM) i7-10700 CPU @ 2.90GHz 2.90 GHz cryptopp: CRYPTOPP_8_6_0 C++ msvc /O2 ``` int64_t getTime() { struct timeb t1; ftime(&t1); return t1.time*10...
Base64URLEncoder performance is poor
https://api.github.com/repos/weidai11/cryptopp/issues/1073/comments
2
2021-10-12T06:19:36Z
2021-10-15T03:20:39Z
https://github.com/weidai11/cryptopp/issues/1073
1,023,411,698
1,073
[ "weidai11", "cryptopp" ]
Tony Stead reports memory errors in `integer.cpp` when performing bit operations after the size of the underlying `SecBlock` changes. Also see [Buffer Overflow in Integer.cpp](https://groups.google.com/g/cryptopp-users/c/buT4wmnIfWo) on the mailing list. Attached is his reproducer: [integer_error.zip](https://github...
Memory errors in Integer when performing bit operations after the size of the SecBlock changes
https://api.github.com/repos/weidai11/cryptopp/issues/1072/comments
1
2021-10-08T17:41:41Z
2021-10-08T19:54:04Z
https://github.com/weidai11/cryptopp/issues/1072
1,021,332,517
1,072
[ "weidai11", "cryptopp" ]
I recently installed gcc-11.1 and tried to build an old project that uses crypto++ but it failed saying: ``` /vcpkg/installed/x64-linux/include/cryptopp/filters.h:1369:49: error: expected ‘)’ before ‘*’ token 1369 | SourceTemplate<T>(BufferedTransformation *attachment) | ...
g++-11 compiler error in c++ 20 mode
https://api.github.com/repos/weidai11/cryptopp/issues/1070/comments
1
2021-09-23T18:46:41Z
2021-09-23T23:30:21Z
https://github.com/weidai11/cryptopp/issues/1070
1,005,740,428
1,070
[ "weidai11", "cryptopp" ]
Reported on the mailing list at [Flipped bit in chacha encrypted file, avx vs sse](https://groups.google.com/g/cryptopp-users/c/07GHmO6UOEk). The following test script produces different results pivoting around AVX2. The test data file `run_459_file_76.bin` is significant. ```bash #!/usr/bin/env bash make distcl...
ChaCha and incorrect result when using AVX2
https://api.github.com/repos/weidai11/cryptopp/issues/1069/comments
3
2021-09-18T00:15:30Z
2021-09-20T22:06:32Z
https://github.com/weidai11/cryptopp/issues/1069
999,801,314
1,069
[ "weidai11", "cryptopp" ]
Anyone can how to build or compile this cryptopp in windows
How to build in windows
https://api.github.com/repos/weidai11/cryptopp/issues/1068/comments
1
2021-08-25T07:13:25Z
2021-08-25T07:33:54Z
https://github.com/weidai11/cryptopp/issues/1068
978,800,432
1,068
[ "weidai11", "cryptopp" ]
### Crypto++ Issue Report Thanks for taking the time to report an issue. Reporting issues helps us improve stability and reliability for all users, so it is a valuable contribution. Please do not ask questions in the bug tracker. Please ask questions on the Crypto++ Users List at http://groups.google.com/forum/#!...
c++17 build error
https://api.github.com/repos/weidai11/cryptopp/issues/1067/comments
1
2021-08-24T21:10:19Z
2021-08-24T21:26:19Z
https://github.com/weidai11/cryptopp/issues/1067
978,489,121
1,067
[ "weidai11", "cryptopp" ]
I was using a ConstByteArrayParameter with `AlgorithmParameters params = MakeParameters(Name::FeedbackSize(), 1)( Name::IV(), ConstByteArrayParameter( buf, len, /*deepCopy*/ true));` Using that with AES CFB encryption, it was encrypting to a different value with the same key and iv as another library. Eventually, I ...
Unexpected behavior from ConstByteArrayParameter with deepCopy true
https://api.github.com/repos/weidai11/cryptopp/issues/1066/comments
8
2021-08-14T09:20:06Z
2021-09-26T23:42:38Z
https://github.com/weidai11/cryptopp/issues/1066
970,870,974
1,066
[ "weidai11", "cryptopp" ]
I'm currently using Visual Studio 2019 to compile and test cryptopp, but always failed. The error information is, Testing Integer operations... Assertion failed: xxx\cryptopp\integer.cpp(4399): CryptoPP::a_times_b_mod_c
Testing Integer operations error in VS2019
https://api.github.com/repos/weidai11/cryptopp/issues/1065/comments
1
2021-08-07T03:59:54Z
2021-08-24T21:26:09Z
https://github.com/weidai11/cryptopp/issues/1065
963,148,271
1,065
[ "weidai11", "cryptopp" ]
I think I stumbled upon a bug in the `StringSinkTemplate`. It seems it is not reserving enough space in the output string. It tried, but I think the condition is wrong. I look at `filters.h` line 1145, the if-statement in method Put2: `if (length < size && size + length > m_output->capacity())`. Program to repro...
Bug in StringSinkTemplate not reserving enough space in output string.
https://api.github.com/repos/weidai11/cryptopp/issues/1064/comments
3
2021-07-23T16:58:32Z
2021-08-03T16:45:40Z
https://github.com/weidai11/cryptopp/issues/1064
951,748,004
1,064
[ "weidai11", "cryptopp" ]
It took me a while to narrow it down to these two things: (each cause a crash independently from each other) 1. If you call GenerateRandomWithKeySize() from a constructor. (creating void init method solves it) 2. This one is weirder, GenerateRandomWithKeySize() crashes if std::this_thread::sleep_for(std::chrono::se...
GenerateRandomWithKeySize() crashing
https://api.github.com/repos/weidai11/cryptopp/issues/1063/comments
3
2021-07-23T13:19:54Z
2021-07-23T21:18:19Z
https://github.com/weidai11/cryptopp/issues/1063
951,574,568
1,063
[ "weidai11", "cryptopp" ]
E:\GitHub\cryptopp-CRYPTOPP_8_5_0\Win32\DLL_Output\Debug>dlltest.exe 0. Automatic power-up self test passed. 1. Caught expected exception when simulating self test failure. Exception message follows: Cryptographic algorithms are disabled after a power-up self test failed. 2. Re-do power-up self test passed. 3. DE...
run test failed
https://api.github.com/repos/weidai11/cryptopp/issues/1060/comments
0
2021-07-12T07:31:56Z
2021-07-12T07:35:53Z
https://github.com/weidai11/cryptopp/issues/1060
941,760,515
1,060
[ "weidai11", "cryptopp" ]
https://eprint.iacr.org/2021/923 illustrates a message recovery attack in a scenario where Crypto++ encrypts a message to ElGamal public keys generated according to different conventions than those used in Crypto++. This is an issue in interoperable scenarios, such as OpenPGP. Concretely, ElGamal ciphertexts generat...
Message recovery vulnerability in ElGamal
https://api.github.com/repos/weidai11/cryptopp/issues/1059/comments
5
2021-07-09T23:42:57Z
2021-09-24T04:49:01Z
https://github.com/weidai11/cryptopp/issues/1059
941,123,117
1,059
[ "weidai11", "cryptopp" ]
https://eprint.iacr.org/2021/923, Sections 5-6, reports that the finite field exponentiation implementation in https://github.com/weidai11/cryptopp/blob/45de5c6c/algebra.cpp#L255-L314 leaks secret exponents. The suggested fix is to rewrite the implementation using fixed-window exponentiation with secure table lookup...
Side-channel leakage in finite field exponentiation
https://api.github.com/repos/weidai11/cryptopp/issues/1058/comments
0
2021-07-09T23:34:07Z
2021-07-09T23:34:07Z
https://github.com/weidai11/cryptopp/issues/1058
941,121,004
1,058
[ "weidai11", "cryptopp" ]
bug in : get byte of a cipher variable and send it to a server
https://api.github.com/repos/weidai11/cryptopp/issues/1056/comments
2
2021-07-05T12:52:11Z
2021-07-05T16:21:41Z
https://github.com/weidai11/cryptopp/issues/1056
937,060,962
1,056
[ "weidai11", "cryptopp" ]
I am unable to compile version 8.5.0 on my linux machine unless I alter GNUmakefile by adding `CRYPTOPP_CXXFLAGS += -DCRYPTOPP_DISABLE_SHANI` to the cases where the CRYPTOPP_DISABLE_AVX flag is set: ``` ifeq ($(AVX_FLAG),) CRYPTOPP_CXXFLAGS += -DCRYPTOPP_DISABLE_AVX CRYPTOPP_CXXFLAGS += -DCRYPTOPP...
CRYPTOPP_DISABLE_SHANI may be required with CRYPTOPP_DISABLE_AVX2
https://api.github.com/repos/weidai11/cryptopp/issues/1054/comments
11
2021-07-02T17:52:23Z
2021-07-05T13:48:24Z
https://github.com/weidai11/cryptopp/issues/1054
935,962,167
1,054
[ "weidai11", "cryptopp" ]
- OS BigSur 11.4 - Cryptopp8_5_0 - Building - IOS_SDK=iPhoneOS IOS_CPU=arm64 source ./TestScripts/setenv-ios.sh - make -f GNUmakefile-cross - make install PREFIX=../tmp Output after last command: ``` ➜ cryptopp-CRYPTOPP_8_5_0 make install PREFIX=../tmp clang++ -DNDEBUG -g2 -O3 -DCRYPTOPP_DIS...
make install PREFIX=path can't find <string.h> on BigSur 11.4
https://api.github.com/repos/weidai11/cryptopp/issues/1053/comments
2
2021-07-01T08:03:15Z
2021-07-01T14:40:15Z
https://github.com/weidai11/cryptopp/issues/1053
934,538,083
1,053
[ "weidai11", "cryptopp" ]
I don't know if this is the place for this topic, but I recently noticed this Crypto++ wrapper: https://www.codeproject.com/Articles/89935/SpaceCrypto-A-Simple-Crypto-Wrapper and I must agree the code in this library is fairly complicated for a beginner to use. For example, ``` CryptoPP::SHA1 sha1; std::strin...
Can you simplify the use of the library?
https://api.github.com/repos/weidai11/cryptopp/issues/1051/comments
1
2021-06-23T13:22:20Z
2021-06-23T14:10:13Z
https://github.com/weidai11/cryptopp/issues/1051
928,254,443
1,051
[ "weidai11", "cryptopp" ]
Please add support for C++ Builder (Static Library and Dynamic Link Library projects), as it is supported for Visual Studio.
Add support for C++ Builder
https://api.github.com/repos/weidai11/cryptopp/issues/1050/comments
17
2021-06-22T12:35:13Z
2022-09-29T10:05:15Z
https://github.com/weidai11/cryptopp/issues/1050
927,185,213
1,050
[ "weidai11", "cryptopp" ]
Assert in test program
https://api.github.com/repos/weidai11/cryptopp/issues/1049/comments
2
2021-06-20T10:19:56Z
2021-06-23T08:17:46Z
https://github.com/weidai11/cryptopp/issues/1049
925,566,829
1,049
[ "weidai11", "cryptopp" ]
`OldRandomPool::GenerateWord32` does not provide the same behavior as Crypto++ 5.4. It creates an endian-swapped stream of words on little-endian machines. `OldRandomPool::GenerateWord32` uses an algorithm provided around Crypto++ 5.5. Unfortunately, it is not the same algorithm [from Crypto++ 5.4](https://github.c...
Fix OldRandomPool::GenerateWord32
https://api.github.com/repos/weidai11/cryptopp/issues/1048/comments
1
2021-06-17T22:02:36Z
2021-06-18T17:57:11Z
https://github.com/weidai11/cryptopp/issues/1048
924,371,933
1,048
[ "weidai11", "cryptopp" ]
I download recently Crypto++ 8.5. I think its the latest version. Library was build on Linux Ubuntu 20.04 via `make`. I was trying to build [Elliptic Curve DH example](https://www.cryptopp.com/wiki/Elliptic_Curve_Diffie-Hellman) from the website like this: ``` g++ -DNDEBUG -g3 -O2 -Wall -Wextra -o ecdh-agree.exe...
Issue with running ECDH example
https://api.github.com/repos/weidai11/cryptopp/issues/1047/comments
3
2021-06-14T14:37:12Z
2021-06-14T16:11:44Z
https://github.com/weidai11/cryptopp/issues/1047
920,480,114
1,047
[ "weidai11", "cryptopp" ]
### Crypto++ Issue Report Thanks for taking the time to report an issue. Reporting issues helps us improve stability and reliability for all users, so it is a valuable contribution. Please do not ask questions in the bug tracker. Please ask questions on the Crypto++ Users List at http://groups.google.com/forum/#!...
which cryptopp version supports v141 platform tool set ?
https://api.github.com/repos/weidai11/cryptopp/issues/1046/comments
1
2021-06-14T06:05:18Z
2021-06-14T06:14:59Z
https://github.com/weidai11/cryptopp/issues/1046
920,039,105
1,046
[ "weidai11", "cryptopp" ]
### Crypto++ Issue Report Thanks for taking the time to report an issue. Reporting issues helps us improve stability and reliability for all users, so it is a valuable contribution. Please do not ask questions in the bug tracker. Please ask questions on the Crypto++ Users List at http://groups.google.com/forum/#!...
why there is only header files in the cryptopp packages(5.6.5.4) , where do I find .lib files ? Do I need to add lib file as an additional dependency under linker tab while running the code in visual studio?
https://api.github.com/repos/weidai11/cryptopp/issues/1045/comments
1
2021-06-10T08:44:45Z
2021-06-10T10:18:21Z
https://github.com/weidai11/cryptopp/issues/1045
917,080,264
1,045
[ "weidai11", "cryptopp" ]
### Crypto++ Issue Report Thanks for taking the time to report an issue. Reporting issues helps us improve stability and reliability for all users, so it is a valuable contribution. Please do not ask questions in the bug tracker. Please ask questions on the Crypto++ Users List at http://groups.google.com/forum/#!...
I have downloaded cryptopp 5.6.5.4 packages. It worked for Visual studio 2015 . But the same application did not run in visual studio 2017. Can you please add the latest cryptopp version in nuget packages
https://api.github.com/repos/weidai11/cryptopp/issues/1044/comments
1
2021-06-10T04:35:16Z
2021-06-10T08:28:35Z
https://github.com/weidai11/cryptopp/issues/1044
916,884,746
1,044
[ "weidai11", "cryptopp" ]
Its happens because use(1) pointer to IV key, that was obtained from the function(2). This(2) function return(3) a pointer to the data in a local variable(4), which was destroyed after exit from function(2). At this moment(1), the pointer already indicates data different from the set IV key. Code snippet: ``` ...
ChaCha20 IV key is not installed correctly
https://api.github.com/repos/weidai11/cryptopp/issues/1042/comments
2
2021-06-05T21:26:55Z
2023-10-02T06:55:07Z
https://github.com/weidai11/cryptopp/issues/1042
912,453,123
1,042
[ "weidai11", "cryptopp" ]
closed
https://api.github.com/repos/weidai11/cryptopp/issues/1041/comments
1
2021-06-04T16:27:54Z
2021-06-04T16:33:22Z
https://github.com/weidai11/cryptopp/issues/1041
911,667,877
1,041
[ "weidai11", "cryptopp" ]
### Crypto++ 8.6 does not pass building tests when compiled with g++ -O0 -m32 * State the operating system and version (Ubuntu 17 x86_64, Windows 7 Professional x64, etc) ``` $ uname -a Linux rdp05 4.19.0-10-amd64 #1 SMP Debian 4.19.132-1 (2020-07-24) x86_64 GNU/Linux $ lsb_release -a Distributor ID: Debian ...
Crypto++ 8.6 fails tests with g++ -O0 -m32 (GCC version 8.3.0)
https://api.github.com/repos/weidai11/cryptopp/issues/1040/comments
6
2021-05-19T07:34:52Z
2021-05-20T03:29:26Z
https://github.com/weidai11/cryptopp/issues/1040
895,099,563
1,040
[ "weidai11", "cryptopp" ]
Segmentation fault occurred during the initialization of this line of code `CryptoPP::AutoSeededX917RNG<CryptoPP::DES_EDE3> rng;`. Any pointer? ``` Thread 1 received signal SIGSEGV, Segmentation fault. 0x00007ff823355419 in ?? () from C:\msys64\mingw64\bin\libcryptopp.dll (gdb) bt #0 0x00007ff823355419 in ?...
segmentation fault when initializing AutoSeededX917RNG
https://api.github.com/repos/weidai11/cryptopp/issues/1038/comments
1
2021-05-09T08:37:29Z
2021-05-09T23:08:56Z
https://github.com/weidai11/cryptopp/issues/1038
882,008,921
1,038
[ "weidai11", "cryptopp" ]
I updated Cryptopp from version 8.0 to 8.5 and some of my tests failed. The result of Speck/Simon 128 with OFB/OCS modes changed. There's no tests of theses modes in the Speck/Simon tests files.
Changes in Speck/Simon 128 with OFB/OCS mode from Cryptopp8.0 to Cryptopp8.5
https://api.github.com/repos/weidai11/cryptopp/issues/1037/comments
1
2021-05-06T08:31:20Z
2023-06-25T23:17:35Z
https://github.com/weidai11/cryptopp/issues/1037
877,237,662
1,037
[ "weidai11", "cryptopp" ]
Clarify "GPL3" mentioned in `gf2n_simd.cpp` The file header states that: > // optimization so the IACR paper is useful. However, the code is GPL3 > // and toxic for some users of the library... And some lawyers think the cryptopp code is GPL3... Maybe wording change would be helpful, like > However...
License wording problem
https://api.github.com/repos/weidai11/cryptopp/issues/1036/comments
1
2021-04-30T07:09:08Z
2021-04-30T13:20:18Z
https://github.com/weidai11/cryptopp/issues/1036
872,098,734
1,036
[ "weidai11", "cryptopp" ]
`-Wa,-q` enlists the use of the LLVM/Clang Integrated Assembler. It is needed because Apple provides an old version of GAS. To assemble SSE4 and above we need to use LLVM/Clang Integrated Assembler. Currently the makefile has some gyrations to detect the need/use of `-Wa,-q`. It is not very precise because it misses...
Add feature test for -Wa,-q on Intel-based Macs with GCC
https://api.github.com/repos/weidai11/cryptopp/issues/1033/comments
1
2021-04-26T18:05:59Z
2021-04-26T19:42:10Z
https://github.com/weidai11/cryptopp/issues/1033
867,980,911
1,033
[ "weidai11", "cryptopp" ]
### Crypto++ Issue Report When updating the [CryFS](https://github.com/cryfs/cryfs) dependency from CryptoPP 8.2 to 8.5, I get a compiler error on Clang 7. It only happens on Clang 7 and only happens when optimizations are enabled. Error message: ``` Alias must point to a definition void (%"class.CryptoPP::It...
"Broken module found" on Clang 7
https://api.github.com/repos/weidai11/cryptopp/issues/1031/comments
6
2021-04-25T19:43:18Z
2021-05-17T07:39:16Z
https://github.com/weidai11/cryptopp/issues/1031
867,096,676
1,031
[ "weidai11", "cryptopp" ]
### Crypto++ Issue Report Could you please reorganize the source code layout so that the core library source files have their own folder? It appears the source code is dumped in with test programs, benchmark programs, and other things that I'm not sure what they are. Some people want to be able to build the files...
Source code organization
https://api.github.com/repos/weidai11/cryptopp/issues/1028/comments
1
2021-04-23T17:05:56Z
2021-04-23T17:21:48Z
https://github.com/weidai11/cryptopp/issues/1028
866,287,552
1,028
[ "weidai11", "cryptopp" ]
We have most ciphers from Source Korea, but we are missing LSH-256 and LSH-512. This issue will track the addition of LSH-256 and LSH-512.
Add LSH-256 and LSH-512 hash functions
https://api.github.com/repos/weidai11/cryptopp/issues/1025/comments
1
2021-04-15T06:02:45Z
2021-04-16T07:24:38Z
https://github.com/weidai11/cryptopp/issues/1025
858,521,355
1,025
[ "weidai11", "cryptopp" ]
See https://github.com/noloader/cryptopp-cmake/issues/66 I copied the cryptopp project into a subdirectory of my own project and `add_subdirectory` to crypto++ to use it as a dependency using `cryptopp-cmake`. Probably a somewhat common setup. When trying to build my project, I got weird errors with missing `test_....
Remove `*.cxx` from `.gitignore`
https://api.github.com/repos/weidai11/cryptopp/issues/1024/comments
1
2021-04-04T17:55:40Z
2021-04-20T08:49:00Z
https://github.com/weidai11/cryptopp/issues/1024
849,926,894
1,024
[ "weidai11", "cryptopp" ]
I was testing PKCS#1 v1.5 signature verification as implemented in cryptopp and noticed it rejects valid signature whose encoded message uses an implicit NULL parameter for hash algorithm (where digestAlgorithm ANS.1 der encoded does not have NULL parameter TLV; that is, `0x0500` is absent). According to [RFC4055, pg...
RSA PKCS#1 v1.5 signature scheme verification incompatibility issue
https://api.github.com/repos/weidai11/cryptopp/issues/1023/comments
1
2021-04-01T06:02:59Z
2021-04-05T08:17:01Z
https://github.com/weidai11/cryptopp/issues/1023
848,007,528
1,023
[ "weidai11", "cryptopp" ]
Hi, just thought I'd notify - it looks like cryptopp.com is down, maybe a DNS issue?
cryptopp.com website is down
https://api.github.com/repos/weidai11/cryptopp/issues/1022/comments
9
2021-03-29T10:23:00Z
2021-03-31T21:44:51Z
https://github.com/weidai11/cryptopp/issues/1022
843,226,234
1,022
[ "weidai11", "cryptopp" ]
I am trying to compile library for iOS as mentioned on link https://www.cryptopp.com/wiki/IOS_(Command_Line) It works as expected when I use `IOS_SDK=iPhoneOS IOS_CPU=arm64 source ./setenv-ios.sh`, but when I try to build for simulator as well as for armv7 then it gives error ```text $ IOS_SDK=iPhoneSimulator IO...
Issue while compiling library when IOS_SDK=iPhoneSimulator
https://api.github.com/repos/weidai11/cryptopp/issues/1021/comments
2
2021-03-19T09:21:23Z
2021-03-22T03:34:56Z
https://github.com/weidai11/cryptopp/issues/1021
835,744,843
1,021
[ "weidai11", "cryptopp" ]
`xorbuf` in `misc.cpp` has code to perform xor's on arbitrary buffers. For example: ```c++ void xorbuf(byte *output, const byte *input, const byte *mask, size_t count) { size_t i=0; if (IsAligned<word32>(output) && IsAligned<word32>(input) && IsAligned<word32>(mask)) { if (IsAligned<word64>...
Move away from integral casts in xorbuf
https://api.github.com/repos/weidai11/cryptopp/issues/1020/comments
0
2021-03-17T04:18:48Z
2021-03-17T21:41:27Z
https://github.com/weidai11/cryptopp/issues/1020
833,385,504
1,020
[ "weidai11", "cryptopp" ]
This issue surfaced while improving test coverage in `cryptest-ios.sh` by adding code generation tests. It appears iOS ARMv7 builds do not engage NEON. It looks like the defines do not activate `CRYPTOPP_ARM_NEON_AVAILABLE` because `CRYPTOPP_APPLE_CLANG_VERSION` is missing from the checks (and Clang does not define the...
iOS ARMv7 builds do not engage NEON
https://api.github.com/repos/weidai11/cryptopp/issues/1018/comments
1
2021-03-11T18:35:12Z
2021-03-11T18:37:29Z
https://github.com/weidai11/cryptopp/issues/1018
829,420,095
1,018
[ "weidai11", "cryptopp" ]
I am compiling Crypto++ with GCC 11 and `-std=gnu++20` and the compilation raises many warnings like the following one: ``` asn.h:494:37: warning: bitwise operation between different enumeration types 'CryptoPP::ASNTag' and 'CryptoPP::ASNIdFlag' is deprecated [-Wdeprecated-enum-enum-conversion] 494 | enum...
[C++20] -Wdeprecated-enum-enum-conversion raises many warnings with -std=gnu++20
https://api.github.com/repos/weidai11/cryptopp/issues/1016/comments
2
2021-03-09T16:59:52Z
2021-03-10T04:37:53Z
https://github.com/weidai11/cryptopp/issues/1016
826,268,275
1,016
[ "weidai11", "cryptopp" ]
`config_asm.h` has a lot of little hacks from supporting old Android NDKs, like r10. It has goodness like this: ``` #if defined(__ANDROID__) || defined(ANDROID) # undef CRYPTOPP_ARM_ACLE_HEADER #endif ``` The ACLE hack is a workarounds from old NDKs that depended on GCC 4.8 and 4.9. The old GCC sources did no...
Remove old Android workarounds from config_asm.h
https://api.github.com/repos/weidai11/cryptopp/issues/1015/comments
0
2021-03-09T14:35:41Z
2021-03-09T20:18:53Z
https://github.com/weidai11/cryptopp/issues/1015
826,026,716
1,015
[ "weidai11", "cryptopp" ]
Currently our `setenv-*.sh` files, like `setenv-ios.sh`, do not set `CPPFLAGS`, `CXXFLAGS` and `LDFLAGS`. Instead they set prefixed flags like `IOS_CPPFLAGS`, `IOS_CXXFLAGS` and `IOS_LDFLAGS`. `GNUmakefile-cross` then uses the prefixed flags to build the library. @mouse07410 encountered a bad interaction where arti...
Make setenv-*.sh set CPPFLAGS, CXXFLAGS and LDFLAGS
https://api.github.com/repos/weidai11/cryptopp/issues/1014/comments
0
2021-03-09T13:40:39Z
2021-03-09T14:46:16Z
https://github.com/weidai11/cryptopp/issues/1014
825,947,082
1,014
[ "weidai11", "cryptopp" ]
I am a total beginner in crypto so I can definitely be wrong. I was exploring the source code to understand how to properly use the library and RFC6979 to sign a buffer and I noticed something in the file bench3.cpp https://github.com/weidai11/cryptopp/blob/1a5346c6c797b585dbc761c0d5c93c0073dee843/bench3.cpp#L429 ...
[Bug] Possible copy-paste error in bench3.cpp:429
https://api.github.com/repos/weidai11/cryptopp/issues/1013/comments
1
2021-03-05T03:18:18Z
2021-03-05T05:08:29Z
https://github.com/weidai11/cryptopp/issues/1013
822,703,087
1,013
[ "weidai11", "cryptopp" ]
I'm not a `cryptopp` user, but I'm trying to make it compile on `aarch64-darwin` under Nix. #950 seems to suggest that I should run `configure.sh` and that works wonderfully for `aarch64-darwin`, but makes `aarch64-linux` fail: ``` In file included from crc_simd.cpp:23: /nix/store/jqr77rvd36b6pa2c6pbss0z8f2pfnkxc-...
Compilation error after running configure.sh on aarch64-linux
https://api.github.com/repos/weidai11/cryptopp/issues/1011/comments
7
2021-03-01T00:24:14Z
2021-03-01T03:38:29Z
https://github.com/weidai11/cryptopp/issues/1011
818,355,823
1,011
[ "weidai11", "cryptopp" ]
Using the code provided as `HIGHT` example in Wiki and replacing `CBC_Mode` by `CTR_Mode` is working... but next switching from `StringSource` to `FileSource` doesn't work anymore. * the first ciphered block has 0 content (with 0 Key and Iv) instead of correct values * ciphered content with StringSource : 7f 9f 0c...
HIGHT cipher troubles with FileSource (CTR mode only)
https://api.github.com/repos/weidai11/cryptopp/issues/1010/comments
12
2021-02-26T19:58:06Z
2022-02-14T16:05:01Z
https://github.com/weidai11/cryptopp/issues/1010
817,624,900
1,010
[ "weidai11", "cryptopp" ]
* State the operating system and version (Ubutnu 17 x86_64, Windows 7 Professional x64, etc) macOS Big Sur 11.2.1 * State the version of the Crypto++ library (Crypto++ 7.0, Master, etc) 8.4.0 * State how you built the library (Makefile, Cmake, distro, etc) make -j 4 sudo make install * Show a typical comma...
macOS 11.2.1: ld: symbol(s) not found for architecture x86_64
https://api.github.com/repos/weidai11/cryptopp/issues/1009/comments
5
2021-02-20T22:29:37Z
2021-02-21T21:27:25Z
https://github.com/weidai11/cryptopp/issues/1009
812,721,807
1,009
[ "weidai11", "cryptopp" ]
1>cryptlib.lib(integer.obj) : error LNK2019: unresolved external symbol ___std_reverse_trivially_swappable_1 referenced in function "void __cdecl std::reverse<unsigned char *>(unsigned char * const,unsigned char * const)" (??$reverse@PAE@std@@YAXQAE0@Z) 1>cryptlib.lib(integer.obj) : error LNK2019: unresolved external...
win32 lib link error in vs2015&2019
https://api.github.com/repos/weidai11/cryptopp/issues/1008/comments
6
2021-02-14T06:02:51Z
2021-08-24T19:05:29Z
https://github.com/weidai11/cryptopp/issues/1008
807,897,576
1,008
[ "weidai11", "cryptopp" ]
Building out of source is not supported. Running ``` mkdir build cd build make -f ../GNUmakefile ``` Ends with ``` cp: cannot stat 'adhoc.cpp.proto': No such file or directory grep: config_ver.h: No such file or directory make: *** No rule to make target 'cryptlib.o', needed by 'libcryptopp.a'. Stop. ```
Out of source build
https://api.github.com/repos/weidai11/cryptopp/issues/1006/comments
3
2021-02-02T17:46:58Z
2021-03-02T13:17:19Z
https://github.com/weidai11/cryptopp/issues/1006
799,517,248
1,006
[ "weidai11", "cryptopp" ]
I want to use cryptopp library in Xamrin for encryption/decryption. Plan is to generate .SO file for C++ wrapper which internally uses this library and then simply call the function in xamrin using P/Invoke. I am trying to compile the library to generate .SO file but it fails with below errors : // cannot use type...
Library failed to compile against ARM architectures
https://api.github.com/repos/weidai11/cryptopp/issues/1005/comments
20
2021-02-01T10:12:22Z
2021-02-17T14:07:30Z
https://github.com/weidai11/cryptopp/issues/1005
798,195,782
1,005
[ "weidai11", "cryptopp" ]
I built crypto++ 8.4 in visual studio 2010 and made some test code. It works fine in 'Win32|Debug', but in 'Win32|Release' hash.CalculateDigest throws an exception. ``` string source = "I am a programmer."; CryptoPP::SHA512 hash; CryptoPP::byte digest[CryptoPP::SHA512::DIGESTSIZE]; hash.CalculateDig...
SHA512 throws an exception
https://api.github.com/repos/weidai11/cryptopp/issues/1004/comments
0
2021-01-31T05:59:50Z
2021-02-16T15:36:21Z
https://github.com/weidai11/cryptopp/issues/1004
797,630,169
1,004
[ "weidai11", "cryptopp" ]
### Crypto++ Issue Report * operating system and version: Windows 10 Professional x64 Version 20H2 | Microsoft Visual Studio 16 2019 * version of the Crypto++ library: Crypto++ 8.4 release * how you built the library: Premake5 static build (script bellow) * the exact error message you are receiving: ```Run-Time C...
CRYPTOPP_DISABLE_ASM crashes program with read access violation exception
https://api.github.com/repos/weidai11/cryptopp/issues/1003/comments
2
2021-01-29T18:36:22Z
2021-02-06T12:24:12Z
https://github.com/weidai11/cryptopp/issues/1003
797,097,429
1,003
[ "weidai11", "cryptopp" ]
Some classes like `HashFilter` and `StringSource` require pointer to be passed into classes constructor. That pointer later is owned by those classes. This approach is error prone: 1. User can have a pointer owned by `std::unique_ptr` and if they forget to call `std::unique_ptr::release` after class is constructe...
More safe memory management
https://api.github.com/repos/weidai11/cryptopp/issues/1002/comments
26
2021-01-26T15:03:12Z
2021-03-02T13:17:34Z
https://github.com/weidai11/cryptopp/issues/1002
794,304,205
1,002
[ "weidai11", "cryptopp" ]
scrypt.cpp:307: warning: ignoring ‘#pragma omp parallel’ [-Wunknown-pragmas] 307 | #pragma omp parallel num_threads(threads) | scrypt.cpp:314: warning: ignoring ‘#pragma omp for’ [-Wunknown-pragmas] 314 | #pragma omp for
Warning "ignoring pragma" during compile
https://api.github.com/repos/weidai11/cryptopp/issues/1001/comments
1
2021-01-25T22:37:56Z
2021-01-25T22:46:08Z
https://github.com/weidai11/cryptopp/issues/1001
793,777,758
1,001
[ "weidai11", "cryptopp" ]
The webpage states the following: `Visual Studio 2003 - 2019` `cryptest.sln` contains the following: ``` Microsoft Visual Studio Solution File, Format Version 11.00 # Visual Studio 2010 ``` Visual studio 2019 generated solution file contains the following: ``` Microsoft Visual Studio Solution File, Format ...
Visual studio 2019 support
https://api.github.com/repos/weidai11/cryptopp/issues/999/comments
2
2021-01-20T13:18:40Z
2021-01-20T15:52:45Z
https://github.com/weidai11/cryptopp/issues/999
789,971,845
999
[ "weidai11", "cryptopp" ]
Trying to cross-compile to iOS on a macOS * State the operating system and version (Ubutnu 17 x86_64, Windows 7 Professional x64, etc) macOS 11.1 Big Sur * State the version of the Crypto++ library (Crypto++ 7.0, Master, etc) Master * State how you built the library (Makefile, Cmake, distro, etc) ```...
make clean does not delete neon_simd.o
https://api.github.com/repos/weidai11/cryptopp/issues/998/comments
13
2021-01-01T15:19:59Z
2021-01-02T05:51:37Z
https://github.com/weidai11/cryptopp/issues/998
777,301,766
998
[ "weidai11", "cryptopp" ]
I think we should have bitcode enabled by default because Apple is pushing too hard that they'll make your life miserable if you don't have it. It's not even optional on watchOS and tvOS, Apple just won't accept your binaries unless they have bitcode embedded. The way I did it for now: ``` export CXXFLAGS="-DNDE...
iOS: Should we compile with bitcode enabled by default?
https://api.github.com/repos/weidai11/cryptopp/issues/997/comments
4
2021-01-01T15:09:43Z
2021-03-02T13:18:11Z
https://github.com/weidai11/cryptopp/issues/997
777,300,216
997
[ "weidai11", "cryptopp" ]
### Crypto++ Issue Report when running setenv-android.sh on macos it gives the following error: ``` sed: 1: "cpu-features.c": command c expects \ followed by text ``` * State the operating system and version macOS 11.1 (Big Sur) * State the version of the Crypto++ library Master * State how you built the...
cpu-features.c": command c expects \ followed by text
https://api.github.com/repos/weidai11/cryptopp/issues/996/comments
0
2020-12-31T14:10:10Z
2020-12-31T14:12:27Z
https://github.com/weidai11/cryptopp/issues/996
777,032,360
996
[ "weidai11", "cryptopp" ]
### Crypto++ Issue Report when running setenv-android.sh on macos it gives the following error: ``` sed: 1: "cpu-features.c": command c expects \ followed by text ``` * State the operating system and version macOS 11.1 (Big Sur) * State the version of the Crypto++ library Master * State how you built the...
setenv-android.sh sed: 1: "cpu-features.c": command c expects \ followed by text
https://api.github.com/repos/weidai11/cryptopp/issues/995/comments
2
2020-12-31T14:09:42Z
2021-01-01T04:44:23Z
https://github.com/weidai11/cryptopp/issues/995
777,031,839
995
[ "weidai11", "cryptopp" ]
It seems that c9ef9420e762b91cc06463d349cf06e04c749b9d breaks basic elliptic curve identities. The following outputs three times 1 before and three times 0 after: ```c++ #include "eccrypto.h" #include "oids.h" #include <iostream> int main() { using namespace CryptoPP; auto params = DL_GroupParameters_EC...
Broken elliptic curve identities
https://api.github.com/repos/weidai11/cryptopp/issues/994/comments
3
2020-12-30T08:47:11Z
2022-02-18T06:54:11Z
https://github.com/weidai11/cryptopp/issues/994
776,341,910
994
[ "weidai11", "cryptopp" ]
I am built cryptopp 8.3.0 for Fedora 33 with LTO as all packages should use this option. There is no any problem. But then I am built megasync with this cryptopp - no build errors again. And after run megasync I have the error: ``` MEGAprivate ERROR DUMP Application: MEGAsync [64 bit] Hash: 76355538de57a6387166...
Problem with LTO build
https://api.github.com/repos/weidai11/cryptopp/issues/993/comments
3
2020-12-29T09:00:30Z
2020-12-30T12:20:29Z
https://github.com/weidai11/cryptopp/issues/993
775,781,749
993
[ "weidai11", "cryptopp" ]
@dwmcrobb discovered a latent bug in `FixedSizeSecBlock`. It was reported at [GH #988](https://github.com/weidai11/cryptopp/issues/988). In the 988 bug we fixed the pointer problem and cleaned up the class. Since the `FixedSizeSecBlock` overhaul we started seeing failures on AppVeyor, which tests the Windows gear. F...
AppVeyor failures after fixing FixedSizeSecBlock
https://api.github.com/repos/weidai11/cryptopp/issues/992/comments
29
2020-12-28T11:39:40Z
2021-03-17T22:01:10Z
https://github.com/weidai11/cryptopp/issues/992
775,357,638
992
[ "weidai11", "cryptopp" ]
MacOS 10.15.7, Xcode-12.3. Env var `AS_INTEGRATED_ASSEMBLER=1` is set. https://github.com/weidai11/cryptopp/blob/d555d072c959c2beb65a7737309530d2e038e554/config_asm.h#L50 Here's what that line looks like in my fork: ```c++ #if defined(__clang__) || (defined(__APPLE__) && defined(__GNUC__)) || defined(__SUNPRO_C...
This change breaks compilation on MacOS
https://api.github.com/repos/weidai11/cryptopp/issues/991/comments
3
2020-12-28T03:08:24Z
2020-12-30T11:43:11Z
https://github.com/weidai11/cryptopp/issues/991
775,164,817
991
[ "weidai11", "cryptopp" ]
terminate when i run this code: ```cpp CryptoPP::SecByteBlock key; CryptoPP::SecByteBlock iv; key.Assign(16, 0); iv.Assign(16, 0); using Encryption = std::variant< CryptoPP::CTR_Mode<CryptoPP::AES>::Encryption, CryptoPP::ChaCha20Poly1305::Encryption >; Encrypti...
pure virtual method called
https://api.github.com/repos/weidai11/cryptopp/issues/989/comments
1
2020-12-27T14:33:40Z
2020-12-28T02:08:31Z
https://github.com/weidai11/cryptopp/issues/989
775,048,547
989
[ "weidai11", "cryptopp" ]
Having looked at this again, this code should never be used as is on any platform. When `m_array` is not 16-byte aligned, it will return a pointer to memory not owned by `m_array`. Leading to definite stack or heap corruption, depending on where the class template was instantiated. https://github.com/weidai11/cryp...
Followup to GH #982
https://api.github.com/repos/weidai11/cryptopp/issues/988/comments
15
2020-12-24T00:14:03Z
2020-12-27T05:37:19Z
https://github.com/weidai11/cryptopp/issues/988
774,104,013
988
[ "weidai11", "cryptopp" ]
I am maintainer of Crypto++ package in Fedora. I see that programs built with 8.2.0 failed to run with 8.3.0 without rebuild but soname version not changed. So I need to know if abi changed and I need to rebuild all depended packages? Example of the error: ``` megasync: symbol lookup error: megasync: undefined ...
Is 8.3.0 has changes in abi?
https://api.github.com/repos/weidai11/cryptopp/issues/987/comments
8
2020-12-21T13:49:32Z
2021-04-16T09:16:21Z
https://github.com/weidai11/cryptopp/issues/987
772,184,337
987
[ "weidai11", "cryptopp" ]
We are tracking an issue in Debian experimental where `cryptest.exe` encounters a `SIGILL`. The issue surfaced after the Crypto++ 8.3 release. We will be working with @gcsideal to resolve it. Also see [Build log for libcrypto++](https://buildd.debian.org/status/fetch.php?pkg=libcrypto%2B%2B&arch=powerpc&ver=8.3.0-1&...
Debian testing and SIGILL on PowerPC
https://api.github.com/repos/weidai11/cryptopp/issues/986/comments
8
2020-12-21T01:37:28Z
2020-12-23T06:57:03Z
https://github.com/weidai11/cryptopp/issues/986
771,773,057
986
[ "weidai11", "cryptopp" ]
I have the files already compiled, using msys64 with Code::Blocks IDE, however there is a problem. The namespace type is not found despite it clearly being part of the C++ standard, and even if the version is from 2019 and msys64 is up to date, Code::Blocks struggles to parse the code correctly. So I have a thought...
Everything is being parsed incorrectly.
https://api.github.com/repos/weidai11/cryptopp/issues/985/comments
1
2020-12-15T23:33:50Z
2020-12-16T02:30:20Z
https://github.com/weidai11/cryptopp/issues/985
768,300,140
985
[ "weidai11", "cryptopp" ]
This is kindof a meta-issue regarding cryptopp … I do not see an obvious webmaster contact. The site https://cryptopp.com has certificate validation issues. While Firefox does not complain, contacting the site via lynx fails: ``` SSL error:The certificate is NOT trusted. The certificate issuer is unknown. -Continue...
TLS certificate chain on cryptopp.com website incomplete
https://api.github.com/repos/weidai11/cryptopp/issues/984/comments
5
2020-12-12T19:04:14Z
2020-12-13T16:48:52Z
https://github.com/weidai11/cryptopp/issues/984
764,213,548
984
[ "weidai11", "cryptopp" ]
### Crypto++ Issue Report Thanks for taking the time to report an issue. Reporting issues helps us improve stability and reliability for all users, so it is a valuable contribution. Please do not ask questions in the bug tracker. Please ask questions on the Crypto++ Users List at http://groups.google.com/forum/#!...
Exception while executing cryptopp benchmark
https://api.github.com/repos/weidai11/cryptopp/issues/983/comments
1
2020-12-10T21:11:07Z
2020-12-16T04:02:05Z
https://github.com/weidai11/cryptopp/issues/983
761,619,317
983
[ "weidai11", "cryptopp" ]
This has been a problem for a long time (and is in 8.2.0) on some platforms. `CRYPTOPP_BOOL_ALIGN16` is always defined, yet there are preprocessor conditionals checking if it's defined instead of using its value. And for the final `#else`, don't assume 4 byte alignment; follow the intent of the comment. First-pa...
Incorrect use of CRYPTOPP_BOOL_ALIGN16 in secblock.h
https://api.github.com/repos/weidai11/cryptopp/issues/982/comments
9
2020-12-09T06:23:25Z
2020-12-22T10:08:23Z
https://github.com/weidai11/cryptopp/issues/982
760,040,626
982
[ "weidai11", "cryptopp" ]
I think the following should not pass ECDSA verification (invalid pubkey), but it does. Tested on Linux 64 bit, latest master branch checkout. ```cpp #include <eccrypto.h> #include <ecp.h> #include <oids.h> int main(void) { ::CryptoPP::ECDSA<::CryptoPP::ECP, ::CryptoPP::SHA256>::PublicKey publicKey; p...
ECDSA verification succeeds when it should fail
https://api.github.com/repos/weidai11/cryptopp/issues/981/comments
7
2020-12-01T02:09:29Z
2020-12-02T21:31:21Z
https://github.com/weidai11/cryptopp/issues/981
753,942,803
981
[ "weidai11", "cryptopp" ]
* macOS Deployment Target: 10.11 * Crypto++ commit 7ea79f1, 2019-08-10 (== 8.2.0 + various additional commits that we needed due to #872 ) * Built with Xcode12, clang There is a compiler error in algparam.h:313 ``` 312: #if defined(CRYPTOPP_CXX17_EXCEPTIONS) 313: if (std::uncaught_exceptions() == 0) // here ...
std::uncaught_exceptions is only available for macOS >=10.12
https://api.github.com/repos/weidai11/cryptopp/issues/980/comments
2
2020-11-30T21:15:32Z
2020-12-02T22:04:36Z
https://github.com/weidai11/cryptopp/issues/980
753,808,906
980
[ "weidai11", "cryptopp" ]
Hey, I am stuck with this since yesterday I'm unable to link to cryptopp (Visual Studio 2019) statically. Both Multi-threaded (/MT) and Multi-threaded Debug (/MTd) are set. (switching these to the DLL option fixes the issue, but I wanna build statically) operating system (Windows 10 Pro 64 bit) built using "...
Unable to link statically
https://api.github.com/repos/weidai11/cryptopp/issues/979/comments
0
2020-11-23T15:57:05Z
2021-02-03T18:13:21Z
https://github.com/weidai11/cryptopp/issues/979
748,921,490
979
[ "weidai11", "cryptopp" ]
Been using this library for a project for a few years fine. The only change is C++17. Building `cryptest` is ok. Windows 10 x64. Crypto++ 7.0 VS2017 (VC14.1) Build Errors: ``` 1>c:\program files (x86)\microsoft visual studio\2017\community\vc\tools\msvc\14.16.27023\include\chrono(569): warning C4002: too many a...
MSVC14 - chrono conflict
https://api.github.com/repos/weidai11/cryptopp/issues/978/comments
2
2020-11-17T22:59:59Z
2021-02-03T18:13:54Z
https://github.com/weidai11/cryptopp/issues/978
745,150,436
978
[ "weidai11", "cryptopp" ]
I am trying to use CryptoPP lib in a Qt project. I first built Crytplib using Visual C++ 2019. I changed Runtime options to MDd (Multithread Debug DLL). It generated cryptlib.lib. In Qt, I added: `LIBS += -L$$PWD/../libs/CryptoPP/x64/Output/Release/ -lcryptlib` `INCLUDEPATH += $$PWD/../libs/CryptoPP` Comp...
LNK2001 errors when trying to using Crypto++ in a Qt Project
https://api.github.com/repos/weidai11/cryptopp/issues/977/comments
2
2020-10-31T12:05:57Z
2021-02-03T18:14:07Z
https://github.com/weidai11/cryptopp/issues/977
733,704,883
977
[ "weidai11", "cryptopp" ]
Debian, gcc 10.2, cryptopp 8.2.0 build using cmake /opt/gcc-10.2/lib/gcc/x86_64-pc-linux-gnu/10.2.0/include/avxintrin.h:1278:1: error: inlining failed in call to ‘always_inline’ ‘__m256i _mm256_set_epi8(char, char, char, char, char, char, char, char, char, char, char, char, char, char, char, char, char, char, char,...
compilation failed if avx/avx2 disabled
https://api.github.com/repos/weidai11/cryptopp/issues/976/comments
2
2020-10-12T11:20:00Z
2020-10-13T07:38:42Z
https://github.com/weidai11/cryptopp/issues/976
719,298,215
976
[ "weidai11", "cryptopp" ]
Operating System : MacOS Catalina Crypto++ Version : 8.2.0 Apple clang version 11.0.3 (clang-1103.0.32.29) I wrote this code: ``` Base64Decoder signatureDecoder; signatureDecoder.Put((CryptoPP::byte*)signatureString.data(), signatureString.size()); signatureDecoder.MessageEnd(); std::vector<Cr...
BaseN_Decoder calling virtual function in constructor clang-tidy warning
https://api.github.com/repos/weidai11/cryptopp/issues/975/comments
1
2020-10-06T18:11:52Z
2023-06-25T23:34:56Z
https://github.com/weidai11/cryptopp/issues/975
715,907,636
975
[ "weidai11", "cryptopp" ]
I had some issues, while building your project, with Clang 11 RC4. I am using Ubuntu 20.04 x86_64 So > $ clang++ -lc++ -o cryptest.exe -stdlib=libc++ adhoc.o test.o bench1.o bench2.o bench3.o datatest.o dlltest.o fipsalgt.o validat0.o validat1.o validat2.o validat3.o validat4.o validat5.o validat6.o validat7.o ...
Improper linkage against libc++ and some project's object files
https://api.github.com/repos/weidai11/cryptopp/issues/974/comments
2
2020-10-04T08:24:34Z
2021-02-03T18:14:40Z
https://github.com/weidai11/cryptopp/issues/974
714,263,194
974
[ "weidai11", "cryptopp" ]
### Unable to run cryptest.exe on MinGW * Operating System : Windows 10 (version 2004) x64 (also verified on Windows 7 x64, Windows 8.1 x64) * Crypto++ Version : 8.2.0 * Used `mingw32-make` to build the library. * The output for `mingw32-make` command didn't showed any error. * __Running `mingw32-make test` gav...
Unable to run cryptest.exe on MinGW
https://api.github.com/repos/weidai11/cryptopp/issues/973/comments
1
2020-10-03T20:32:19Z
2020-11-01T05:09:19Z
https://github.com/weidai11/cryptopp/issues/973
714,170,627
973
[ "weidai11", "cryptopp" ]
Windows 10, using the latest Microsoft Visual Studio 2019. Build cryptlib (cryptlib.vcxproj) fails: ``` 1>cpu.cpp(314): error C3861: '_xgetbv': identifier not found ``` ``` // Visual Studio 2010 and above, 32 and 64-bit #if defined(_MSC_VER) && (_MSC_VER >= 1600) 314 >>>> return _xgetbv(num); // Visual...
Unable to compile cryptlib
https://api.github.com/repos/weidai11/cryptopp/issues/972/comments
4
2020-09-30T14:21:24Z
2020-11-21T00:15:59Z
https://github.com/weidai11/cryptopp/issues/972
711,991,844
972
[ "weidai11", "cryptopp" ]
Build Error log : ``` Error 8 error : member "CryptoPP::AllocatorBase<T>::size_type [with T=CryptoPP::word64={unsigned __int64}]" is not a type name C:\Users\Anant Devi\Desktop\Crypto-project\secblock.h 182 1 cryptlib Error 7 error : member "CryptoPP::AllocatorBase<T>::size_type [with T=CryptoPP::word32={unsigned ...
Unable to build the Cryptopp library using Intel c++ compiler 19
https://api.github.com/repos/weidai11/cryptopp/issues/971/comments
5
2020-09-30T11:42:38Z
2020-10-27T13:19:54Z
https://github.com/weidai11/cryptopp/issues/971
711,874,328
971
[ "weidai11", "cryptopp" ]
### Crypto++ Issue Report Operating System: Linux The recent generations of IBMz hardware (z13, z14, z15) have SIMD vector extensions and cryptographic accelerators. The SIMD features are similar to Power Altivec and VSX SIMD. The SIMD optimizations in Crypto++ should be extended to exploit the SIMD and acceler...
IBM Linux on Z (s390x) SIMD optimization
https://api.github.com/repos/weidai11/cryptopp/issues/969/comments
5
2020-09-23T17:19:37Z
2021-02-26T01:02:45Z
https://github.com/weidai11/cryptopp/issues/969
707,543,700
969
[ "weidai11", "cryptopp" ]
## Background The memset_z function is defined in misc.h, and is intended to act as a drop-in replacement for memset (provided in the cstring header of the standard library). The important feature of memset_z is that calls to memset_z should never be optimized out by a compiler. This is due to its implementation, whic...
memset_z function is optimized out by some compilers
https://api.github.com/repos/weidai11/cryptopp/issues/966/comments
1
2020-09-14T05:27:05Z
2020-09-15T03:59:23Z
https://github.com/weidai11/cryptopp/issues/966
700,772,614
966
[ "weidai11", "cryptopp" ]
https://github.com/weidai11/cryptopp/blob/631b7082c33d3cb4246eb4ccb7545f2afd8e2446/config_misc.h#L170-L171 The linked article is quite good, and suggestions are useful. Though MS itself refuses to make their own library code thouroughly cleaned up, and there are other blogs with articles explaining how to decrease th...
Scope of enabled compiler warnings
https://api.github.com/repos/weidai11/cryptopp/issues/965/comments
1
2020-09-13T12:21:24Z
2023-10-02T06:46:41Z
https://github.com/weidai11/cryptopp/issues/965
700,559,897
965
[ "weidai11", "cryptopp" ]
### Crypto++ Issue Report Thanks for taking the time to report an issue. Reporting issues helps us improve stability and reliability for all users, so it is a valuable contribution. Please do not ask questions in the bug tracker. Please ask questions on the Crypto++ Users List at http://groups.google.com/forum/#!...
Compile error on tip of branch master when compiling in c++ 20 mode on MSVC.
https://api.github.com/repos/weidai11/cryptopp/issues/964/comments
3
2020-09-11T05:31:58Z
2023-10-02T08:25:53Z
https://github.com/weidai11/cryptopp/issues/964
698,865,159
964
[ "weidai11", "cryptopp" ]
-Linux admired-pod-193.localdomain 4.15.0-109-generic #110-Ubuntu SMP Tue Jun 23 02:39:32 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux -cryptopp-CRYPTOPP_8_1_0 Program terminated with signal SIGABRT, Aborted. #0 __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:51 51 ../sysdeps/unix/sysv/linux/r...
core occurs when using ECB to decrypt text with another key which is different from the encypt key.
https://api.github.com/repos/weidai11/cryptopp/issues/963/comments
1
2020-09-01T06:19:30Z
2021-02-03T18:15:41Z
https://github.com/weidai11/cryptopp/issues/963
689,850,314
963
[ "weidai11", "cryptopp" ]
Platform: ArchLinux (rolling release) Crypto++ version: master and 8.2.0 Build steps for Crypto++: I tried both the distro version (8.2.0) and build from master (with make) Example program: ```cpp #include <cryptopp/files.h> int main(int argc, char** argv) { if (argc != 2) { return 1; } Crypto...
std::bad_alloc when reading file of size >255 bytes
https://api.github.com/repos/weidai11/cryptopp/issues/962/comments
3
2020-08-25T17:54:53Z
2020-12-20T00:50:08Z
https://github.com/weidai11/cryptopp/issues/962
685,678,964
962