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 When I use VS to compile a library, it throws me a breakpoint error. * OS: Windows 10 x64 Professional * Crypto++ version: Latest(8.8.0) * I am using Visual Studio 2022 Error: A breakpoint instruction (__debugbreak() statement or a similar call) was executed in cryptest.exe.
Library building error
https://api.github.com/repos/weidai11/cryptopp/issues/1223/comments
0
2023-07-10T14:16:17Z
2023-07-10T14:39:43Z
https://github.com/weidai11/cryptopp/issues/1223
1,796,882,074
1,223
[ "weidai11", "cryptopp" ]
### Crypto++ Issue Report I'm trying to build Crypto++ with `make cryptopp.dll` on a Windows host and it fails with the following errors: ``` x86_64-w64-mingw32-g++ -DNDEBUG -D_WIN32_WINNT=0x0501 -DCRYPTOPP_EXPORTS -g2 -O3 -pipe -c aria_simd.cpp -o aria_simd.export.o In file included from aria_simd.cpp:14: /gn...
MinGW cross-compilation does not work
https://api.github.com/repos/weidai11/cryptopp/issues/1222/comments
4
2023-07-10T11:52:15Z
2023-07-14T12:48:29Z
https://github.com/weidai11/cryptopp/issues/1222
1,796,607,161
1,222
[ "weidai11", "cryptopp" ]
The file says: This source file uses intrinsics to gain access to SSE and NEON instructions. But it seems all the code is only for `CRYPTOPP_SSSE3_AVAILABLE` being defined. * State the version of the Crypto++ library (Crypto++ 7.0, Master, etc) Master
keccak_simd.cpp: no NEON code
https://api.github.com/repos/weidai11/cryptopp/issues/1221/comments
0
2023-07-05T08:23:37Z
2023-07-05T08:43:04Z
https://github.com/weidai11/cryptopp/issues/1221
1,789,042,275
1,221
[ "weidai11", "cryptopp" ]
The file says: This source file uses intrinsics to gain access to SSE and NEON instructions. But it seems all the code is only for `CRYPTOPP_SSSE3_AVAILABLE` being defined.
keccak_simd.cpp: no NEON code
https://api.github.com/repos/weidai11/cryptopp/issues/1220/comments
0
2023-07-05T06:30:05Z
2023-07-05T08:43:19Z
https://github.com/weidai11/cryptopp/issues/1220
1,788,863,362
1,220
[ "weidai11", "cryptopp" ]
I would like to build openssl for ARM, ARM64 windows plaform. Is it supported? Building and assembling rdrand.asm fail, 'ml64.exe' is not an internal or external command, nor is it a runnable program
How to build cryptoppfor ARM, ARM64 windows platforms?
https://api.github.com/repos/weidai11/cryptopp/issues/1219/comments
0
2023-07-04T13:01:30Z
2023-07-05T08:44:31Z
https://github.com/weidai11/cryptopp/issues/1219
1,787,891,886
1,219
[ "weidai11", "cryptopp" ]
I'm building CryptoPP 8.8.0 with CMake on Windows 10 and I see a lot of warnings (summarized below), while 8.7.0 build produces no warnings. ``` cpu.cpp:96:14: warning: unused function 'SigIllHandler' [-Wunused-function] aria_simd.cpp:46:13: warning: unused function 'ARIA_BRF' [-Wunused-function] chacha.cpp:86:13: ...
8.8.0 compilation warnings
https://api.github.com/repos/weidai11/cryptopp/issues/1217/comments
5
2023-06-26T09:45:54Z
2023-09-25T20:22:00Z
https://github.com/weidai11/cryptopp/issues/1217
1,774,368,298
1,217
[ "weidai11", "cryptopp" ]
null
Why many issues are closed without any replies? Hard to understand status.
https://api.github.com/repos/weidai11/cryptopp/issues/1216/comments
1
2023-06-24T08:41:11Z
2023-07-05T08:44:43Z
https://github.com/weidai11/cryptopp/issues/1216
1,772,539,735
1,216
[ "weidai11", "cryptopp" ]
`emplace_*` methods are more efficient when adding new objects, but might require C++11. Does it make sense to add code for this? Tests run successfully for the branch https://github.com/irwir/cryptopp/tree/use_emplace
Using emplace_* instead of push_*
https://api.github.com/repos/weidai11/cryptopp/issues/1215/comments
4
2023-06-24T08:14:07Z
2023-10-01T13:16:34Z
https://github.com/weidai11/cryptopp/issues/1215
1,772,528,654
1,215
[ "weidai11", "cryptopp" ]
This file is silently creataed by VS. In most cases such automatically generated files could be safely removed. Stackoverflow [discussion ](https://stackoverflow.com/questions/13015265/vcxproj-in-source-control#13015434) includes MSDN link.
Elimination of cryptest.vcxproj.user
https://api.github.com/repos/weidai11/cryptopp/issues/1213/comments
3
2023-06-23T10:58:46Z
2023-06-25T04:31:56Z
https://github.com/weidai11/cryptopp/issues/1213
1,771,256,196
1,213
[ "weidai11", "cryptopp" ]
cmake/TargetArch.cmake:66 should be able to accept Xcode macros. This is useful when the cryptopp library is getting built as a dependency of an Xcode project. So that the target architechture can be specified in the Xcode project settings, which is most of the times a macro like $(ARCHS_STANDARD) I am currently ge...
cmake/TargetArch.cmake:66 should be able to accept Xcode macros
https://api.github.com/repos/weidai11/cryptopp/issues/1211/comments
1
2023-06-09T14:05:53Z
2023-06-25T04:31:43Z
https://github.com/weidai11/cryptopp/issues/1211
1,749,965,214
1,211
[ "weidai11", "cryptopp" ]
Hello there, A small warning with that file with g++-13.1. Just in the unlikely case it points at something serious: ``` /usr/local/gcc-13.1/bin/g++-13.1 -g2 -pipe -std=c++20 -pedantic -Wall -DNDEBUG -O3 -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -pthread -c nbtheory.cpp nbtheory.cpp: In function ‘co...
nbtheory.cpp: warning: possibly dangling reference to a temporary
https://api.github.com/repos/weidai11/cryptopp/issues/1210/comments
2
2023-06-05T17:03:32Z
2023-06-26T13:58:35Z
https://github.com/weidai11/cryptopp/issues/1210
1,742,183,470
1,210
[ "weidai11", "cryptopp" ]
I am using CentOS-5.11, GCC-v12.3.0 cryptopp-v8.7 I tried building using the command `make static dynamic cryptest.exe`, and i got this error : ``` `/opt/gcc-12.3.0/bin/c++ -DNDEBUG -g2 -O3 -fPIC -pthread -pipe -c zlib.cpp ar r libcryptopp.a cryptlib.o cpu.o integer.o 3way.o adler32.o algebra.o algparam.o al...
usr/bin/ld: BFD 2.17.50.0.6-26.el5 20061020 internal error
https://api.github.com/repos/weidai11/cryptopp/issues/1209/comments
1
2023-05-26T05:15:09Z
2023-06-25T07:16:03Z
https://github.com/weidai11/cryptopp/issues/1209
1,726,920,720
1,209
[ "weidai11", "cryptopp" ]
Both the last released version 8.7 and the current master branch (2038ab1) have an incorrect order of the release fence and pointer store operations when creating the object. The current current code is ``` T *newObject = m_objectFactory(); s_pObject.store(newObject, std::memory_order_relaxed); std::atomic_thr...
Incorrect use of the release fence in Singleton::Ref
https://api.github.com/repos/weidai11/cryptopp/issues/1208/comments
1
2023-05-10T22:42:38Z
2023-06-25T20:59:19Z
https://github.com/weidai11/cryptopp/issues/1208
1,704,717,053
1,208
[ "weidai11", "cryptopp" ]
https://github.com/weidai11/cryptopp/blob/899dea907103075cf7e68b16dc81aadd4ce83749/integer.cpp#L3525 By definition `nbytes` should be 1 or greater.
Randomize() calls Crop(), though it may not be needed
https://api.github.com/repos/weidai11/cryptopp/issues/1206/comments
7
2023-04-30T17:21:19Z
2023-10-01T16:10:17Z
https://github.com/weidai11/cryptopp/issues/1206
1,690,003,719
1,206
[ "weidai11", "cryptopp" ]
I have an application written in C++ using CryptoPP is trying to communicate with Python. If Python generates the Key, CryptoPP won't import it and gives a BER Decode Error, and also if I generate the key in CryptoPP it won't import in Python. This may also need to be used on Android, IoS, and Java. So I need a meth...
Reading RSA keys across platforms between CryptoPP and Python, not in asn1Spec
https://api.github.com/repos/weidai11/cryptopp/issues/1205/comments
1
2023-04-19T14:02:23Z
2023-10-01T16:07:19Z
https://github.com/weidai11/cryptopp/issues/1205
1,674,972,666
1,205
[ "weidai11", "cryptopp" ]
I was learning how to use this library,but something went wrong.My version is 5.6.5.I also tried 8.7.0 in a Qt project,but it throws "__crtisvalidheappointer(block)". `#include <dll.h>` `#include <cryptlib.h>` `#include <base64.h>` `int main(int argc, char* argv[])` `{` ` string result;` ` StringSink ssi...
need help,it always enables breakpoints when exiting the block
https://api.github.com/repos/weidai11/cryptopp/issues/1203/comments
0
2023-04-13T03:20:40Z
2023-07-05T08:45:28Z
https://github.com/weidai11/cryptopp/issues/1203
1,665,620,094
1,203
[ "weidai11", "cryptopp" ]
hi, the x86-64 provides crc32q instruction (aka _mm_crc32_u64) which consumes 8 bytes at once. with this opcode CRC32C_Update_SSE42() works ~2x faster on my machine (amd ryzen7 1700 3GHz).
improve CRC32C_Update_SSE42 for x86-64.
https://api.github.com/repos/weidai11/cryptopp/issues/1202/comments
15
2023-04-12T19:24:50Z
2023-04-14T18:29:04Z
https://github.com/weidai11/cryptopp/issues/1202
1,665,118,246
1,202
[ "weidai11", "cryptopp" ]
https://github.com/weidai11/cryptopp/blob/a21bab3255dd3c7708d8af4cc065e3e2464db48a/cpu.cpp#L1140 Hi, I'm running a raspberry pi 4B 8GB version. When I run the program normally it runs without issue, but when I load it through gdb it crushes when running ``CPU_ProbePMULL(), CPU_ProbeAES() CPU_ProbeSHA1() CPU_ProbeS...
Crush on RPI Only when we are using gdb to debug
https://api.github.com/repos/weidai11/cryptopp/issues/1201/comments
1
2023-04-11T01:13:59Z
2023-07-05T08:45:48Z
https://github.com/weidai11/cryptopp/issues/1201
1,661,621,396
1,201
[ "weidai11", "cryptopp" ]
Thanks for your library, I like the architecture. Triple DES is a useful cipher, based on the ancient DES which is good thing for ciphers. It is used in the payments industry https://en.wikipedia.org/wiki/EMV . Presently it is difficult to find “3DES” in your library. Please have a 3des.h with class TDES comment...
Make 3des
https://api.github.com/repos/weidai11/cryptopp/issues/1200/comments
2
2023-04-10T12:40:33Z
2023-07-05T08:46:14Z
https://github.com/weidai11/cryptopp/issues/1200
1,660,731,039
1,200
[ "weidai11", "cryptopp" ]
The webserver's Mediawiki database backup is failing. It looks like the failures started in February 2023. I think it is due to Ubuntu's release of MySQL 8.0.32. It looks like 8.0.33 should be Ok. Also see https://bugs.launchpad.net/ubuntu/+source/mysql-5.7/+bug/2003866 . Adding a bug so it does not fall off the ra...
Mediawiki database backup failures
https://api.github.com/repos/weidai11/cryptopp/issues/1199/comments
1
2023-03-31T03:35:01Z
2023-04-14T14:01:37Z
https://github.com/weidai11/cryptopp/issues/1199
1,648,613,785
1,199
[ "weidai11", "cryptopp" ]
OS: Windows 11 x64 Cryptopp version : Last vcpkg available version 8.7.0#3 Build: Last MSVC (2022 17.5) x64 Error : `\include\cryptopp\misc.h(83): fatal error C1083: Cannot open include file: 'x86intrin.h': No such file or directory` issue with this: ``` #if defined(__BMI__) # include <x86intrin.h> # includ...
Fatal Error compiling under MSVC with avx2 enabled (/arch:AVX2)
https://api.github.com/repos/weidai11/cryptopp/issues/1198/comments
2
2023-03-23T09:30:40Z
2023-04-15T22:23:45Z
https://github.com/weidai11/cryptopp/issues/1198
1,637,158,691
1,198
[ "weidai11", "cryptopp" ]
That's it.
SSL/TLS certificate for cryptopp.com expired on 15/03
https://api.github.com/repos/weidai11/cryptopp/issues/1197/comments
1
2023-03-16T11:52:48Z
2023-03-16T13:07:33Z
https://github.com/weidai11/cryptopp/issues/1197
1,627,315,240
1,197
[ "weidai11", "cryptopp" ]
Hi everyone. I am using crypto++ and I want to perform homomorphic operations with the ElGamal algorithm. ElGamal is partially homomorphic as it allows to perform multiplication of encrypted numbers. This is my code: ``` #include <iostream> #include <string> #include <cryptopp/cryptlib.h> #include <cryptopp/...
Doubt about El Gamal and homomorphic encryption
https://api.github.com/repos/weidai11/cryptopp/issues/1196/comments
0
2023-03-09T13:23:23Z
2023-07-05T08:46:40Z
https://github.com/weidai11/cryptopp/issues/1196
1,617,248,242
1,196
[ "weidai11", "cryptopp" ]
Hi everyone, I'm new in cryptopp and i'm trying to run a small example using ElGamal. Code: ``` #include <iostream> using std::cout; using std::cerr; using std::endl; #include <cryptopp/osrng.h> using CryptoPP::AutoSeededRandomPool; #include <cryptopp/secblock.h> using CryptoPP::SecByteBlock; #includ...
Error trying to run a example with ElGamal
https://api.github.com/repos/weidai11/cryptopp/issues/1195/comments
1
2023-03-02T15:38:51Z
2023-07-05T08:46:57Z
https://github.com/weidai11/cryptopp/issues/1195
1,607,034,732
1,195
[ "weidai11", "cryptopp" ]
There are two related problems concerning these files and their using with Visual CPP: - files `base64.h` and `base64.cpp` are missing in `cryptdll.vcxproj` - classes within these files (`Base64Encoder`, `Base64Decoder`) are not attributed with `CRYPTOPP_DLL` in contrast to other classes within cryptopp. So if lin...
base64.h and base64.cpp missing in cryptdll.vcxproj
https://api.github.com/repos/weidai11/cryptopp/issues/1194/comments
0
2023-02-28T13:54:01Z
2023-07-05T08:47:11Z
https://github.com/weidai11/cryptopp/issues/1194
1,603,119,196
1,194
[ "weidai11", "cryptopp" ]
Can you help debug problem with failed test after build 8.7.0 on Fedora Rawhide? Build is OK but one test fail and only on s390x architecture. ``` ed25519 validation suite running... passed signature key validation FAILED signature and verification passed checking invalid signature FAILED verificatio...
8.7.0 fail test on Fedora Rawhide s390x
https://api.github.com/repos/weidai11/cryptopp/issues/1193/comments
8
2023-02-20T12:14:56Z
2023-09-25T20:22:29Z
https://github.com/weidai11/cryptopp/issues/1193
1,591,747,924
1,193
[ "weidai11", "cryptopp" ]
On wiki it says that on Windows, clang is not officially supported ([source](https://www.cryptopp.com/wiki/Compilers)). Still, I am curious if there are some unofficial ways of making it compilable with clang-cl? Thanks.
Anyone had success compiling the library with clang-cl?
https://api.github.com/repos/weidai11/cryptopp/issues/1192/comments
3
2023-02-17T09:28:13Z
2024-03-07T15:00:48Z
https://github.com/weidai11/cryptopp/issues/1192
1,589,031,026
1,192
[ "weidai11", "cryptopp" ]
The following code ends with `Segmentation fault`, at least on x86/Freebsd/v8.7.0 and x64/Arch/c364032d4c(current master). ``` #!/usr/bin/env bash set -euxo pipefail dir=$PWD/classlayout mkdir -p $dir make clean make CRYPTOPP_CPPFLAGS='-DNDEBUG -DCRYPTOPP_DISABLE_ASM' PREFIX=$dir dynamic libcryptopp.pc make CRYPTOPP_...
using dynamic library built with `CRYPTOPP_DISABLE_ASM` can cause SEGV.
https://api.github.com/repos/weidai11/cryptopp/issues/1191/comments
1
2023-02-14T17:19:13Z
2023-06-25T07:17:57Z
https://github.com/weidai11/cryptopp/issues/1191
1,584,545,977
1,191
[ "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/#!...
Documentation bug
https://api.github.com/repos/weidai11/cryptopp/issues/1188/comments
1
2023-01-24T14:24:22Z
2023-01-24T14:48:49Z
https://github.com/weidai11/cryptopp/issues/1188
1,555,084,871
1,188
[ "weidai11", "cryptopp" ]
Cryptopp master branch, Visual Studio 2022. There were multiple warning when compilng a project with cryptopp library: > Warning C5264 'CryptoPP::INFINITE_TIME': 'const' variable is not used \cryptopp\cryptlib.h 130 This is because the variable gets defined every time the header was included, A simple fix is to...
'Variable is not used' warnings in VS 2022
https://api.github.com/repos/weidai11/cryptopp/issues/1185/comments
9
2023-01-12T12:35:06Z
2023-01-17T02:54:48Z
https://github.com/weidai11/cryptopp/issues/1185
1,530,638,813
1,185
[ "weidai11", "cryptopp" ]
the byte order of crc32 does not match。 CRC32 crc32; StringSource(plain, true, new HashFilter(crc32, new HexEncoder(new StringSink(dst)))); The general result is 6D8A7EF2,but F2A78E6D. void CRC32::TruncatedFinal(byte *hash, size_t size) { ThrowIfInvalidTruncatedSize(size); m_crc ^= CRC32_NEGL; for (si...
byte order of crc32
https://api.github.com/repos/weidai11/cryptopp/issues/1184/comments
2
2023-01-10T01:28:37Z
2023-07-05T08:47:53Z
https://github.com/weidai11/cryptopp/issues/1184
1,526,608,320
1,184
[ "weidai11", "cryptopp" ]
Crypto++ XChaCha20 implementation cannot decrypt data that both `libsodium` and Go's ` golang.org/x/crypto` decrypt correctly. Do I need to do it differently with Crypto++? I couldn't find a way to make it work. Below is a proof of concept program that uses `libsodium` to encrypt and Crypto++ to decrypt, which doesn...
xchacha20 incompatible with libsodium and golang.org/x/crypto
https://api.github.com/repos/weidai11/cryptopp/issues/1183/comments
1
2022-12-26T11:04:55Z
2023-07-05T08:48:06Z
https://github.com/weidai11/cryptopp/issues/1183
1,510,854,024
1,183
[ "weidai11", "cryptopp" ]
Hello, I downloaded the Crypto++8.7 project from the official website. I used the cryptdll project to generate cryptopp.dll and cryptopp.lib. I added them to my project, but the following problem occurred in the compilation project? How to solve this problem? ![image](https://user-images.githubusercontent.com/10606582...
Crypto++8.7 Unable to link normally after generating dynamic library
https://api.github.com/repos/weidai11/cryptopp/issues/1182/comments
0
2022-12-14T09:16:06Z
2023-07-05T08:48:41Z
https://github.com/weidai11/cryptopp/issues/1182
1,496,140,741
1,182
[ "weidai11", "cryptopp" ]
[RSAPrivKeys.zip](https://github.com/weidai11/cryptopp/files/10176002/RSAPrivKeys.zip) When importing RSA private key files as attached, Crypto++ seems to support structures containing the OID for "rsaEncryption" (1 2 840 113549 1 1 1) only. Whenever a private key file is presented indicating the OID for "rsaPSS" (1...
Loading RSA private key file containing OID "rsaPSS" throws BERDecode error
https://api.github.com/repos/weidai11/cryptopp/issues/1181/comments
1
2022-12-07T12:39:51Z
2023-10-02T09:38:44Z
https://github.com/weidai11/cryptopp/issues/1181
1,481,827,756
1,181
[ "weidai11", "cryptopp" ]
I used the command "mingw32-make -f GNUmakefile", it doesnt work. pls guide how to complie with TDM-GCC 9.2
pls guide how to complie with TDM-GCC 9.2
https://api.github.com/repos/weidai11/cryptopp/issues/1180/comments
0
2022-12-02T15:32:09Z
2023-07-05T08:48:54Z
https://github.com/weidai11/cryptopp/issues/1180
1,473,051,491
1,180
[ "weidai11", "cryptopp" ]
I am looking for an algorithm in your library that can give me fast results on a Quest 2. I have built a .dll of the library using CMake and am using Unity to call the functions. I can encrypt decrypt a smaller video of 100 mb in about a second and a half. However, it takes me about 4 minutes to encrypt and 3 minu...
Best Encryption Type for Fast Decryption
https://api.github.com/repos/weidai11/cryptopp/issues/1179/comments
0
2022-11-29T22:59:08Z
2023-07-05T08:49:06Z
https://github.com/weidai11/cryptopp/issues/1179
1,468,808,385
1,179
[ "weidai11", "cryptopp" ]
The documentation for IsolatedFlush in BufferedTransformation states that IsolatedFlush should return true on success. The FileSink code returns false on success: ``` bool FileSink::IsolatedFlush(bool hardFlush, bool blocking) { CRYPTOPP_UNUSED(hardFlush), CRYPTOPP_UNUSED(blocking); if (!m_stream) throw Er...
FileSink::IsolatedFlush returns false on success
https://api.github.com/repos/weidai11/cryptopp/issues/1178/comments
2
2022-11-23T16:19:58Z
2022-11-29T13:22:29Z
https://github.com/weidai11/cryptopp/issues/1178
1,462,046,441
1,178
[ "weidai11", "cryptopp" ]
### Crypto++ Issue Report * State the operating system and version (Ubutnu 17 x86_64, Windows 7 Professional x64, etc) MacOS 10.15.7 intel cpu Windows 10 intel cpu * State the version of the Crypto++ library (Crypto++ 7.0, Master, etc) Built from master branch: e9cbc4698a6b3ed067910862ad1355069f348d2b ...
Double Delete from BlowFish example on exit
https://api.github.com/repos/weidai11/cryptopp/issues/1176/comments
5
2022-11-10T07:32:59Z
2023-07-05T08:49:44Z
https://github.com/weidai11/cryptopp/issues/1176
1,443,399,301
1,176
[ "weidai11", "cryptopp" ]
### Crypto++ Issue Report operating system and version - macOS 12.2.1, m1 chip CryptoPP 8.7 Using Xcode I Downloaded the library and included it into my project, as described In the WIKI page, I didn't use the make file or built the library myself. when trying to run my code, I get a lot of Undefined symbol ...
Can't run the library on XCODE
https://api.github.com/repos/weidai11/cryptopp/issues/1175/comments
0
2022-10-31T17:31:02Z
2023-07-05T08:49:58Z
https://github.com/weidai11/cryptopp/issues/1175
1,430,218,464
1,175
[ "weidai11", "cryptopp" ]
https://github.com/weidai11/cryptopp/pull/1171 breaks Clang build: ```sh $ make clang++-14 -DNDEBUG -g2 -O3 -fPIC -pthread -pipe -c cryptlib.cpp In file included from cryptlib.cpp:19: In file included from ./filters.h:21: ./queue.h:265:24: error: exception specification in declaration does not match previous de...
Clang build is broken
https://api.github.com/repos/weidai11/cryptopp/issues/1174/comments
3
2022-10-29T01:51:15Z
2022-10-29T12:22:22Z
https://github.com/weidai11/cryptopp/issues/1174
1,428,015,734
1,174
[ "weidai11", "cryptopp" ]
My goal is to convert a rawRepresentation of a P521-PrivateKey to a `ECDSA<ECP, SHA256>::PrivateKey` object. What i mean with rawRepresentation: ``` ECPrivateKey ::= SEQUENCE { version INTEGER { ecPrivkeyVer1(1) } (ecPrivkeyVer1), privateKey OCTET STRING, <------------------------- rawRepr...
Import PrivateKey from Raw Format
https://api.github.com/repos/weidai11/cryptopp/issues/1169/comments
0
2022-10-09T15:21:20Z
2023-07-05T08:50:36Z
https://github.com/weidai11/cryptopp/issues/1169
1,402,306,949
1,169
[ "weidai11", "cryptopp" ]
Hi, I'm trying to use the elliptic curve Diffie-Hellman class (`ECDH<ECP>`) in a program compiled without RTTI. This results in a compiler warning when using MSVC (full program and output at the end of the issue): ``` cryptopp\8.7.0\include\cryptopp\pubkey.h(1658): warning C4541: 'dynamic_cast' used on polymorphic ty...
Using elliptic curve Diffie-Hellman without RTTI
https://api.github.com/repos/weidai11/cryptopp/issues/1168/comments
3
2022-10-05T14:45:20Z
2023-07-05T08:50:57Z
https://github.com/weidai11/cryptopp/issues/1168
1,397,916,070
1,168
[ "weidai11", "cryptopp" ]
### Crypto++ Issue Report I am getting link errors when building on a CentOS 7 based Docker container using `devtoolset-11` i.e. `gcc (GCC) 11.2.1 20220127 (Red Hat 11.2.1-9)` with Crytpo++ version 8.7.0 The application builds and links fine on Ubuntu 22.04 with compiler: `gcc (Ubuntu 11.2.0-19ubuntu1) 11.2.0` ...
Failure to link version 8.7.0 on Centos 7
https://api.github.com/repos/weidai11/cryptopp/issues/1166/comments
2
2022-10-03T16:30:04Z
2023-06-25T07:20:50Z
https://github.com/weidai11/cryptopp/issues/1166
1,395,009,843
1,166
[ "weidai11", "cryptopp" ]
### Crypto++ Issue Report Crupto++ 8.7.0 In the GNUMakefile: ``` # SSE, NEON or POWER7 available blake2s_simd.o : blake2s_simd.cpp $(CXX) $(strip $(CPPFLAGS) $(CXXFLAGS) $(BLAKE2S_FLAG) -c) $< # SSE, NEON or POWER8 available blake2b_simd.o : blake2s_simd.cpp $(CXX) $(strip $(CPPFLAGS) $(CXXFLAGS) $(BLA...
In `GNUMakefile`, wrong dependency for `blake2b_simd.o`
https://api.github.com/repos/weidai11/cryptopp/issues/1164/comments
2
2022-09-27T13:05:53Z
2022-09-27T23:51:47Z
https://github.com/weidai11/cryptopp/issues/1164
1,387,730,976
1,164
[ "weidai11", "cryptopp" ]
### Crypto++ Issue Report Crypto++ 8.7.0 In GNUMakefile, `SSE3_FLAG` is used but it was never being tested for with the test program to check if it is available or not, unlike sse2 and ssse3. ``` /cryptopp-cmake/_build/_deps/cryptopp # grep -n -A 5 [^S]SSE3_FLAG GNUmakefile 250: SSE3_FLAG = -xarch=sse3 2...
SSE3_FLAG used but not not tested for
https://api.github.com/repos/weidai11/cryptopp/issues/1163/comments
4
2022-09-27T12:12:57Z
2022-10-01T16:43:38Z
https://github.com/weidai11/cryptopp/issues/1163
1,387,655,837
1,163
[ "weidai11", "cryptopp" ]
### Crypto++ Issue Report * State the operating system and version (Ubutnu 17 x86_64, Windows 7 Professional x64, etc) This issue is reported and reproduced easily on Windows with MSVC, however, the fact that it works on other compilers / systems is completely not guaranteed * State the version of the Crypto++ l...
`-DCRYPTOPP_DISABLE_ASM=1` not fully honored by the library on MSVC
https://api.github.com/repos/weidai11/cryptopp/issues/1162/comments
1
2022-09-27T10:36:03Z
2023-06-25T21:10:38Z
https://github.com/weidai11/cryptopp/issues/1162
1,387,523,472
1,162
[ "weidai11", "cryptopp" ]
Hello, the AES provided sample code on crypto++ website gives me Unhandled exception at 0x00007FF9DCF1AC87 (ucrtbased.dll) in sadnibbahours.exe: 0xC0000005: Access violation reading location 0x0000012D00000001 in the delete_scalar.cpp file. My guess is it has something with the StringSource destructor or StrinkSink i'm...
StringSource destructor
https://api.github.com/repos/weidai11/cryptopp/issues/1161/comments
0
2022-09-27T06:07:58Z
2022-09-27T14:04:54Z
https://github.com/weidai11/cryptopp/issues/1161
1,387,161,049
1,161
[ "weidai11", "cryptopp" ]
OS: iOS Simulator (x86_64) Version: 8.5.0 Built: via setenv-ios.sh, then make -f GNUmakefile-cross. I removed optimizations and added ASAN, etc during debugging this issue. ``` IOS_SDK=iPhoneSimulator IOS_CPU=x86_64 source ./setenv-ios.sh Configuring for iPhoneSimulator (x86_64) XCODE_TOOLCHAIN: /Applications/X...
AddressSanitizer: stack-buffer-overflow (segfault) on iOS Simulator x86_64 8.5.0
https://api.github.com/repos/weidai11/cryptopp/issues/1160/comments
3
2022-09-22T13:03:39Z
2022-09-27T14:04:45Z
https://github.com/weidai11/cryptopp/issues/1160
1,382,418,576
1,160
[ "weidai11", "cryptopp" ]
`ld.lld: error: undefined symbol: android_getCpuFeatures` `ld.lld: error: undefined symbol: android_getCpuFamily` Help wanted ![IMG_20220922_150128](https://user-images.githubusercontent.com/72664192/191717544-34c934e2-daac-4e3b-a157-0692e33aaeeb.jpg)
Cryptopp compilation error in Android termux
https://api.github.com/repos/weidai11/cryptopp/issues/1159/comments
0
2022-09-22T09:56:58Z
2022-09-27T14:05:10Z
https://github.com/weidai11/cryptopp/issues/1159
1,382,171,150
1,159
[ "weidai11", "cryptopp" ]
LE certificate is expired at Tue, 13 Sep 2022 01:38:45 GMT https://www.cryptopp.com Please update it.
Expired SSL certificatte for cryptopp.com
https://api.github.com/repos/weidai11/cryptopp/issues/1158/comments
1
2022-09-19T07:16:13Z
2022-09-19T14:00:40Z
https://github.com/weidai11/cryptopp/issues/1158
1,377,511,636
1,158
[ "weidai11", "cryptopp" ]
I'm not sure if the github issue tracker is the place to report this, but there's a typo in ed25519 wiki page, under the Message Verification section. ``` StringSource(signature+message, true, new SignatureVerificationFilter(verifier, NULLPTR, THROW_EXCPETION))); ``` where `THROW_EXCPETION` should b...
Possible Typo in Ed25519 Wiki Page
https://api.github.com/repos/weidai11/cryptopp/issues/1157/comments
1
2022-09-16T16:21:49Z
2022-09-16T16:46:34Z
https://github.com/weidai11/cryptopp/issues/1157
1,376,161,392
1,157
[ "weidai11", "cryptopp" ]
## Operating system and version Windows 11, Version 21H2 (OS Build 22000.978) ## Compiler Visual Studio 2022 Microsoft (R) C/C++ Optimizing Compiler Version 19.33.31630 for x64 ## Crypto++ library v8.7.0 ## How you built the library CMake (https://github.com/abdes/cryptopp-cmake) Please note that the ...
MSVC compiler error when building for ARM64 with Visual Studio 2022
https://api.github.com/repos/weidai11/cryptopp/issues/1156/comments
1
2022-09-16T09:21:20Z
2022-09-16T09:55:12Z
https://github.com/weidai11/cryptopp/issues/1156
1,375,674,800
1,156
[ "weidai11", "cryptopp" ]
I use CryptoPP 8.7.0, Microsoft Visual Studio 2022, Windows SDK 10.0.19041.0. Steps to reproduce: 1. Open cryptest.sln. 2. Switch to ARM or ARM64. 3. Right click cryptlib. Go to Properties > Librarian > General. Change "Target Machine" to MachineARM or MachineARM64. 4. Exclude all .asm files. 5. Build cryptl...
Compile error when building for Windows ARM
https://api.github.com/repos/weidai11/cryptopp/issues/1155/comments
3
2022-09-15T14:15:23Z
2022-09-16T09:54:57Z
https://github.com/weidai11/cryptopp/issues/1155
1,374,603,642
1,155
[ "weidai11", "cryptopp" ]
Hi all, We are using a CryptoPP 64-bit Dll version 8.7.0 built with VS 2022. The dll works fine in debug and release build as long as no debugger is attached. But with an debugger attached, during the `DoDllPowerUpSelfTest()` in `fipstest.cpp` the function `bool IntegrityCheckModule(const char *moduleFilename,...
Power-up self test failed and exception thrown with attached debugger
https://api.github.com/repos/weidai11/cryptopp/issues/1153/comments
1
2022-09-12T13:52:29Z
2023-07-05T08:53:36Z
https://github.com/weidai11/cryptopp/issues/1153
1,369,950,528
1,153
[ "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. I am using Ubuntu 18.04. I am trying to build Crypto 5.6.4. I am using GNUmakefile with Yocto. I get the following error. The error is...
Error during cryptopp 5.6.4 build
https://api.github.com/repos/weidai11/cryptopp/issues/1152/comments
0
2022-09-07T08:12:59Z
2023-07-05T08:53:56Z
https://github.com/weidai11/cryptopp/issues/1152
1,364,270,970
1,152
[ "weidai11", "cryptopp" ]
### Crypto++ Issue Report * State the operating system and version (macOS monterrey: 12.5.1, chip Apple M1 Max) * State the version of the Crypto++ library (master) * State how you built the library (makefile) Hello `setenv-ios.sh` script fails if we use `IOS_SDK` `iPhoneSimulator` and `IOS_CPU` `arm64` ...
Can't build Crypto++ for arm64 iphone simulator
https://api.github.com/repos/weidai11/cryptopp/issues/1151/comments
1
2022-09-06T13:06:08Z
2022-09-06T14:25:00Z
https://github.com/weidai11/cryptopp/issues/1151
1,363,258,881
1,151
[ "weidai11", "cryptopp" ]
secblock.h template <typename T, size_t S, typename A> class FixedSizeAllocatorWithCleanup<T, S, A, true> : public AllocatorBase<T> { error C2065: “T” error C2065: “S” error C2065: “A”
Compile error when compiling in vc70 mode on MSVC
https://api.github.com/repos/weidai11/cryptopp/issues/1149/comments
0
2022-09-06T09:51:25Z
2022-09-16T16:47:46Z
https://github.com/weidai11/cryptopp/issues/1149
1,363,018,431
1,149
[ "weidai11", "cryptopp" ]
The new in a Singleton has no complementary delete which causes still reachable bytes in memcheck. (misc.h line 258 and 346) Code snippet to reproduce (FixedMaxPlaintextLength is the trigger here): ``` CryptoPP::RSA::PublicKey publicKey{}; .... CryptoPP::RSAES<CryptoPP::OAEP<CryptoPP::SHA256>>::Encryptor encrypt...
Valgrind memcheck: still reachable bytes in Singleton
https://api.github.com/repos/weidai11/cryptopp/issues/1145/comments
2
2022-08-19T08:44:34Z
2023-10-15T15:23:29Z
https://github.com/weidai11/cryptopp/issues/1145
1,344,140,246
1,145
[ "weidai11", "cryptopp" ]
Hello everyone, a question when I try to use the package and compile it in shared form (.so) and I want to read it I get this: undefined symbol: _ZN8CryptoPP21SimpleKeyingInterface6SetKeyEPKhmRKNS_14NameValuePairsE in which I investigate and it says that I have to compile it in such a way that the symbols must be ...
Failed to compile shared with error: undefined symbol: _ZN8CryptoPP21SimpleKeyingInterface6SetKeyEPKhmRKNS_14NameValuePairsE
https://api.github.com/repos/weidai11/cryptopp/issues/1144/comments
0
2022-08-16T16:55:30Z
2023-07-05T08:54:48Z
https://github.com/weidai11/cryptopp/issues/1144
1,340,632,051
1,144
[ "weidai11", "cryptopp" ]
hello im clone cryptopp from your github and make that with "make cryptest.exe". but when include that in my project and run my project whit "python waf build" (my project is in kodo)show this message: "examples/encode_decode_simple/encode_decode_simple.cpp.1.o: In function `crc::crc32(std::vector<unsigned char, s...
link cryptopp with my project
https://api.github.com/repos/weidai11/cryptopp/issues/1143/comments
0
2022-08-13T13:42:58Z
2023-07-05T08:55:06Z
https://github.com/weidai11/cryptopp/issues/1143
1,337,968,237
1,143
[ "weidai11", "cryptopp" ]
### Crypto++ Issue Report * State the operating system and version (Ubutnu 17 x86_64, Windows 7 Professional x64, etc): Alpine linux edge * State the version of the Crypto++ library (Crypto++ 7.0, Master, etc): 8.7 release * State how you built the library (Makefile, Cmake, distro, etc): makefile, gcc11 8.7 fai...
fails to build on 32-bit x86
https://api.github.com/repos/weidai11/cryptopp/issues/1142/comments
2
2022-08-10T15:31:35Z
2022-08-25T17:20:11Z
https://github.com/weidai11/cryptopp/issues/1142
1,334,807,693
1,142
[ "weidai11", "cryptopp" ]
### Crypto++ Issue Report * State the operating system and version: Gentoo, amd64 * State the version of the Crypto++ library (Crypto++ 7.0, Master, etc): crypto++-8.7.0 * State how you built the library (Makefile, Cmake, distro, etc): Makefile via distribution (Gentoo ebuild, I'm its maintainer) 8.7.0 fails te...
`make check` fails with 8.7.0
https://api.github.com/repos/weidai11/cryptopp/issues/1141/comments
33
2022-08-08T05:09:42Z
2022-09-16T16:48:33Z
https://github.com/weidai11/cryptopp/issues/1141
1,331,336,506
1,141
[ "weidai11", "cryptopp" ]
This is expected behavior. If you want initialized memory, then use one of the `SecByteBlock` overloads. See https://www.cryptopp.com/wiki/SecBlock . _Originally posted by @noloader in https://github.com/weidai11/cryptopp/issues/1138#issuecomment-1206486308_
This is expected behavior. If you want initialized memory, then use one of the `SecByteBlock` overloads. See https://www.cryptopp.com/wiki/SecBlock .
https://api.github.com/repos/weidai11/cryptopp/issues/1140/comments
0
2022-08-06T11:26:24Z
2023-07-05T08:55:27Z
https://github.com/weidai11/cryptopp/issues/1140
1,330,727,570
1,140
[ "weidai11", "cryptopp" ]
When the SecByteBlock is created but the memory is never initialized, the comparison works correctly but the assertion is raised OS: `Windows 10 x64 Home 21H2` Version: `Crypto++ 8.6.0` Build: `Visual Studio 2015` Configuration: `Debug x64` Runtime library: `Multi-threaded Debug (/MTd)` Test application: Simply...
Comparison of uninitialized SecByteBlock raises an assertion
https://api.github.com/repos/weidai11/cryptopp/issues/1138/comments
2
2022-08-05T13:11:49Z
2023-07-05T08:55:46Z
https://github.com/weidai11/cryptopp/issues/1138
1,329,923,516
1,138
[ "weidai11", "cryptopp" ]
The RSA with key size 16 may provide an invalid key randomly. The generation itself does not report any errors but validation fails due to an invalid state. Worth to say I don't need such small-sized keys in production and this was revealed just while testing our integration. OS: `Windows 10 x64 Home 21H2` Version:...
The RSA with key size 16 may provide an invalid key randomly
https://api.github.com/repos/weidai11/cryptopp/issues/1136/comments
2
2022-08-05T11:09:33Z
2022-08-05T12:54:28Z
https://github.com/weidai11/cryptopp/issues/1136
1,329,795,991
1,136
[ "weidai11", "cryptopp" ]
### Crypto++ Issue Report When I build cryptopp 8.6.0 for Fedora 37 x86_64 and run tests it use RIPEMD-160 and falls into an endless loop: ``` passed brainpoolP192r1 using RIPEMD-160 passed signature key validation passed signature and verification passed checking invalid signature passed brainp...
Endless loop at running ECGDSA/RIPEMD tests for Crypto++ 8.6.0
https://api.github.com/repos/weidai11/cryptopp/issues/1134/comments
17
2022-08-02T07:04:20Z
2022-08-08T21:24:08Z
https://github.com/weidai11/cryptopp/issues/1134
1,325,383,184
1,134
[ "weidai11", "cryptopp" ]
OS: Ubuntu 20.04 LTS Version: master@9ea66ce4d97d59d61e49c93f5af191107ebd1925 CPU: amd64 without CLMUL support Compiler: GCC 11.1.0 How I built the library: `make -j8 static` ## How to reproduce * `git checkout --depth=1 https://github.com/weidai11/cryptopp.git` * Get a computer with an amd64 CPU without CLM...
GCC 11: AES-GCM: make check fails on amd64 without CLMUL support
https://api.github.com/repos/weidai11/cryptopp/issues/1132/comments
3
2022-07-28T18:43:49Z
2022-07-29T08:24:03Z
https://github.com/weidai11/cryptopp/issues/1132
1,321,343,466
1,132
[ "weidai11", "cryptopp" ]
OS: CentOS release 6.8 Crypto version: cryptopp_8.2.0 Currently, I use below code to deal with hex string input to get sha3-256 output ``` std::string my_hash_function(const std::string& hexInput) { // convert heximal string input to text string std::string decoded = ""; StringSou...
Hex input type with odd char for sha3_256
https://api.github.com/repos/weidai11/cryptopp/issues/1130/comments
1
2022-06-30T09:20:05Z
2023-07-05T08:56:18Z
https://github.com/weidai11/cryptopp/issues/1130
1,289,845,175
1,130
[ "weidai11", "cryptopp" ]
First of all, thanks a lot for building this extensive, high-quality library! It's great to have so many algorithms supported. However, usually only one or a few specific functions/algorithms are needed by a particular application. Of course, one can statically link to Crypto++ and rely on the linker to only include ne...
Allow to build only a subset of the library
https://api.github.com/repos/weidai11/cryptopp/issues/1129/comments
1
2022-06-18T16:07:14Z
2023-06-25T07:20:26Z
https://github.com/weidai11/cryptopp/issues/1129
1,275,825,090
1,129
[ "weidai11", "cryptopp" ]
* State the operating system and version (Ubutnu 17 x86_64, Windows 7 Professional x64, etc): Windows 10 * State the version of the Crypto++ library (Crypto++ 7.0, Master, etc): 5.6.2 There is a bug when doing upper_bound search with ```distance``` equal to 0: https://github.com/weidai11/cryptopp/blob/0a7a16472643...
bug in upper_bound search
https://api.github.com/repos/weidai11/cryptopp/issues/1128/comments
2
2022-06-16T13:29:36Z
2022-09-30T10:11:26Z
https://github.com/weidai11/cryptopp/issues/1128
1,273,568,708
1,128
[ "weidai11", "cryptopp" ]
### Crypto++ Issue Report Hi, I was working with `hmac` and `base64` encoding and I found a bug. When encoding in base64 a binary string the encoding fails when it reaches the binary values. POC: ```C++ std::string key = "a"; CryptoPP::SecByteBlock session_key; session_key.resize(key.length()); for (int ...
Base64 byte encoding
https://api.github.com/repos/weidai11/cryptopp/issues/1127/comments
0
2022-06-14T08:08:15Z
2023-07-05T08:57:09Z
https://github.com/weidai11/cryptopp/issues/1127
1,270,420,687
1,127
[ "weidai11", "cryptopp" ]
Hi there! OS: Ubuntu 20.04 LTS Crypto++ ver 8.6 Built the library using the provided Makefile There are two parts to my program (1.Encrypt 2.decrypt I encrypted and encoded contents from a text file and stored the encoded content in another file. I extracted that content from the file and decoded it with che...
NULL STRING RETURNED IN ECIES
https://api.github.com/repos/weidai11/cryptopp/issues/1126/comments
0
2022-06-12T11:55:13Z
2023-07-05T08:57:30Z
https://github.com/weidai11/cryptopp/issues/1126
1,268,557,948
1,126
[ "weidai11", "cryptopp" ]
I have to add crypto++ as dll into our project. The project is using several functions of crypto++ but a few used give an "unresolved extern symbol" linking error: CryptoPP::DSAConvertSignatureFormat CryptoPP::Base64Encoder::IsolatedInitialize CryptoPP::Base64Decoder::GetDecodingLookupArray Clearly, this can't wo...
Unresolved external symbol using crypto++ as dll
https://api.github.com/repos/weidai11/cryptopp/issues/1125/comments
0
2022-06-08T09:24:26Z
2023-07-05T08:57:49Z
https://github.com/weidai11/cryptopp/issues/1125
1,264,453,448
1,125
[ "weidai11", "cryptopp" ]
In seal.h file there is this function for generating a stream: ` void OperateKeystream(KeystreamOperation operation, byte *output, const byte *input, size_t iterationCount);` How many iterations should be used?
How many iterations should be used in SEAL 3.0?
https://api.github.com/repos/weidai11/cryptopp/issues/1124/comments
1
2022-06-02T23:28:49Z
2023-07-05T08:57:40Z
https://github.com/weidai11/cryptopp/issues/1124
1,258,962,768
1,124
[ "weidai11", "cryptopp" ]
Hey im using crypto++ 8.6 which i installed with apt on Debian. I wrote a program that encrypts files using AES 256 bit in GCM mode. when I try compiling the program always tells me that GCM_Mode is not a part of CryptoPP but other modes like CBC, CFB, CTR etc. work though. The weird thing is that yesterday I was a...
error: ‘GCM_Mode’ is not a member of ‘CryptoPP’; did you mean ‘ECB_Mode’?
https://api.github.com/repos/weidai11/cryptopp/issues/1123/comments
1
2022-05-25T14:35:03Z
2023-07-05T08:58:08Z
https://github.com/weidai11/cryptopp/issues/1123
1,248,194,680
1,123
[ "weidai11", "cryptopp" ]
### Crypto++ Issue Report Hello, please consider this configuration : * State the operating system and version (Windows 11 Pro) * State the version of the Crypto++ library (VCPKG DOWNLOAD at https://vcpkg.info/port/cryptopp for window-static 64 bit auto version) * State how you built the library (Cmake) Hi, I'...
ECDSA, Secp256k1 - LowS value & perform correct signature generation and validation.
https://api.github.com/repos/weidai11/cryptopp/issues/1122/comments
3
2022-05-22T09:52:06Z
2023-07-05T08:58:58Z
https://github.com/weidai11/cryptopp/issues/1122
1,244,204,972
1,122
[ "weidai11", "cryptopp" ]
Hi, I'm currently using the latest release of cryptopp (8.6.0) in react-native-cryptopp (see https://github.com/JiriHoffmann/react-native-cryptopp/issues/17). I need to make RSA-PSS-SHA256 signatures with a max salt length (which is the default in many libraries, for example in node.js https://nodejs.org/api/cryp...
Set salt length for RSA PSS signatures at run time
https://api.github.com/repos/weidai11/cryptopp/issues/1121/comments
10
2022-05-18T16:03:25Z
2022-07-22T13:53:53Z
https://github.com/weidai11/cryptopp/issues/1121
1,240,182,113
1,121
[ "weidai11", "cryptopp" ]
Hey, When compiling I get a bunch of Undefined symbols for architecture arm64: "CryptoPP: errors. I'm using xcode 13.3.1 on mac 12.3.1, using the latest 8.6 lib.
Undefined symbols for architecture arm64: "CryptoPP:
https://api.github.com/repos/weidai11/cryptopp/issues/1120/comments
2
2022-05-03T14:36:12Z
2024-03-20T14:24:03Z
https://github.com/weidai11/cryptopp/issues/1120
1,224,190,898
1,120
[ "weidai11", "cryptopp" ]
I believe EC private key decoding is currently broken, here is a code sample in which `BERDecode` throws an exception. The key was randomly generated using OpenSSL and so I believe it is valid: ```c++ uint8_t server_priv_key_[] = { 0x30, 0x77, 0x02, 0x01, 0x01, 0x04, 0x20, 0xf4, 0x0b, 0x3b, 0xdc, 0xf2,...
ECDSA private key: BERDecode broken?
https://api.github.com/repos/weidai11/cryptopp/issues/1118/comments
1
2022-04-24T11:37:21Z
2022-06-03T00:04:30Z
https://github.com/weidai11/cryptopp/issues/1118
1,213,629,367
1,118
[ "weidai11", "cryptopp" ]
### HexDecoder Bug (Crypto++ 8.6.0) According to this page: https://www.cryptopp.com/wiki/HexDecoder `HexDecoder`can parse the following formats: ``` "0xFF, 0xEE, 0xDD, 0xCC, 0xBB, 0xAA, 0x99, 0x88, 0x77, 0x66, 0x55, 0x44, 0x33, 0x22, 0x11, 0x00" "0xFF 0xEE 0xDD 0xCC 0xBB 0xAA 0x99 0x88 0x77 0x66 0x55 0x44 0x33...
HexDecoder Bug
https://api.github.com/repos/weidai11/cryptopp/issues/1117/comments
3
2022-04-23T23:11:08Z
2022-06-03T00:04:49Z
https://github.com/weidai11/cryptopp/issues/1117
1,213,475,105
1,117
[ "weidai11", "cryptopp" ]
The [`CPUID64` function in `x64dll.asm`](https://github.com/weidai11/cryptopp/blob/master/x64dll.asm#L1999) modifies a nonvolatile register (`rbx`) but does not use `proc frame`. Sample fix: ``` CPUID64 PROC FRAME ;; preserve per ABI mov [rsp+8], rbx .savereg rbx, 8 .endprolog ;; eax = func ...
CPUID64 assembly noncompliant with Windows x64 ABI
https://api.github.com/repos/weidai11/cryptopp/issues/1116/comments
5
2022-04-06T01:15:39Z
2023-06-25T20:50:25Z
https://github.com/weidai11/cryptopp/issues/1116
1,193,890,150
1,116
[ "weidai11", "cryptopp" ]
This is another new issue. Running the test suite on an old PowerMac with Debian Sid installed in a debug build: ``` (gdb) r v Starting program: /home/jwalton/cryptopp/cryptest.exe v [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/powerpc64-linux-gnu/libthread_db.so.1". ... ...
PowerMac and Illegal Instruction
https://api.github.com/repos/weidai11/cryptopp/issues/1115/comments
1
2022-03-29T23:04:03Z
2022-03-30T03:10:38Z
https://github.com/weidai11/cryptopp/issues/1115
1,185,566,260
1,115
[ "weidai11", "cryptopp" ]
I've been testing out the new clang++-14 compiler and gives a new warning in the RSA implementation (I'm using `-Werror` so it shows as an error): ``` rsa.cpp:162:20: error: use of bitwise '|' with boolean operands [-Werror,-Wbitwise-instead-of-logical] if (n.IsEven() || e.IsEven() | d.IsEven()) ...
clang++-14 warning
https://api.github.com/repos/weidai11/cryptopp/issues/1114/comments
2
2022-03-26T12:52:07Z
2022-03-26T13:11:26Z
https://github.com/weidai11/cryptopp/issues/1114
1,181,742,127
1,114
[ "weidai11", "cryptopp" ]
### State the operating system and version (Ubutnu 17 x86_64, Windows 7 Professional x64, etc) `iPhone Simulator x86_64` Compiled on: `Intel Mac Pro and Intel MacBook Pro, macOS BigSur 11.6` ### State the version of the Crypto++ library (Crypto++ 7.0, Master, etc) Crypto++ 8.6, also tried master ### State ...
SHA256 not working on x86_64 iPhone Simulator
https://api.github.com/repos/weidai11/cryptopp/issues/1113/comments
7
2022-03-24T20:43:16Z
2022-03-26T23:10:47Z
https://github.com/weidai11/cryptopp/issues/1113
1,180,034,527
1,113
[ "weidai11", "cryptopp" ]
This is a new break. Running the test suite on an old PowerMac with Debian Sid installed: ``` BLAKE2s validation suite running... passed algorithm name passed 65 hashes and keyed hashes BLAKE2b validation suite running... passed algorithm name Illegal instruction ``` Looking a bit further: `...
PowerMac and Illegal Instruction
https://api.github.com/repos/weidai11/cryptopp/issues/1112/comments
2
2022-03-21T11:50:09Z
2022-03-30T02:51:48Z
https://github.com/weidai11/cryptopp/issues/1112
1,175,271,094
1,112
[ "weidai11", "cryptopp" ]
Hi, I'm trying to implement [CKM_RSA_PKCS_PSS from PKCS#11](https://www.cryptsoft.com/pkcs11doc/v220/group__SEC__12__1__10__PKCS____1__RSA__PSS.html) using Cryptopp 8.6 but it seems that there is not a signer implementation in Cryptopp than can do exactly this. Botan implemented this mechanism with the [PSSR_Raw](htt...
Implementation of PKCS #1 RSA PSS with Cryptopp
https://api.github.com/repos/weidai11/cryptopp/issues/1111/comments
1
2022-03-18T08:43:46Z
2022-06-03T00:09:23Z
https://github.com/weidai11/cryptopp/issues/1111
1,173,339,890
1,111
[ "weidai11", "cryptopp" ]
I am using TEA decryption. I want to change the iterating times, but cannot find details of its document.
TEA Doc Need
https://api.github.com/repos/weidai11/cryptopp/issues/1110/comments
0
2022-03-12T18:30:46Z
2022-03-26T23:11:39Z
https://github.com/weidai11/cryptopp/issues/1110
1,167,363,567
1,110
[ "weidai11", "cryptopp" ]
After cloning `2ef3254fe1b2f57d4833b2c1ddb100874b41f4a7` the library can not be built on Cygwin, (and likely WSL and other linux like environments) ``` osrng.cpp: In constructor ‘CryptoPP::BlockingRng::BlockingRng()’: osrng.cpp:256:36: error: ‘O_NOFOLLOW’ was not declared in this scope 256 | const int fla...
Builds on Cygwin are broken after 2ef3254fe1b2f57d4833b2c1ddb100874b41f4a7
https://api.github.com/repos/weidai11/cryptopp/issues/1109/comments
1
2022-02-27T19:39:03Z
2022-02-27T21:29:42Z
https://github.com/weidai11/cryptopp/issues/1109
1,153,371,536
1,109
[ "weidai11", "cryptopp" ]
I am developing the .so file in visual studio. when i am trying to build the project it’s give the error which is below. below is my output log. ``` Build started... 1>------ Build started: Project: SharedObject2, Configuration: Debug ARM ------ 1>ANDROID_HOME=C:\\Microsoft\AndroidSDK\25 1>ANT_HOME=C:\Progra...
I phasing this "clang: error: no such file or directory: 'cryptlib.lib'" in visual studio.
https://api.github.com/repos/weidai11/cryptopp/issues/1108/comments
3
2022-02-25T12:36:14Z
2022-02-25T12:56:20Z
https://github.com/weidai11/cryptopp/issues/1108
1,150,396,832
1,108
[ "weidai11", "cryptopp" ]
### Crypto++ Issue Report * State the operating system and version (Ubutnu 17 x86_64, Windows 7 Professional x64, etc) OSX 12.1 * State the version of the Crypto++ library (Crypto++ 7.0, Master, etc) 8.6.0 * State how you built the library (Makefile, Cmake, distro, etc) make ; sudo make install * C...
Intermittent signature verification failure using ECC cryptography
https://api.github.com/repos/weidai11/cryptopp/issues/1107/comments
1
2022-02-18T22:19:31Z
2022-02-25T22:38:26Z
https://github.com/weidai11/cryptopp/issues/1107
1,143,858,266
1,107
[ "weidai11", "cryptopp" ]
Windows 10.0.19044 pro MSVC 2019 16.11.10 - IDE build WSDK 10.0.19041 cryptopp860 - static library target **problem: short CryptoPP::SipHash<> demo fails to compile** ``` #include <iostream> #include <cryptopp860/siphash.h> using SipHash64 = CryptoPP::SipHash<2, 4, false>; int main() { auto key = "123456...
msvc build error: siphash.h missing #include for seckey.h
https://api.github.com/repos/weidai11/cryptopp/issues/1105/comments
3
2022-02-12T02:16:21Z
2022-02-12T02:37:46Z
https://github.com/weidai11/cryptopp/issues/1105
1,133,529,283
1,105
[ "weidai11", "cryptopp" ]
I have used the crypto++ library in my project. when i am trying to build the solution then visual studio is give me this below errors for the cryptolib.h file. Build started... 1>------ Build started: Project: SharedObject1, Configuration: Debug ARM ------ 1>ANDROID_HOME=C:\\Microsoft\AndroidSDK\25 1>ANT_HOME=C...
I am phasing the error in cryptolib.h file which is part of crypto++ library.
https://api.github.com/repos/weidai11/cryptopp/issues/1104/comments
1
2022-02-09T07:59:38Z
2022-02-10T23:00:22Z
https://github.com/weidai11/cryptopp/issues/1104
1,128,178,175
1,104
[ "weidai11", "cryptopp" ]
This is probably not a major issue given it only occurs on a debug test on a depreciated function but I can't see it's been reported elsewhere Running Win10 64 pro Crypto latest (unmodified direct from git) = Library version (library): 870, header version (app): 870 Visual Studio 2022 *debug build* after opening v...
TestRandomPool asserts on VS2022 with a debug build
https://api.github.com/repos/weidai11/cryptopp/issues/1103/comments
2
2022-01-19T07:47:06Z
2022-02-14T16:12:31Z
https://github.com/weidai11/cryptopp/issues/1103
1,107,765,325
1,103
[ "weidai11", "cryptopp" ]
Details: https://github.com/cryfs/cryfs/issues/408 Trying to build CryFS 0.11.0 and 0.11.1 (which uses CryptoPP 8.5 and 8.6 respectively) fails on armel while CryFS 0.10.x (which uses CryptoPP 8.2) works fine. The error message is ``` ... [ 3%] Building CXX object vendor/cryptopp/vendor_cryptopp/CMakeFiles/c...
NEON intrinsics not available with the soft-float ABI
https://api.github.com/repos/weidai11/cryptopp/issues/1100/comments
4
2022-01-06T01:16:59Z
2022-02-12T02:42:46Z
https://github.com/weidai11/cryptopp/issues/1100
1,094,876,856
1,100
[ "weidai11", "cryptopp" ]
At [Commit b41f1f033bba](https://github.com/weidai11/cryptopp/commit/b41f1f033bba) we added `O_NOFOLLOW` to `open(/dev/urandom, flags)` calls to harden the non-blocking RNG on Unix & Linux. FreeBSD softlinks `/dev/urandom` to `/dev/random`, so the `open` calls failed. On FreeBSD, `arc4random` (and friends) uses a C...
FreeBSD link /dev/urandom → /dev/random
https://api.github.com/repos/weidai11/cryptopp/issues/1098/comments
1
2021-12-29T09:44:26Z
2021-12-31T14:21:45Z
https://github.com/weidai11/cryptopp/issues/1098
1,090,396,294
1,098
[ "weidai11", "cryptopp" ]
V8.6 of Cryptopp seems to be returning a wrong SHA1 value when used in release mode on ARM platforms on 64bit with Visual Studio. Speculation is that hardware acceleration on ARM is broken in some subtle way and hardware acceleration isn't used in debug mode. 32bit ARM compile is OK, Debug mode ARM compile is OK...
SHA1 returns wrong result on ARM release mode compile
https://api.github.com/repos/weidai11/cryptopp/issues/1096/comments
12
2021-12-24T05:36:50Z
2022-08-20T19:54:32Z
https://github.com/weidai11/cryptopp/issues/1096
1,088,162,832
1,096
[ "weidai11", "cryptopp" ]
Windows 10 Professional x64 Crypto++ 8.7.0 master Built using Visual Studio 2019 project "cryptdll" (part of the "crypttest" solution), debug & release After using the Visual Studio project to build the DLL, I then try to link to this Crypto++ DLL build in Qt Creator with: ``` cryptopp { DEFINES += USE_EN...
Using CryptoPP::ArraySource results in missing symbol CryptoPP::DEFAULT_CHANNEL
https://api.github.com/repos/weidai11/cryptopp/issues/1095/comments
1
2021-12-21T20:39:59Z
2021-12-21T20:45:09Z
https://github.com/weidai11/cryptopp/issues/1095
1,086,214,359
1,095
[ "weidai11", "cryptopp" ]
OS is Linux, distribution is Ubuntu Jammy and Debian Sid. cryptopp is official 8.6.0 Build is tried with Debian packaging tools, below Makefile is used. Failing compiler invocation is the following. ``` g++ -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -pthread -g -O2 -ffile-prefix-map=/home/gcs/compile/libcrypto++-8.6....
version 8.6.0 FTBFS on armhf
https://api.github.com/repos/weidai11/cryptopp/issues/1094/comments
11
2021-12-20T12:39:04Z
2022-02-12T03:16:20Z
https://github.com/weidai11/cryptopp/issues/1094
1,084,745,127
1,094
[ "weidai11", "cryptopp" ]
Executive Summary --- * OS - Windows 11 Home x64 * Version - Crypto++ 1.8.0#1 * Build - VCPKG * Error Message: ``` Unhandled exception at 0x7536EA32 in <name>.exe: Microsoft C++ exception: CryptoPP::FileStore::OpenErr at memory location 0x0058F83C. ``` --- Description --- This exception occurs in fi...
Unable to save file with PEM-Pack feature
https://api.github.com/repos/weidai11/cryptopp/issues/1089/comments
4
2021-11-28T00:09:31Z
2021-11-29T03:55:41Z
https://github.com/weidai11/cryptopp/issues/1089
1,065,147,440
1,089
[ "weidai11", "cryptopp" ]
Going from V7 to V8.6 resulted in a 36% loss of performance with AES. With an Intel Core i7-8700K, running 12 threads, performance was: * V7 of Crypto++: 4830 MB/sec * V8.6 of Crypto++: 3078 MB/sec This function was used: ```c++ CFB_Mode<AES>::Encryption cfbEncryption(AESKey, AESKey.size(), AESiv); cfbEncryp...
36% loss of performance with AES
https://api.github.com/repos/weidai11/cryptopp/issues/1088/comments
7
2021-11-22T06:24:16Z
2022-02-14T16:11:27Z
https://github.com/weidai11/cryptopp/issues/1088
1,059,744,221
1,088