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" ]
Add AVX and AVX2 detection.
Add AVX and AVX2 detection
https://api.github.com/repos/weidai11/cryptopp/issues/671/comments
1
2018-06-18T22:19:04Z
2018-06-18T22:50:16Z
https://github.com/weidai11/cryptopp/issues/671
333,454,918
671
[ "weidai11", "cryptopp" ]
Add LEA lightweight block cipher
Add LEA lightweight block cipher
https://api.github.com/repos/weidai11/cryptopp/issues/669/comments
1
2018-06-18T02:30:20Z
2018-06-18T02:44:45Z
https://github.com/weidai11/cryptopp/issues/669
333,116,655
669
[ "weidai11", "cryptopp" ]
I am using Crypto++ 7.0.0. If I decryptAES with the same key used as encryptAES, the result is as expected. However, if I use a different/wrong key, the exception is thrown: throw InvalidCiphertext("StreamTransformationFilter: invalid PKCS #7 block padding found"); I would appreciate if anyone can help. The ...
decryptAES with the incorrect key throws InvalidCiphertext("StreamTransformationFilter: invalid PKCS #7 block padding found");
https://api.github.com/repos/weidai11/cryptopp/issues/667/comments
1
2018-06-08T03:03:46Z
2018-06-08T03:51:14Z
https://github.com/weidai11/cryptopp/issues/667
330,503,459
667
[ "weidai11", "cryptopp" ]
### Crypto++ Issue with pump + aes and zip or without zip While using pump the output file is not the same as the input file after decryption. MD5 check of both files fails. I've tried many possible ways to go around this but it still always fails while setting false to `CryptoPP::FileSource file(inf, false/**S...
Pump() causing data corruption ?
https://api.github.com/repos/weidai11/cryptopp/issues/666/comments
2
2018-06-05T10:53:08Z
2018-06-08T08:04:35Z
https://github.com/weidai11/cryptopp/issues/666
329,403,052
666
[ "weidai11", "cryptopp" ]
#issue #663 point another trouble than only size, it's the class derived by Threefish512 and Threefish1024. It should derive from `Threefish_Info` instead of `Threefish_Base` else `Threefish512::BLOCKSIZE` and `Threefish1024::BLOCKSIZE` are not accessible. ``` line 72: class CRYPTOPP_NO_VTABLE Threefish256 : publ...
Threefish512::BLOCKSIZE and Threefish1024::BLOCKSIZE are not accessible
https://api.github.com/repos/weidai11/cryptopp/issues/664/comments
1
2018-06-03T07:27:37Z
2018-06-04T00:10:46Z
https://github.com/weidai11/cryptopp/issues/664
328,806,552
664
[ "weidai11", "cryptopp" ]
``` line 116 class CRYPTOPP_NO_VTABLE Threefish512 : public Threefish_Base<32> line 160 class CRYPTOPP_NO_VTABLE Threefish1024 : public Threefish_Base<32> ``` looking at declaration of Threefish256 ``` line 72 class CRYPTOPP_NO_VTABLE Threefish256 : public Threefish_Info<32> ``` it seems Threefish512 and ...
Crypto++ 7 threefish.h Threefish512 and Threefish1024 potential trouble on declaration
https://api.github.com/repos/weidai11/cryptopp/issues/663/comments
1
2018-05-30T18:36:58Z
2018-06-02T20:30:41Z
https://github.com/weidai11/cryptopp/issues/663
327,850,703
663
[ "weidai11", "cryptopp" ]
line 166 there is missing "public" for Kalyna512_Info access class Kalyna512 : Kalyna512_Info --> class Kalyna512 : public Kalyna512_Info
kalyna.h missing public access to Kalyna512_Info
https://api.github.com/repos/weidai11/cryptopp/issues/662/comments
1
2018-05-30T18:29:16Z
2018-06-02T20:54:08Z
https://github.com/weidai11/cryptopp/issues/662
327,848,138
662
[ "weidai11", "cryptopp" ]
Linux / gcc 4.5.2 / x64. Crypto++ 7.0.0 build with -O3 -fPIC -msse4 -maes -mpclmul --param inline-unit-growth=200. To reproduce this bug, run code: ``` CryptoPP::SHA512* p = new CryptoPP::SHA512 p->Restart(); // SIGSEGV here. The "state" argument of SHA512::InitState is 0x10 (wild pointer)! ``` If I build ...
Memory access violation (SIGSEGV) when try to call SHA512::Restart with dynamic linked library
https://api.github.com/repos/weidai11/cryptopp/issues/661/comments
6
2018-05-23T19:08:38Z
2018-07-20T17:17:41Z
https://github.com/weidai11/cryptopp/issues/661
325,836,260
661
[ "weidai11", "cryptopp" ]
`Deflator::IsolatedInitialize` is not called in the `Gzip::IsolatedInitialize` method. It should be called, otherwise the data is broken when we called the `Initialize` method and try to begin to compress another chunk of data. You can fix this bug by: ``` void Gzip::IsolatedInitialize(const NameValuePairs &para...
Gzip::IsolatedInitialize not propagate to its base class
https://api.github.com/repos/weidai11/cryptopp/issues/660/comments
2
2018-05-22T21:45:42Z
2018-07-11T21:11:32Z
https://github.com/weidai11/cryptopp/issues/660
325,474,793
660
[ "weidai11", "cryptopp" ]
Hi, cryptopp devels, Could you please consider cryptopp.pro for qmake build in attach? Highly appreciate for any comments or help. [cryptopp.pro.txt](https://github.com/weidai11/cryptopp/files/2005719/cryptopp.pro.txt)
qt build
https://api.github.com/repos/weidai11/cryptopp/issues/659/comments
4
2018-05-15T15:58:31Z
2018-06-02T20:54:41Z
https://github.com/weidai11/cryptopp/issues/659
323,281,964
659
[ "weidai11", "cryptopp" ]
I cannot use your library without compilation errors when using mingw. I am compiling this sample sample ``` #include "sha.h" #include "filters.h" #include "base64.h" std::string SHA256HashString(std::string aString){ std::string digest; CryptoPP::SHA256 hash; /*CryptoPP::StringSource foo(aStr...
cannot link cryptopp without linking errors for very simple project
https://api.github.com/repos/weidai11/cryptopp/issues/658/comments
2
2018-05-13T18:21:44Z
2020-07-20T21:17:33Z
https://github.com/weidai11/cryptopp/issues/658
322,615,926
658
[ "weidai11", "cryptopp" ]
I found two issues compiling Cryptopp 7.0.0 with gcc 8.1.0. Maybe I did not choose the right compilation options? The first one is in `rdrand.cpp`, there are two sections like this that 8.1.0 does not like: ``` #elif defined(GCC_RDRAND_ASM_AVAILABLE) && (CRYPTOPP_GCC_VERSION >= 40700) __asm__ __volatile__ ...
Mac OS X and Crypto++ 7.0.0 and gcc 8.1.0 compile issues
https://api.github.com/repos/weidai11/cryptopp/issues/657/comments
7
2018-05-13T10:48:03Z
2018-05-13T15:09:52Z
https://github.com/weidai11/cryptopp/issues/657
322,583,470
657
[ "weidai11", "cryptopp" ]
I started the build with make -j3, which goes on for a while but errors out at: > g++ -DNDEBUG -g2 -O3 -fPIC -pthread -pipe -c ppc-simd.cpp > In file included from ppc-simd.h:23:0, > from ppc-simd.cpp:28: > /usr/lib/gcc/powerpc64-unknown-linux-gnu/7.3.0/include/altivec.h:34:2: Fehler: #error Use ...
Building Crypto++ 7.0.0 fails on POWER4 ( PowerMac G5, Gentoo Linux 2.4.1, gcc 7.3.0)
https://api.github.com/repos/weidai11/cryptopp/issues/656/comments
17
2018-05-11T14:26:33Z
2018-12-06T07:26:20Z
https://github.com/weidai11/cryptopp/issues/656
322,316,793
656
[ "weidai11", "cryptopp" ]
Hi, Can you please add conditional to the build system to avoid installing the test program and the test data? The use case should be: 1. build 2. test 3. install (optional test prog/data) 4. test (if test prog/data is available) In most cases downstream runs the check during build and these files are not ...
Recipe to not install test program and test data
https://api.github.com/repos/weidai11/cryptopp/issues/653/comments
11
2018-05-03T12:11:02Z
2018-05-06T04:43:24Z
https://github.com/weidai11/cryptopp/issues/653
319,894,347
653
[ "weidai11", "cryptopp" ]
### Keccak256 and SHA3 not working as intended * State the operating system and version (Ubutnu 17 x86_64, Windows 7 Professional x64, etc) Mac OS * State the version of the Crypto++ library (Crypto++ 5.6.5, Master, etc) Crypto++ 7.0.0 * State how you built the library (Makefile, Cmake, distro, etc) Bazel ...
Keccak256 and SHA3 crash when input is 0 length
https://api.github.com/repos/weidai11/cryptopp/issues/652/comments
12
2018-05-03T08:52:14Z
2018-05-06T09:30:21Z
https://github.com/weidai11/cryptopp/issues/652
319,835,710
652
[ "weidai11", "cryptopp" ]
As the title says, everything failing to build. I have this code (below), and I'm not able to build it (logs below the code). I use CMake to create the Visual Studio solution file. I also tried version 6.1.0 and 6.0.0, same problem occurs. **Steps to build CryptoPP:** download CryptoPP source code (from website) -> ...
Hashing, encrypting, basically everything failing to build, except AES::DEFAULT_KEYLENGTH print to the console
https://api.github.com/repos/weidai11/cryptopp/issues/651/comments
2
2018-05-01T11:31:48Z
2018-05-01T17:27:51Z
https://github.com/weidai11/cryptopp/issues/651
319,176,568
651
[ "weidai11", "cryptopp" ]
Crypto++ 7.0.0, twice in gcm-simd.cpp: ANONYMOUS_NAMESPACE_BEGIN CRYPTOPP_ALIGN_DATA(16) const word64 s_clmulConstants64[] = { W64LIT(0xe100000000000000), W64LIT(0xc200000000000000), // Used for ARM and x86; polynomial coefficients W64LIT(0x08090a0b0c0d0e0f), W64LIT(0x000102030...
s_clmulConstants should be declared "const"
https://api.github.com/repos/weidai11/cryptopp/issues/650/comments
2
2018-04-30T19:32:23Z
2018-05-08T01:23:34Z
https://github.com/weidai11/cryptopp/issues/650
319,007,742
650
[ "weidai11", "cryptopp" ]
### Crypto++ Issue Report Windows 7 - Windows 10 latest x64 Crypto++ 7.0.0 Compiled with Visual Studio 2017 latest version as of this writing (15.6.7) via cryptest.sln (Building everything exactly the same with Visual Studio 2013 version 12.0.40629.00 Update 5 or Visual Studio 2015 Update 3, this bug does not hap...
Windows and incorrect results for AES when used on CPUs without AES-NI
https://api.github.com/repos/weidai11/cryptopp/issues/649/comments
14
2018-04-30T16:19:22Z
2018-11-06T04:47:52Z
https://github.com/weidai11/cryptopp/issues/649
318,949,346
649
[ "weidai11", "cryptopp" ]
https://github.com/weidai11/cryptopp/blob/55071c49c1dfdbc0b85a1c604bcd2298f92fa61d/misc.h#L290 https://github.com/weidai11/cryptopp/blob/55071c49c1dfdbc0b85a1c604bcd2298f92fa61d/misc.h#L311 https://github.com/weidai11/cryptopp/blob/55071c49c1dfdbc0b85a1c604bcd2298f92fa61d/misc.h#L312 The third parameter `instance`...
Unused parameter in Singleton
https://api.github.com/repos/weidai11/cryptopp/issues/648/comments
3
2018-04-28T22:20:26Z
2018-05-06T04:37:34Z
https://github.com/weidai11/cryptopp/issues/648
318,672,833
648
[ "weidai11", "cryptopp" ]
With the WebAssembly (http://webassembly.org/) standard now officially released and support in all major browsers, it would be really awesome if we could officially compile cryptopp with the emscripten SDK to create wasm binaries. Im no expert on the matter, but it should not be any more complicated that supporting ...
Feature: WASM/emscripten support
https://api.github.com/repos/weidai11/cryptopp/issues/647/comments
4
2018-04-26T08:39:15Z
2018-06-10T17:45:57Z
https://github.com/weidai11/cryptopp/issues/647
317,930,122
647
[ "weidai11", "cryptopp" ]
I follow the guide of cross-compiling Crypto++ on the command line for Android. https://www.cryptopp.com/wiki/Android_(Command_Line), But I couldn't build successfully. Here's the errors. ``` In file included from /opt/android-ndk-r10e/sources/cxx-stl/gnu-libstdc++/4.9/include/bits/postypes.h:40:0, ...
Build failure on Android
https://api.github.com/repos/weidai11/cryptopp/issues/645/comments
3
2018-04-23T06:23:03Z
2018-04-26T11:11:31Z
https://github.com/weidai11/cryptopp/issues/645
316,677,113
645
[ "weidai11", "cryptopp" ]
OS: Win 8.1 Pro 64-bit Crypto++ Version: 7.0 / current master The issue I see is in the block cipher algorithms SIMON and SPECK. Here are 'ProcessAndXorBlock' and 'AdvancedProcessBlocks' inside the protected modifier of the class. IMO this should be public instead like in the class 'BlockTransformation'.
Access modifier in SIMON and SPECK
https://api.github.com/repos/weidai11/cryptopp/issues/643/comments
1
2018-04-19T07:47:38Z
2018-04-21T00:55:18Z
https://github.com/weidai11/cryptopp/issues/643
315,763,360
643
[ "weidai11", "cryptopp" ]
* Windows 8.1 x64, Windows Server 2016 * Crypto++ library - Master * Visual Studio 2017 * Running _crypttest_ after building the provided solution, `Debug|Win32` configuration After executing the first block in `ValidateRSA()` (lines 292-324) heap profiler showed 2 heap allocations still not freed. Another a...
Memory leak in ValidateRSA()
https://api.github.com/repos/weidai11/cryptopp/issues/642/comments
8
2018-04-16T12:33:55Z
2018-04-29T09:35:05Z
https://github.com/weidai11/cryptopp/issues/642
314,630,507
642
[ "weidai11", "cryptopp" ]
First of all, thank you very much for your great work. I found a performance issue in your scrypt implementation. If you run with multiple threads but set `parallelization` to 1 (parallelization < threads), OpenMP will allocate unnecessary memory. The problem is that you spawn x threads with `#pragma omp parallel ` and...
scrypt: unnecessary memory allocation
https://api.github.com/repos/weidai11/cryptopp/issues/641/comments
6
2018-04-14T09:43:32Z
2018-05-20T19:04:31Z
https://github.com/weidai11/cryptopp/issues/641
314,315,342
641
[ "weidai11", "cryptopp" ]
Lets assume, we want to test vector nr 5 given in https://www.cryptopp.com/w/images/3/3a/GCM-AEAD-Test.zip >KEY 404142434445464748494a4b4c4d4e4f505152535455565758595a5b5c5d5e5f >IV 101112131415161718191a1b >HDR 000102030405060708090a0b0c0d0e0f10111213 > PTX 202122232425262728292a2b2c2d2e2f3031323334353637 > CTX...
AES-256-GCM: How to fill in other Test-Examples
https://api.github.com/repos/weidai11/cryptopp/issues/639/comments
1
2018-04-12T12:39:41Z
2018-04-12T18:08:40Z
https://github.com/weidai11/cryptopp/issues/639
313,709,188
639
[ "weidai11", "cryptopp" ]
I'm trying to compile this test: https://www.cryptopp.com/w/images/3/3a/GCM-AEAD-Test.zip **Information for my directory** C(dir) ---cryptopp_include(dir) ------ all *.h from version 7.0 ------gcm_test(dir) --------- stdatfx.h and targetver.h ---lib(dir) ------- libcryptopp.a (buildwith gcc 5.6 on Ubuntu 16....
Compilation through g++ form MinGW and editing data for AEAD AES-256-GCM.
https://api.github.com/repos/weidai11/cryptopp/issues/638/comments
1
2018-04-12T09:56:28Z
2018-04-12T18:48:42Z
https://github.com/weidai11/cryptopp/issues/638
313,656,169
638
[ "weidai11", "cryptopp" ]
Clang is now the default NDK compiler for Android. Support for GCC has stopped. Looking at [Android (Command Line)](https://www.cryptopp.com/wiki/Android_(Command_Line)), it looks like there is no support to compile Crypto++ for Android using Clang. `setenv-android.sh` should support compiling with Clang. Also se...
CLang support for android
https://api.github.com/repos/weidai11/cryptopp/issues/637/comments
10
2018-04-12T06:39:32Z
2019-02-09T12:50:47Z
https://github.com/weidai11/cryptopp/issues/637
313,595,128
637
[ "weidai11", "cryptopp" ]
`c++ -c sha.cpp -arch i386` is failing to build with the following error: ``` sha.cpp:1005:5: error: invalid operand for instruction ASJ( jnz, 0, b) ^ ./cpu.h:623:23: note: expanded from macro 'ASJ' #define ASJ(x, y, z) GNU_ASJ(x, y, z) ^ ./cpu.h:617:27: note:...
OS X compile failures with Clang from Xcode 9.3 for 32-bit
https://api.github.com/repos/weidai11/cryptopp/issues/636/comments
13
2018-04-10T14:17:38Z
2018-05-15T17:32:30Z
https://github.com/weidai11/cryptopp/issues/636
312,943,607
636
[ "weidai11", "cryptopp" ]
When trying to build CryptoPP 6.1.0 as part of a static library in Xcode 9.3 I get the error message: `Invalid operand for instruction`. ( `sha.cpp`, lines 1005, 1008, 1039, 1050 ) This happens when building for the Simulator with release configuration and deployment target set to iOS 10.0 or below. I'm running...
Unable to build CrypoPP in release in Xcode 9.3
https://api.github.com/repos/weidai11/cryptopp/issues/635/comments
3
2018-04-05T09:19:07Z
2018-04-05T19:21:44Z
https://github.com/weidai11/cryptopp/issues/635
311,532,811
635
[ "weidai11", "cryptopp" ]
`cryptlib.h` puts the following in an anonymous namespace: const NullNameValuePairs s_nullNameValuePairs; We should not use anonymous namespaces in header files. This is labelled as an enhancement only because we have not gotten a warning from a tool. We sidestepped trouble because of the header guard. The...
Don't use anonymous namespace for s_nullNameValuePairs
https://api.github.com/repos/weidai11/cryptopp/issues/631/comments
0
2018-04-02T07:09:37Z
2018-04-02T09:24:59Z
https://github.com/weidai11/cryptopp/issues/631
310,413,980
631
[ "weidai11", "cryptopp" ]
Several algorithms, like CryptoBox and Scrpyt, require access to the core Salsa20 transform. The current Crypto++ code does not lend itself to disgorging the Salsa20 cipher from the Salsa20 core transformation. We have two options. First we need a function that uses `Salsa20::Encryption` that is *also* a firend so i...
Add Salsa20_Core transform
https://api.github.com/repos/weidai11/cryptopp/issues/630/comments
0
2018-04-02T06:57:51Z
2018-04-02T07:55:05Z
https://github.com/weidai11/cryptopp/issues/630
310,411,911
630
[ "weidai11", "cryptopp" ]
Add scrypt key derivation function
Add scrypt key derivation function
https://api.github.com/repos/weidai11/cryptopp/issues/613/comments
1
2018-03-31T05:53:58Z
2018-04-01T10:55:15Z
https://github.com/weidai11/cryptopp/issues/613
310,215,446
613
[ "weidai11", "cryptopp" ]
This has been a long time coming... We have not really moved forward into the newer password hashing algorithms because we lacked the infrastructure to do so. In the old days we only needed to manage salts and iteration counts. Nowadays we have several additional parameters, like hardness factors. The additional par...
Add KeyDerivationFunction interface
https://api.github.com/repos/weidai11/cryptopp/issues/610/comments
9
2018-03-28T19:15:49Z
2018-03-30T18:12:45Z
https://github.com/weidai11/cryptopp/issues/610
309,495,501
610
[ "weidai11", "cryptopp" ]
The NaCl gear uses signed words in some places to help with const-time-ness. The types include `int32_t` and `int64_t`. This presents a small problem because we don't have typedefs set up for `signed word32` and `signed word64`. Usually we can just include `<stdint.h>` to `<cstdint>` and get the types. However, Micr...
Add typedefs for int32_t and int64_t types
https://api.github.com/repos/weidai11/cryptopp/issues/609/comments
1
2018-03-28T00:17:57Z
2018-03-28T02:56:31Z
https://github.com/weidai11/cryptopp/issues/609
309,177,791
609
[ "weidai11", "cryptopp" ]
Based on [cryptopp610 compilation issue in Visual Studio 2010](https://groups.google.com/d/msg/cryptopp-users/2adounqeh-E/5iN3ti8MBQAJ) from the mailing list. Windows 7, Visual Studio 2010: ``` > nmake /f cryptest.nmake cl.exe /nologo /W4 /wd4511 /wd4156 /D_MBCS /Zi /TP /GR /EHsc /DNDEBUG /D _NDEBUG /Oi /...
Windows 7, Visual Studio 2010, and "error C2065: uint32_t: undeclared identifier"
https://api.github.com/repos/weidai11/cryptopp/issues/608/comments
1
2018-03-27T23:08:56Z
2018-03-28T18:49:50Z
https://github.com/weidai11/cryptopp/issues/608
309,165,153
608
[ "weidai11", "cryptopp" ]
Windows 10 Pro 64-bit; vcpkg; version 5.6.5-1; VS2015 I've just updated my vcpkg libraries and when I link to Cryptopp I'm getting this linker error: ``` 2>cryptopp-static.lib(integer.obj) : error LNK2019: unresolved external symbol ___std_reverse_trivially_swappable_1 referenced in function "public: __thiscall...
Linker error under vcpkg
https://api.github.com/repos/weidai11/cryptopp/issues/606/comments
8
2018-03-26T10:03:00Z
2018-10-29T15:28:09Z
https://github.com/weidai11/cryptopp/issues/606
308,507,526
606
[ "weidai11", "cryptopp" ]
This issue was privately reported in an email: ``` $ cat test.cxx #include "integer.h" #include <iostream> int main(int argc, char* argv[]) { using namespace CryptoPP; Integer x = 0; Integer y = 1; Integer z = a_exp_b_mod_c(y, y, x); std::cout << x << std::endl; return 0; ...
Incorrect result when using a_exp_b_mod_c
https://api.github.com/repos/weidai11/cryptopp/issues/604/comments
1
2018-03-25T23:15:33Z
2018-03-25T23:57:55Z
https://github.com/weidai11/cryptopp/issues/604
308,395,641
604
[ "weidai11", "cryptopp" ]
This issue was privately reported in an email: ``` $ cat test.cxx #include "integer.h" #include "nbtheory.h" #include <iostream> int main(int argc, char* argv[]) { using namespace CryptoPP; Integer a("0x2F0500010000018000000000001C1C000000000000000A000B0000000000000000000000000000FDFFFFFF00000000...
Incorrect result when using Integer::ModInverse
https://api.github.com/repos/weidai11/cryptopp/issues/602/comments
6
2018-03-24T11:55:03Z
2018-05-02T16:07:17Z
https://github.com/weidai11/cryptopp/issues/602
308,255,259
602
[ "weidai11", "cryptopp" ]
Can i recommand a new Blockcipher and my code?
Can i recommand a new Blockcipher and my code?
https://api.github.com/repos/weidai11/cryptopp/issues/601/comments
1
2018-03-21T06:42:26Z
2018-03-22T06:57:17Z
https://github.com/weidai11/cryptopp/issues/601
307,134,006
601
[ "weidai11", "cryptopp" ]
I'm trying to include Crypto++ headers to my static lib project, but as soon as I include any of them I get an error during compiling. > Error C7510 'forward': use of dependent type name must be prefixed with 'typename' in file secblock.h line 82. I've downloaded Crypto++ 6.1 and use Visual Studio 2017 on Windows...
Error: 'forward': use of dependent type name must be prefixed with 'typename'
https://api.github.com/repos/weidai11/cryptopp/issues/599/comments
18
2018-03-14T10:57:52Z
2018-03-16T14:43:18Z
https://github.com/weidai11/cryptopp/issues/599
305,110,770
599
[ "weidai11", "cryptopp" ]
Testing on GCC202: ``` $ ./cryptest.exe tv aria Using seed: 1520538558 Testing SymmetricCipher algorithm ARIA/ECB. ...... Testing SymmetricCipher algorithm ARIA/CBC. ... Testing SymmetricCipher algorithm ARIA/CTR. Bus error ```
Bus Error when running ARIA/CTR on Sparc64
https://api.github.com/repos/weidai11/cryptopp/issues/597/comments
1
2018-03-08T19:50:11Z
2018-03-09T01:16:08Z
https://github.com/weidai11/cryptopp/issues/597
303,608,581
597
[ "weidai11", "cryptopp" ]
msvc 15, 17 and gcc 5.4 64bit compilers crypto versions 5.6.5 and 6.1 built via cmake on gcc 5.6.5 and vs projects on 5.6.5 and 6.1 - though changing runtime library to /MD Please see attached project for example code to induce failure on windows. The failure may not occur on the first run, but running the appli...
Calling multiple ZlibDecompressor in parallel causes adler32 checksum failure
https://api.github.com/repos/weidai11/cryptopp/issues/596/comments
21
2018-03-07T11:43:52Z
2018-03-25T00:32:04Z
https://github.com/weidai11/cryptopp/issues/596
303,066,545
596
[ "weidai11", "cryptopp" ]
I'm cross-compiling `CRYPTOPP_6_1_0` tarball on mingw-w64. Everything compiled successfully. But when I try lauching cryptest.exe, it just give segfault at `dynamic_cast` which pointed to this file: https://github.com/weidai11/cryptopp/blob/53ccd310b8b3ce1b1cc79d125b85420bfb7c8682/test.cpp#L154-L156 I compiled wi...
cryptest: segfault which pointed to 'dynamic_cast'
https://api.github.com/repos/weidai11/cryptopp/issues/593/comments
8
2018-03-02T13:02:51Z
2018-03-09T11:51:09Z
https://github.com/weidai11/cryptopp/issues/593
301,759,414
593
[ "weidai11", "cryptopp" ]
I'm using MacOS 10.13.3 and getting this error when compiling with `g++ main.ccp -lcryptopp`: ``` ld: symbol(s) not found for architecture x86_64 clang: error: linker command failed with exit code 1 (use -v to see invocation ``` I found the issue in the GNUmakefile in line 86: ``` # Sun Studio 12.0 provide...
Compile-Error under MacOS
https://api.github.com/repos/weidai11/cryptopp/issues/592/comments
7
2018-02-25T14:32:58Z
2018-02-27T18:07:34Z
https://github.com/weidai11/cryptopp/issues/592
300,030,668
592
[ "weidai11", "cryptopp" ]
I use Visual Studio 2017 (msvc15) under Windows 10 and Crypto++ 6.10. I get the following linker warning: ``` Warning C4742: '`string'' has different alignment in '\cryptopp\mqueue.cpp' and 'foo\bar.cpp': 1 and 2 ``` I know that is the Microsoft compiler problem and I reported it to them. But I also know why ...
Compiler warning due to different string alignments in mqueue.cpp code
https://api.github.com/repos/weidai11/cryptopp/issues/591/comments
5
2018-02-24T17:31:42Z
2018-02-24T22:02:04Z
https://github.com/weidai11/cryptopp/issues/591
299,957,454
591
[ "weidai11", "cryptopp" ]
We have access to GCC 8, which has not been released yet. We are using the daily snapshot dated 20182002. It is producing a noisy compile: ``` algparam.h:313:32: warning: ‘bool std::uncaught_exception()’ is deprecated [-Wdeprecated-declarations] if (!std::uncaught_exception()) ^...
GCC 8 and bool std::uncaught_exception() is deprecated
https://api.github.com/repos/weidai11/cryptopp/issues/590/comments
1
2018-02-21T11:18:07Z
2018-02-23T02:50:27Z
https://github.com/weidai11/cryptopp/issues/590
298,931,044
590
[ "weidai11", "cryptopp" ]
### Crypto++ Issue Report The cryptopp compilation succeeded once a little fix is made: ``` sed -i -e 's/-mcpu=power4//' GNUmakefile ``` Prevent an error at aria-simd.cpp compile: ``` type_traits:347:39: error: '__float128' was not declared in this scope ``` Here is the full log: * https://kojipkgs....
Tests failure with cryptopp 6.0.0 on ppc64le
https://api.github.com/repos/weidai11/cryptopp/issues/588/comments
12
2018-02-19T18:32:40Z
2018-02-23T09:19:51Z
https://github.com/weidai11/cryptopp/issues/588
298,368,112
588
[ "weidai11", "cryptopp" ]
The Linux kernel added Speck-64 and Speck-128 for opportunistic encryption on low resource devices that would otherwise have to disable encryption on the file system. Also see [[PATCH v2 0/5] crypto: Speck support](https://www.mail-archive.com/linux-crypto@vger.kernel.org/msg30925.html) on the kernel-crypto mailing lis...
Speck, Android and Linux kernel interop
https://api.github.com/repos/weidai11/cryptopp/issues/585/comments
3
2018-02-13T10:18:14Z
2018-02-19T20:38:33Z
https://github.com/weidai11/cryptopp/issues/585
296,682,764
585
[ "weidai11", "cryptopp" ]
``` hikey:cryptopp$ CXXFLAGS="-DNDEBUG -g2 -O3 -mabi=ilp32" make cryptlib.o g++ -DNDEBUG -g2 -O3 -mabi=ilp32 -fPIC -pthread -pipe -c cryptlib.cpp In file included from filters.h:18:0, from cryptlib.cpp:20: secblock.h: In instantiation of ‘const size_type CryptoPP::SecBlock<unsigned char>::ELEMS_MA...
Aarch64, -mabi=ilp32 and Warning: large integer implicitly truncated to unsigned type
https://api.github.com/repos/weidai11/cryptopp/issues/584/comments
2
2018-02-06T00:39:13Z
2018-02-13T10:24:28Z
https://github.com/weidai11/cryptopp/issues/584
294,592,485
584
[ "weidai11", "cryptopp" ]
System : WIndows 10 Home x64 Crypto++ : Crypto++ 6 I built the library using by running the cryptest.sln which was successful by using MS VS community 2017 15.5.6. All what I want to do is to run the [CCM example file ](https://www.cryptopp.com/w/images/9/98/CCM-AE-Test.zip) which was provided [here ](https://ww...
LINK : fatal error LNK1181: cannot open input file 'cryptlibd.lib'
https://api.github.com/repos/weidai11/cryptopp/issues/583/comments
1
2018-02-05T14:14:42Z
2018-02-05T14:32:07Z
https://github.com/weidai11/cryptopp/issues/583
294,407,009
583
[ "weidai11", "cryptopp" ]
Our makefiles use the following recipe to install programs (just an excerpt): ``` install: @-$(MKDIR) -p $(DESTDIR)$(INCLUDEDIR)/cryptopp $(CP) *.h $(DESTDIR)$(INCLUDEDIR)/cryptopp -$(CHMOD) 0755 $(DESTDIR)$(INCLUDEDIR)/cryptopp -$(CHMOD) 0644 $(DESTDIR)$(INCLUDEDIR)/cryptopp/*.h ``` We can ...
Use install program in Makefiles
https://api.github.com/repos/weidai11/cryptopp/issues/582/comments
1
2018-02-05T13:41:17Z
2018-02-05T14:14:01Z
https://github.com/weidai11/cryptopp/issues/582
294,396,248
582
[ "weidai11", "cryptopp" ]
[Conan](https://www.conan.io/) is the most popular C++ package manager which allows libraries to be consumed very easily. It is build system agnostic so you can still build Crypto++ using Make but Conan will generate necessary glue for other build systems such as CMake. You only need to create `conanfile.py` with in...
Provide Conan package
https://api.github.com/repos/weidai11/cryptopp/issues/581/comments
2
2018-02-05T06:53:47Z
2018-02-13T10:37:43Z
https://github.com/weidai11/cryptopp/issues/581
294,290,593
581
[ "weidai11", "cryptopp" ]
From Kovri [Build 323](https://build.getmonero.org/builders/kovri-static-openbsd-amd64/builds/323/steps/compile/logs/stdio): ``` ... eg++ -DNDEBUG -g2 -O3 -fPIC -DCRYPTOPP_DISABLE_SSE4 -pthread -pipe -c serpent.cpp eg++ -DNDEBUG -g2 -O3 -fPIC -DCRYPTOPP_DISABLE_SSE4 -pthread -pipe -c sha-simd.cpp In file include...
Failed build on OpenBSD with eg++ compiler
https://api.github.com/repos/weidai11/cryptopp/issues/579/comments
1
2018-01-30T15:46:51Z
2018-01-30T15:48:18Z
https://github.com/weidai11/cryptopp/issues/579
292,831,936
579
[ "weidai11", "cryptopp" ]
Working on Debian X32, running `cryptest.exe v 51`: ``` (gdb) r v 51 Starting program: /cryptopp/cryptest.exe v 51 warning: linux_ptrace_test_ret_to_nx: Cannot PTRACE_PEEKUSER: Input/output error [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/x86_64-linux-gnux32/libthread_db...
Crash in SHA-384 and SHA-512 on X32 platforms
https://api.github.com/repos/weidai11/cryptopp/issues/578/comments
1
2018-01-28T16:32:54Z
2018-01-28T17:06:18Z
https://github.com/weidai11/cryptopp/issues/578
292,217,892
578
[ "weidai11", "cryptopp" ]
I am building crypto++ 6.0.0 for Arch Linux, and noticed that the new SIMD files are *not* built with the needed flags (`-msse4.1`, `-maes`, etc) by default. These flags should be enabled unconditionally: - these flags are necessary (otherwise, build errors occur, like mentioned in the release notes or #573 ); -...
Instruction set compilation flags should always be enabled for SIMD implementations
https://api.github.com/repos/weidai11/cryptopp/issues/576/comments
4
2018-01-27T16:25:23Z
2018-01-27T19:47:33Z
https://github.com/weidai11/cryptopp/issues/576
292,132,759
576
[ "weidai11", "cryptopp" ]
Complete system/build information: https://build.getmonero.org/builders/kovri-all-win32/builds/768/steps/compile/logs/stdio TL;DR: - Tag `CRYPTOPP_6_0_0` - `i686-w64-mingw32` - `gcc 6.2.0` - `make CXXFLAGS="-march=native -DCRYPTOPP_NO_CPU_FEATURE_PROBES=1" static` ``` In file included from C:/msys32/min...
i686-w64-mingw32: sha-simd: error: inlining failed in call to always_inline '__m128i _mm_sha1nexte_epu32(__m128i, __m128i)'
https://api.github.com/repos/weidai11/cryptopp/issues/573/comments
30
2018-01-24T17:01:52Z
2018-09-11T22:02:59Z
https://github.com/weidai11/cryptopp/issues/573
291,285,309
573
[ "weidai11", "cryptopp" ]
Reason: more entropy Difficulty: pretty easy Risk: minimal **TODO:** - [x] determine best way to split a 384-bit hash into a 256-bit key + 128-bit seed - [x] determine whether any other instances of SHA256 could benefit from a similar upgrade - [x] determine whether any other code is affected negatively - [x...
Upgrade RandomPool IncorporateEntropy from SHA-256 to SHA-384
https://api.github.com/repos/weidai11/cryptopp/issues/572/comments
3
2018-01-24T04:57:16Z
2018-02-06T03:54:03Z
https://github.com/weidai11/cryptopp/issues/572
291,084,722
572
[ "weidai11", "cryptopp" ]
Currently DSA and DSA2 use 1024 as the default modulus size. This will track changing the size to 2048. This change should have occurred prior to the Crypto++ 6.0 release. Better late then never, I suppose.
Change default DSA modulus size to 2048
https://api.github.com/repos/weidai11/cryptopp/issues/571/comments
1
2018-01-23T18:16:52Z
2018-01-23T18:44:45Z
https://github.com/weidai11/cryptopp/issues/571
290,942,122
571
[ "weidai11", "cryptopp" ]
Travis is having infrastructure problems since it migrated in November 2017. Our OS X and iOS tests hang for days. When the current job hangs, new jobs that enter the queue later hang too because the original job is still waiting. The subsequent hangs effect Android and Linux, too. Our Travis scripts test Android, L...
Disable Travis OS X and iOS testing
https://api.github.com/repos/weidai11/cryptopp/issues/570/comments
1
2018-01-21T15:57:17Z
2018-04-01T06:39:39Z
https://github.com/weidai11/cryptopp/issues/570
290,283,240
570
[ "weidai11", "cryptopp" ]
`AsymmetricAlgorithm::BERDecode` and `AsymmetricAlgorithm::DEREncode` were deprecated at Crypto++ 5.6.0 from 2009. The notes say: ``` //! for backwards compatibility, calls AccessMaterial().Load(bt) void BERDecode(BufferedTransformation &bt) {AccessMaterial().Load(bt);} //! for backwards compatibility, calls...
Remove AsymmetricAlgorithm::BERDecode
https://api.github.com/repos/weidai11/cryptopp/issues/569/comments
1
2018-01-21T13:28:00Z
2018-01-21T14:02:25Z
https://github.com/weidai11/cryptopp/issues/569
290,272,809
569
[ "weidai11", "cryptopp" ]
We are still catching compile failures when including `<arm_acle.h>` for NEON and ARMv8 instrinsics. ACLE is *"ARM C Language Extensions"* and it is the canonical reference. ARM's [ACLE 1.0](https://static.docs.arm.com/100739/0100/acle_extensions_for_armv8_m_100739_0100_0100_en.pdf) is pretty straightforward and it sho...
Improve logic for <arm_acle.h> include
https://api.github.com/repos/weidai11/cryptopp/issues/568/comments
1
2018-01-20T15:06:05Z
2018-01-20T18:29:42Z
https://github.com/weidai11/cryptopp/issues/568
290,198,544
568
[ "weidai11", "cryptopp" ]
The `ElGamalKeys` class uses a Crypto++ 1.0 or 2.0 serialization format: ``` struct ElGamalKeys { typedef DL_CryptoKeys_GFP::GroupParameters GroupParameters; typedef DL_PrivateKey_GFP_OldFormat<DL_CryptoKeys_GFP::PrivateKey> PrivateKey; typedef DL_PublicKey_GFP_OldFormat<DL_CryptoKeys_GFP::PublicK...
Remove DL_PrivateKey_GFP_OldFormat
https://api.github.com/repos/weidai11/cryptopp/issues/567/comments
1
2018-01-19T12:41:54Z
2018-01-19T13:09:20Z
https://github.com/weidai11/cryptopp/issues/567
289,963,642
567
[ "weidai11", "cryptopp" ]
* State the operating system and version (Ubutnu 17 x86_64, Windows 7 Professional x64, etc) * State the version of the Crypto++ library (Crypto++ 5.6.5, Master, etc) * State how you built the library (Makefile, Cmake, distro, etc) * Show a typical command line (the output of the compiler for cryptlib.cpp) * Show t...
Cross Compile for ARM Failure
https://api.github.com/repos/weidai11/cryptopp/issues/565/comments
15
2018-01-16T17:13:53Z
2018-01-23T18:55:07Z
https://github.com/weidai11/cryptopp/issues/565
288,986,602
565
[ "weidai11", "cryptopp" ]
Our [Travis Asan test is now failing](https://travis-ci.org/noloader/cryptopp/jobs/328664087). The failure first surfaced at [Build #722](https://travis-ci.org/noloader/cryptopp/builds/328664082). It uses Clang 5.0 on Linux. ``` ... Testing KDF algorithm HKDF(SHA-1). .... Testing KDF algorithm HKDF(SHA-256). .....
LeakSanitizer crash on Travis
https://api.github.com/repos/weidai11/cryptopp/issues/564/comments
4
2018-01-14T13:09:16Z
2018-02-03T16:26:59Z
https://github.com/weidai11/cryptopp/issues/564
288,407,359
564
[ "weidai11", "cryptopp" ]
Does anybody know why I'm getting this error? [https://pastebin.com/YeGA4dgN](https://pastebin.com/YeGA4dgN) I just want make fingerprint of a file and put it into string. ``` CryptoPP::SHA256 sha256Hasher; CryptoPP::FileSource createFileFingerprint(filePath.c_str(), true, new CryptoPP::HashFilter(sha256Hasher, n...
Undefined reference to BufferedTransformation
https://api.github.com/repos/weidai11/cryptopp/issues/563/comments
0
2018-01-13T11:00:39Z
2018-01-13T14:19:23Z
https://github.com/weidai11/cryptopp/issues/563
288,320,469
563
[ "weidai11", "cryptopp" ]
>State the operating system and version (Ubutnu 17 x86_64, Windows 7 Professional x64, etc) `FreeBSD freebsd 10.3-RELEASE-p11 FreeBSD 10.3-RELEASE-p11 #0: Mon Oct 24 18:49:24 UTC 2016 root@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC amd64` >State the version of the Crypto++ library (Crypto++ 5...
FreeBSD/Clang++38: AlgorithmParameters/MakeParameters throws when used
https://api.github.com/repos/weidai11/cryptopp/issues/562/comments
28
2018-01-12T00:55:08Z
2018-02-02T15:00:17Z
https://github.com/weidai11/cryptopp/issues/562
287,975,436
562
[ "weidai11", "cryptopp" ]
@noloader, Please forgive me in advance if this issue should go to the mailing list but: 1. this issue is more of a request than a question 2. there is no cryptopp project/meta repo 3. https://github.com/weidai11/cryptopp/ doesn't offer an issues page 4. email (at least for me) can be unreliable On the noti...
[Request] Donation option + bug bounty option
https://api.github.com/repos/weidai11/cryptopp/issues/561/comments
5
2018-01-11T03:55:30Z
2018-08-18T12:19:38Z
https://github.com/weidai11/cryptopp/issues/561
287,656,138
561
[ "weidai11", "cryptopp" ]
There are a few places where 5.6.5 has problems with the changes in C++17. I've been compiling on a recent (self built from current head) of clang (so using libc++). There are two main problems: * The addition of `std::byte` causes some confusion in a couple of places. * `std::bind2nd` has been removed I'm happy...
C++17 support
https://api.github.com/repos/weidai11/cryptopp/issues/558/comments
11
2018-01-06T05:04:46Z
2018-01-13T15:52:08Z
https://github.com/weidai11/cryptopp/issues/558
286,460,088
558
[ "weidai11", "cryptopp" ]
This is fairly trivial, but I thought I'd mention it anyway. Where pointer values are being put into the oss ostringstream in fipstest.cpp, the output has two lots of 0x (at least, it does when built with MinGW). For example: ``` Crypto++ DLL integrity check may fail. Expected module base address is **0x0x**429000...
Minor debug text output issue - duplicated 0x in pointer values
https://api.github.com/repos/weidai11/cryptopp/issues/557/comments
5
2018-01-05T17:03:57Z
2018-01-06T00:00:56Z
https://github.com/weidai11/cryptopp/issues/557
286,346,994
557
[ "weidai11", "cryptopp" ]
Hi. I want cross-compile my project, that use CryptoPP using [MXE](http://mxe.cc/) (MinGW). The problem is **std::byte**, which is C++17 functionality. Since MXE only supports C++11 I need some alternative. The key generation and encryption looks something like this: ``` byte key[32]; randomGenerator.GenerateBloc...
How to generate AES key if I can't use std::byte since I can't use C++17?
https://api.github.com/repos/weidai11/cryptopp/issues/556/comments
1
2018-01-02T17:20:45Z
2018-01-02T22:49:41Z
https://github.com/weidai11/cryptopp/issues/556
285,487,065
556
[ "weidai11", "cryptopp" ]
Hello CryptoPP mantainers: maybe it's already been answered already, but I haven't found it anywhere: why does CyproPP's makefile not enable compiler warnings? Some header files give warnings If I `#include` them, mostly signed and unsigned comparisons. I've seen that you have started fixing warnings in commit 5f08...
Enable compiler warnings
https://api.github.com/repos/weidai11/cryptopp/issues/555/comments
8
2018-01-02T08:50:32Z
2018-01-04T13:13:32Z
https://github.com/weidai11/cryptopp/issues/555
285,379,650
555
[ "weidai11", "cryptopp" ]
Hello, I'm experiencing a compilation error with master, `commit `1a7f19cdde7c84c88f96c5a5125447a9f4df0025. I've tried dropping to `-O2` as suggested in #553 but it does not fix the error. I just compiled with `make `and the compilation aborted in `gcm-simd.cpp`. Here is the error ``` $ make g++ -DNDEBUG -g...
Compilation error with g++: impossible register constraint in ‘asm’
https://api.github.com/repos/weidai11/cryptopp/issues/554/comments
7
2018-01-02T08:48:32Z
2018-01-10T13:37:27Z
https://github.com/weidai11/cryptopp/issues/554
285,379,350
554
[ "weidai11", "cryptopp" ]
It looks like XLC is miscompiling SM3 at `-O3`. Dropping back to `-O2` is OK. ``` $ ./cryptest.exe tv sm3 Using seed: 1514680217 Testing MessageDigest algorithm SM3. AlgorithmType: MessageDigest Comment: Appendix B, test vector 1 Digest: 66c7f0f4 62eeedd9 d1f2d46b dc10e4e2 4167c487 5cf2f7a2 297da02b 8f4ba8e0...
XLC and SM3 failed self tests at -O3
https://api.github.com/repos/weidai11/cryptopp/issues/553/comments
1
2017-12-31T00:33:10Z
2018-01-22T21:57:57Z
https://github.com/weidai11/cryptopp/issues/553
285,232,305
553
[ "weidai11", "cryptopp" ]
We got GCC 5.4 installed on Solaris 11.3 according to [Where is GCC-5 after installing it on Solaris 11?](https://unix.stackexchange.com/q/339296/56041) It looks like a new compiler is available, but an old assembler is still being used. ``` $ g++ --version g++ (GCC) 5.4.0 ... $ gmake ... g++ -DNDEBUG -g2 -O...
Solaris i86pc, GCC 5.4 and Error: no such instruction: `sha1rnds4 $0,%xmm0,%xmm7'
https://api.github.com/repos/weidai11/cryptopp/issues/551/comments
1
2017-12-28T19:23:08Z
2017-12-29T00:18:55Z
https://github.com/weidai11/cryptopp/issues/551
284,975,014
551
[ "weidai11", "cryptopp" ]
Since moving to VS2017 with Crypto++ compiled through vcpkg I've started to see a memory leak. Crypto++ is statically linked into a DLL which is loaded by the main program. One of the leaks has this call stack when I load the DLL when running a unit test: ``` ntdll.dll!RtlAllocateHeap 771113b0 ucrtbase.dll!malloc_...
Memory leak in Singleton::Ref()?
https://api.github.com/repos/weidai11/cryptopp/issues/550/comments
11
2017-12-19T16:06:52Z
2018-05-04T18:10:11Z
https://github.com/weidai11/cryptopp/issues/550
283,283,910
550
[ "weidai11", "cryptopp" ]
`adv-simd.h` has code to process multiple blocks at a time using SSE, NEON or Altivec. During decryption things sometimes run in reverse, including the walk of the buffers. The code to accomplish a negative stride looks like so: ``` const size_t blockSize = 16; size_t inIncrement = (flags & (BT_InBlockIsCo...
Clang 5.0 UBsan finding
https://api.github.com/repos/weidai11/cryptopp/issues/549/comments
1
2017-12-16T20:00:14Z
2017-12-16T23:26:53Z
https://github.com/weidai11/cryptopp/issues/549
282,646,680
549
[ "weidai11", "cryptopp" ]
Testing on Pine64 dev-board, HiKey dev-board and GCC118 from the compile farm shows the following results. GCC118, which is powered by an AMD chip, runs at 2.0 GHz. NEON/ASIMD was initially disable due to Cortex-A57 and slow word rotates (see [Issue 367](http://github.com/weidai11/cryptopp/issues/367)), which caused...
Enable NEON on Aarch32/Aarch64 for Simon and Speck
https://api.github.com/repos/weidai11/cryptopp/issues/545/comments
1
2017-12-05T17:56:14Z
2017-12-05T23:56:27Z
https://github.com/weidai11/cryptopp/issues/545
279,471,449
545
[ "weidai11", "cryptopp" ]
When cross-compiling for android, one can set the API to build against by using `AOSP_API`. This sets up the system root as well include paths. However, for the latest NDK (r16) there are 2 Problems with the script: 1. You don't set the `__ANDROID_API__` for the `AOSP_FLAGS`! This needs to be set to the api version ...
Missing compile/link flags on Android
https://api.github.com/repos/weidai11/cryptopp/issues/544/comments
3
2017-12-05T15:25:31Z
2018-01-21T14:05:35Z
https://github.com/weidai11/cryptopp/issues/544
279,415,721
544
[ "weidai11", "cryptopp" ]
Here is the full finding: ``` $ make valgrind ... $ valgrind --track-origins=yes ./cryptest.exe tv salsa ... Using seed: 1511955526 Testing SymmetricCipher algorithm Salsa20. ......==7615== Conditional jump or move depends on uninitialised value(s) ==7615== at 0x4C34C26: __memcmp_sse4_1 (vg_replace_st...
Valgrind, Salsa20 and "Conditional jump or move depends on uninitialised value"
https://api.github.com/repos/weidai11/cryptopp/issues/543/comments
2
2017-11-29T11:40:29Z
2017-11-29T12:37:45Z
https://github.com/weidai11/cryptopp/issues/543
277,723,274
543
[ "weidai11", "cryptopp" ]
SM2 is a 4-part Chinese national standard for public key algorithms, including digital signatures and elliptic curves. See [SM2 Digital Signature Algorithm](https://tools.ietf.org/html/draft-shen-sm2-ecdsa-02). We recently received some private emails asking for several Chinese algorithms. The email also pointed out US...
Add SM2 public key and elliptic curve algorithms
https://api.github.com/repos/weidai11/cryptopp/issues/542/comments
3
2017-11-25T10:00:17Z
2019-03-31T14:36:35Z
https://github.com/weidai11/cryptopp/issues/542
276,739,772
542
[ "weidai11", "cryptopp" ]
SM3 is a Chinese national hash function. See [SM3 Hash function](https://tools.ietf.org/html/draft-shen-sm3-hash). We recently received some private emails asking for several Chinese algorithms. The email also pointed out US and some European algorithms have good coverage in the library.
Add SM3 hash function
https://api.github.com/repos/weidai11/cryptopp/issues/541/comments
2
2017-11-24T00:41:45Z
2017-11-24T11:16:19Z
https://github.com/weidai11/cryptopp/issues/541
276,490,308
541
[ "weidai11", "cryptopp" ]
SM4 (formerly SMS4) is a Chinese national block cipher. See [SMS4 Encryption Algorithm for Wireless Networks](https://eprint.iacr.org/2008/329.pdf). We recently received some private emails asking for several Chinese algorithms. The email also pointed out US and some European algorithms have good coverage in the librar...
Add SM4 block cipher
https://api.github.com/repos/weidai11/cryptopp/issues/540/comments
1
2017-11-23T15:27:04Z
2018-07-13T13:12:58Z
https://github.com/weidai11/cryptopp/issues/540
276,411,521
540
[ "weidai11", "cryptopp" ]
See [The SIMON and SPECK Families of Lightweight Block Ciphers](https://eprint.iacr.org/2013/404.pdf) by Ray Beaulieu, Douglas Shors, Jason Smith, Stefan Treatman-Clark, Bryan Weeks, Louis Wingers. Additional sample code is available at [Noloader | Simon-and-Speck](https://github.com/noloader/Simon-and-Speck). The `...
Add SIMON-64 and SIMON-128 block ciphers
https://api.github.com/repos/weidai11/cryptopp/issues/539/comments
1
2017-11-21T09:57:34Z
2017-12-03T11:48:12Z
https://github.com/weidai11/cryptopp/issues/539
275,649,397
539
[ "weidai11", "cryptopp" ]
See [The SIMON and SPECK Families of Lightweight Block Ciphers](https://eprint.iacr.org/2013/404.pdf) by Ray Beaulieu, Douglas Shors, Jason Smith, Stefan Treatman-Clark, Bryan Weeks, Louis Wingers. Additional sample code is available at [Noloader | Simon-and-Speck](https://github.com/noloader/Simon-and-Speck). The `...
Add SPECK-64 and SPECK-128 block ciphers
https://api.github.com/repos/weidai11/cryptopp/issues/538/comments
1
2017-11-20T11:28:58Z
2017-12-03T11:49:25Z
https://github.com/weidai11/cryptopp/issues/538
275,323,113
538
[ "weidai11", "cryptopp" ]
/usr/local/cryptopp565/filters.h:1000:64: error: extra ';' [-Wpedantic] DOCUMENTED_TYPEDEF(StringSinkTemplate<std::string>, StringSink); ^ /usr/local/cryptopp565/filters.h:1284:46: error: extra ';' [-Wpedantic] DOCUMENTED_TYPEDEF(StringSource, ArrayS...
More semicolons to remove for gcc-7.2.0 -pedantic compatibility
https://api.github.com/repos/weidai11/cryptopp/issues/537/comments
1
2017-11-20T01:03:53Z
2017-11-20T02:42:08Z
https://github.com/weidai11/cryptopp/issues/537
275,210,885
537
[ "weidai11", "cryptopp" ]
the new version do not support cmake? i can not find the CMakelist.txt file in the new version
the new version do not support cmake?
https://api.github.com/repos/weidai11/cryptopp/issues/536/comments
1
2017-11-19T04:16:47Z
2017-11-19T07:39:26Z
https://github.com/weidai11/cryptopp/issues/536
275,130,930
536
[ "weidai11", "cryptopp" ]
Users have been having trouble with variable block sizes in practice. The problem is the implementation, and I think the root cause is a bad fit under the current library design. Reported problems on the mailing list include [Threefish-1024 IV specification issue/documentation...or bug?](https://groups.google.com/forum...
Remove variable block size support for block ciphers
https://api.github.com/repos/weidai11/cryptopp/issues/535/comments
0
2017-11-17T03:04:20Z
2018-01-19T01:27:51Z
https://github.com/weidai11/cryptopp/issues/535
274,737,121
535
[ "weidai11", "cryptopp" ]
``` std::string decoded2; std::string first_20="1ACC64E9510C32CE8E34"; StringSource ssv(first_20, true /*pumpAll*/, new HexDecoder( new StringSink(decoded2) ) // HexDecoder ); // StringSource boost::algorithm::to_lower(decoded2); StringSource ss( decoded2, true, new Base32Encoder( ...
Why doesn't this give correct result
https://api.github.com/repos/weidai11/cryptopp/issues/534/comments
6
2017-11-16T08:14:05Z
2017-11-16T09:03:17Z
https://github.com/weidai11/cryptopp/issues/534
274,428,134
534
[ "weidai11", "cryptopp" ]
It looks like RSA broke somewhere along the line on OS X 10.9 with Apple Clang 6.0 on a Core2 Duo MacBook (x86_64). The issue is present with `libcryptopp.dylib` but not with `libcryptopp.a`. I went back to [Issue 517,Add SHA3 OIDs for signature schemes](https://github.com/weidai11/cryptopp/issues/517) (actually, 1 ...
OS X 10.9, Clang 6.0 and RSA signature failures when using libcryptopp.dylib
https://api.github.com/repos/weidai11/cryptopp/issues/533/comments
2
2017-11-12T23:26:08Z
2017-12-26T03:40:25Z
https://github.com/weidai11/cryptopp/issues/533
273,275,855
533
[ "weidai11", "cryptopp" ]
aes.h contains: DOCUMENTED_TYPEDEF(Rijndael, AES); Which expands into something ending in two ';'. gcc 7.2.0 -Wall -Wextra hates it... Thanks, Vincent
aes.h double semicolon
https://api.github.com/repos/weidai11/cryptopp/issues/532/comments
1
2017-11-10T21:22:50Z
2017-11-12T06:31:55Z
https://github.com/weidai11/cryptopp/issues/532
273,063,778
532
[ "weidai11", "cryptopp" ]
When building crypto++ with the default GNUmakefile and these parameters: ``` CXXFLAGS = -DNDEBUG -Os -s -fvisibility=hidden -ffunction-sections -fdata-sections -fPIC -arch ppc -arch i386 -arch x86_64 -isysroot/Developer/SDKs/MacOSX10.5.sdk -DMACOSX_DEPLOYMENT_TARGET=10.5 -mmacosx-version-min=10.5 LDFLAGS += -Wl...
Mac OS X 10.6 (g++) link failures
https://api.github.com/repos/weidai11/cryptopp/issues/530/comments
2
2017-11-06T17:44:54Z
2017-11-13T15:44:25Z
https://github.com/weidai11/cryptopp/issues/530
271,562,300
530
[ "weidai11", "cryptopp" ]
Around Crypto++ 5.6.3 we started adding C++11 and above support. It has been modest, like using C++11's `alignof` and `alignas` instead of platform specific features like `declspec` and `__attribute__`. One area that has been painful is threading and synchronization. Some older compilers claim to be a version of C++...
Add CRYPTOPP_NO_CXX11 for old compilers
https://api.github.com/repos/weidai11/cryptopp/issues/529/comments
2
2017-11-06T12:16:22Z
2017-11-06T14:14:03Z
https://github.com/weidai11/cryptopp/issues/529
271,455,795
529
[ "weidai11", "cryptopp" ]
Hi, starting with commit c50f2f23d8b8f45d0bb7e4c438b8ec41d4e49e6b I get the following link error: ``` g++ -o cryptest.exe -DNDEBUG -g2 -O3 -fPIC -pthread -pipe adhoc.o test.o bench1.o bench2.o validat0.o validat1.o validat2.o validat3.o datatest.o regtest1.o regtest2.o regtest3.o dlltest.o fipsalgt.o ./libcryptopp.a...
Link error
https://api.github.com/repos/weidai11/cryptopp/issues/528/comments
2
2017-11-05T09:44:37Z
2017-11-05T10:28:00Z
https://github.com/weidai11/cryptopp/issues/528
271,262,228
528
[ "weidai11", "cryptopp" ]
I'm using Visual Studio 15.5 Preview 2.0 compiling on Release x64 with enabled default optimizations setting. With this configuration compilation of blake2.cpp goes forever... Only after disabling optimizations on this file, I managed to compile the library.. Edit: just tested Release x32 – infinite compilation t...
Infinite compilation time on blake2.cpp
https://api.github.com/repos/weidai11/cryptopp/issues/527/comments
19
2017-11-04T09:42:09Z
2017-12-30T20:23:31Z
https://github.com/weidai11/cryptopp/issues/527
271,179,673
527
[ "weidai11", "cryptopp" ]
I’m compiling cryptopp as a static library using clang on macOS with `-fvisibility=hidden` and the `visibility ("default")` attribute as [explained in the Wiki](https://www.cryptopp.com/wiki/Debug_Symbols#Symbol_visibility). The target application linking the library is also using hidden symbol visibility. This fixed m...
Linker warning due to global weak symbol access when using -fvisibility=hidden
https://api.github.com/repos/weidai11/cryptopp/issues/526/comments
4
2017-11-02T21:12:33Z
2017-11-17T15:21:08Z
https://github.com/weidai11/cryptopp/issues/526
270,809,069
526
[ "weidai11", "cryptopp" ]
I recently attempted to download and install Crypto++ 5.6.5 onto my Ubuntu 16.04 system using the directions provided in Readme.txt and Install.txt. However, if I specify CXXFLAGS on the command line when invoking `make`, as recommended in Install.txt, the build fails because `-fPIC` was not included in the compiler fl...
Setting CXXFLAGS on command line prevents Makefile from adding -fPIC
https://api.github.com/repos/weidai11/cryptopp/issues/525/comments
4
2017-10-31T19:50:26Z
2017-10-31T21:39:33Z
https://github.com/weidai11/cryptopp/issues/525
270,096,659
525
[ "weidai11", "cryptopp" ]
_Issue_ Compilation of a cpp file including the dll.h header results in an error, due to the #error directive. _Expected result_ Including dll.h should not result in a compilation error on linux, only on Windows _Explanation_ dll.h is only relevant to Windows systems (and possibly only the windows compiler cl....
Including dll.h on Linux raises an error
https://api.github.com/repos/weidai11/cryptopp/issues/524/comments
7
2017-10-30T10:10:20Z
2017-11-04T04:05:25Z
https://github.com/weidai11/cryptopp/issues/524
269,543,527
524
[ "weidai11", "cryptopp" ]
Hello, Creating a translation unit (via abi-compliance-checker https://lvc.github.io/abi-compliance-checker/) of all the header files from cryptopp yields the following error: abicc includes all headers in the same source file, in an apparently non-deterministic order, and this is the main reason for this error. ...
Does the #error directive in cryptopp/dll.h apply to non-windows systems?
https://api.github.com/repos/weidai11/cryptopp/issues/523/comments
2
2017-10-26T15:28:38Z
2017-10-29T09:21:04Z
https://github.com/weidai11/cryptopp/issues/523
268,806,612
523
[ "weidai11", "cryptopp" ]
https://circleci.com/gh/ethereum/cpp-ethereum/889 ``` ================================================================= ==15657==ERROR: AddressSanitizer: heap-buffer-overflow on address 0x60200000ab1c at pc 0x0001230bdb2a bp 0x7fff59f98700 sp 0x7fff59f97ea0 READ of size 16 at 0x60200000ab1c thread T0 #0 0x12...
heap-buffer-overflow in CryptoPP::ECP::SimultaneousMultiply()
https://api.github.com/repos/weidai11/cryptopp/issues/522/comments
17
2017-10-24T08:13:13Z
2017-11-12T04:25:56Z
https://github.com/weidai11/cryptopp/issues/522
267,936,831
522
[ "weidai11", "cryptopp" ]
This may be an error on my side, but I wrote a simple test program to test out the functions from cpu.h. https://github.com/selsta/kovri/blob/cpuid/src/util/cpuid.cc#L51 It prints the following which is obviously wrong: ``` [2017.10.12 22:07:28.277355] [0x00007fff8aa93340] [info] false [2017.10.12 22:07:28....
macOS: CpuId() returns false
https://api.github.com/repos/weidai11/cryptopp/issues/521/comments
2
2017-10-12T22:12:47Z
2017-10-13T06:48:17Z
https://github.com/weidai11/cryptopp/issues/521
265,105,117
521