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 SHAKE128 and SHAKE256. Also see [FIPS 202, SHA-3 Standard: Permutation-Based Hash and Extendable-Output Functions](https://nvlpubs.nist.gov/nistpubs/FIPS/NIST.FIPS.202.pdf) | Add SHAKE-128 and SHAKE-256 | https://api.github.com/repos/weidai11/cryptopp/issues/805/comments | 1 | 2019-02-13T00:15:55Z | 2019-02-13T04:18:29Z | https://github.com/weidai11/cryptopp/issues/805 | 409,562,841 | 805 |
[
"weidai11",
"cryptopp"
] | ### Crypto++ 8.0 Issue Report
The type uint8_t and int64_t not defined under old VC. So we need add following workaround to the head of this cpp file:
```C++
#if defined(_MSC_VER) && _MSC_VER < 1700
typedef unsigned char uint8_t;
typedef signed __int64 int64_t;
#endif
```
| donna_64.cpp failed to compile under VC2005 with x64 target | https://api.github.com/repos/weidai11/cryptopp/issues/802/comments | 1 | 2019-02-12T18:19:29Z | 2019-02-12T19:40:47Z | https://github.com/weidai11/cryptopp/issues/802 | 409,435,900 | 802 |
[
"weidai11",
"cryptopp"
] | ### Crypto++ 8.0 Issue Report
A method:
```C++
std::string AlgorithmProvider() const {return Panama<B>::AlgorithmProvider();}
```
Need to be added to the PanamaHash class, otherwise following code will produce a few of compiler errors:
```C++
HMAC<CryptoPP::Weak::PanamaHash<LittleEndian> > testL;
// or
HMAC<... | Missing method "AlgorithmProvider" on class "PanamaHash" | https://api.github.com/repos/weidai11/cryptopp/issues/801/comments | 2 | 2019-02-12T17:47:08Z | 2019-02-12T20:05:57Z | https://github.com/weidai11/cryptopp/issues/801 | 409,422,782 | 801 |
[
"weidai11",
"cryptopp"
] | ### Crypto++ 8.0 Issue Report
I think the old ChaCha8, ChaCha12 and ChaCha20 is better then current ChaCha with "Rounds" parameter, because:
1. New API need to setting up the rounds on every key reset. This usage is neither natural nor convenient, since the rounds is itself a fixed part of the algorithm, it is usu... | The old ChaCha8, ChaCha12 and ChaCha20 is better then current ChaCha with "Rounds" parameter | https://api.github.com/repos/weidai11/cryptopp/issues/800/comments | 3 | 2019-02-12T17:31:42Z | 2019-02-12T21:56:48Z | https://github.com/weidai11/cryptopp/issues/800 | 409,416,397 | 800 |
[
"weidai11",
"cryptopp"
] | ### Crypto++ Issue Report
Win10 1809 VS2017
Crypto++8.0
VS2017 build
CryptoPP::HexDecoder decode

| HexDecoder decode will cause exception on Win10 x64 | https://api.github.com/repos/weidai11/cryptopp/issues/799/comments | 2 | 2019-02-12T14:02:12Z | 2019-02-12T16:59:22Z | https://github.com/weidai11/cryptopp/issues/799 | 409,314,754 | 799 |
[
"weidai11",
"cryptopp"
] | Hi,
We are receiving crashes from our users in the cryptopp library. We have an iOS application, currently the app is linking with cryptopp version 8, to be more precise, we built cryptopp pointed to the commit: 982655845a784a9a4cfbc92221359a25a74184a3 using the setenv-ios.sh script.
The crash is not a new for us... | Crash in RandomPool::GenerateIntoBufferedTransformation | https://api.github.com/repos/weidai11/cryptopp/issues/798/comments | 8 | 2019-02-12T13:32:45Z | 2019-02-23T02:24:30Z | https://github.com/weidai11/cryptopp/issues/798 | 409,299,733 | 798 |
[
"weidai11",
"cryptopp"
] | Current ed25519 signing and verification does not lend itself to signing large messages, like a 4.4 GB file (a typical LiveCD ISO). Pre-hashing the message could allow existential forgeries, so we probably want to avoid letting users hash the message `M' = H(M)` and then using `M'` as the message to be signed or verifi... | ed25519 needs SignStream and VerifyStream functions | https://api.github.com/repos/weidai11/cryptopp/issues/796/comments | 0 | 2019-02-11T00:34:48Z | 2019-02-11T15:56:53Z | https://github.com/weidai11/cryptopp/issues/796 | 408,603,348 | 796 |
[
"weidai11",
"cryptopp"
] | Given a test file with just
static void foo() {}
`gcc -Wall` will print
warning: ‘void foo()’ defined but not used [-Wunused-function]
But if I add
#define CRYPTOPP_ENABLE_NAMESPACE_WEAK 1
#include <cryptopp/md5.h>
No waning is printed. This is because of the following in `cryptopp/co... | Including Crypto++ headers disables warnings | https://api.github.com/repos/weidai11/cryptopp/issues/793/comments | 5 | 2019-01-30T17:06:37Z | 2019-02-01T11:34:27Z | https://github.com/weidai11/cryptopp/issues/793 | 404,871,658 | 793 |
[
"weidai11",
"cryptopp"
] | 'length': unreferenced formal parameter chacha.cpp 382
'length': unreferenced formal parameter poly1305.cpp 315
'argument': conversion from 'size_t' to 'int', possible loss of data poly1305.cpp 212
| MSVC warnings | https://api.github.com/repos/weidai11/cryptopp/issues/792/comments | 0 | 2019-01-29T18:40:47Z | 2019-01-30T05:36:07Z | https://github.com/weidai11/cryptopp/issues/792 | 404,431,664 | 792 |
[
"weidai11",
"cryptopp"
] | ### Crypto++ Documentation Issue Report
When generation the documentation a number of warnings are issued:
```
trap.h:56: warning: explicit link request to 'if' could not be resolved
trap.h:59: warning: explicit link request to 'endif' could not be resolved
trap.h:131: warning: explicit link request to 'if' coul... | Warnings when generation documentation | https://api.github.com/repos/weidai11/cryptopp/issues/791/comments | 1 | 2019-01-27T15:10:21Z | 2019-02-01T00:47:39Z | https://github.com/weidai11/cryptopp/issues/791 | 403,560,860 | 791 |
[
"weidai11",
"cryptopp"
] | ChaCha and the IETF's ChaChaTLS are slightly different implementations. Each uses the ChaCha state variables slightly differently, which leads to two slightly different implementations. Two of the differences are:
* ChaCha uses two 32-bit words for a block counter
* ChaCha uses two 32-bit words for a nonce
* ChaCh... | ChaChaTLS results when counter block wraps | https://api.github.com/repos/weidai11/cryptopp/issues/790/comments | 1 | 2019-01-26T00:29:06Z | 2019-02-23T05:22:50Z | https://github.com/weidai11/cryptopp/issues/790 | 403,382,388 | 790 |
[
"weidai11",
"cryptopp"
] | ### Crypto++ Issue Report
OS: mac os 10.13.6 High Sierra
Crypto++ library Version: stable 8.0.0
Built the library: brew
I tried following the wiki to generate a signature and verify a message with it. Unfortunately it does not work. Any ideas? Is this a bug or am I doing sth wrong here?
Also tested on:
OS: ... | ECDSA signature verification examples from wiki do not work | https://api.github.com/repos/weidai11/cryptopp/issues/789/comments | 2 | 2019-01-25T12:41:59Z | 2019-01-26T01:17:19Z | https://github.com/weidai11/cryptopp/issues/789 | 403,142,066 | 789 |
[
"weidai11",
"cryptopp"
] | Here is my code:
```
int main(int argc, char *argv[]) {
CryptoPP::RabbitWithIV::Encryption enc;
CryptoPP::RabbitWithIV::Encryption dec;
uint8_t rabbitKey[16] = "012345678901234";
uint8_t rabbitIV[8] = "0123456";
enc.SetKeyWithIV(rabbitKey, 16, rabbitIV, 8);
dec.SetKeyWithIV(rabbitKey, 16, rabbitIV, 8);
... | [Rabbit] Decrypt same encrypted data multiple times results in different data | https://api.github.com/repos/weidai11/cryptopp/issues/788/comments | 2 | 2019-01-24T07:10:53Z | 2019-01-25T04:05:04Z | https://github.com/weidai11/cryptopp/issues/788 | 402,571,146 | 788 |
[
"weidai11",
"cryptopp"
] | The scrypt implementation uses OpenMP 3 features, but the MSVC compiler for Windows only supports OpenMP 2. This causes key derivation for [CryFS](https://github.com/cryfs/cryfs) on Windows to take quite a long time because it is only using one core. Is it possible to change the scrypt implementation to use OpenMP 2 fe... | scrypt needs OpenMP 3, MSVC only supports OpenMP 2 | https://api.github.com/repos/weidai11/cryptopp/issues/787/comments | 4 | 2019-01-20T21:55:10Z | 2019-01-22T09:30:45Z | https://github.com/weidai11/cryptopp/issues/787 | 401,143,317 | 787 |
[
"weidai11",
"cryptopp"
] | crypto++8.0.0 release
macOS 10.14.2, Xcode 10.1
$ clang --version
Apple LLVM version 10.0.0 (clang-1000.11.45.5)
Target: x86_64-apple-darwin18.2.0
Cmake (from cryptopp-cmake project) static lib
$ cmake --version
cmake version 3.12.2
This may be related to #772
crypto++7 built fine
```
cryptopp/crc_... | 8.0 fails to build on Xcode 10 | https://api.github.com/repos/weidai11/cryptopp/issues/786/comments | 3 | 2019-01-17T23:15:19Z | 2019-01-18T14:45:06Z | https://github.com/weidai11/cryptopp/issues/786 | 400,504,647 | 786 |
[
"weidai11",
"cryptopp"
] | There appears to be a bug in ECDH with secp160r1 in release 8.0, as illustrated below:
CryptoPP::ECDH<CryptoPP::ECP>::Domain ecdh((CryptoPP::ASN1::secp160r1());
cout << ecdh.PrivateKeyLength() << endl;
....prints 21, when I had expected 20. Other curves seem to behave correctly.
I am using VS2017 vers... | ECDH Private key length incorrect with secp160r1 | https://api.github.com/repos/weidai11/cryptopp/issues/785/comments | 3 | 2019-01-17T16:49:42Z | 2019-02-11T23:12:56Z | https://github.com/weidai11/cryptopp/issues/785 | 400,367,770 | 785 |
[
"weidai11",
"cryptopp"
] | Intel published a paper on using carryless multiplies to speed up binary curves. See [Polynomial Multiplication Instruction and its Usage for Elliptic Curve Cryptography](https://www.intel.com/content/dam/www/public/us/en/documents/white-papers/polynomial-multiplication-instructions-paper.pdf).
The techniques apply ... | Use carryless multiplies for NIST b233 and k233 curves | https://api.github.com/repos/weidai11/cryptopp/issues/783/comments | 0 | 2019-01-16T04:55:57Z | 2019-01-16T05:15:38Z | https://github.com/weidai11/cryptopp/issues/783 | 399,647,612 | 783 |
[
"weidai11",
"cryptopp"
] | https://travis-ci.org/odant/conan-cryptopp/builds/480116204
Passed if add CXXFLAGS -DCRYPTOPP_DISABLE_ASM | 32-bits GCC/Linux debug build self test failures | https://api.github.com/repos/weidai11/cryptopp/issues/782/comments | 7 | 2019-01-15T23:40:54Z | 2019-01-24T06:36:05Z | https://github.com/weidai11/cryptopp/issues/782 | 399,584,502 | 782 |
[
"weidai11",
"cryptopp"
] | Builds on Windows seems to fail with an linker error when in recent versions of Crypto++, I have read the README.txt and could not find any further instructions on how to build it. As far as I know there my VS 2017 C++ setup is as standard as you can get.
* Windows 10.0.15063
* Building in Visual Studio 2017 15.9.5... | Crypto++ build error due to <stddef.h> on Windows | https://api.github.com/repos/weidai11/cryptopp/issues/781/comments | 7 | 2019-01-14T10:36:23Z | 2021-11-30T22:01:18Z | https://github.com/weidai11/cryptopp/issues/781 | 398,829,666 | 781 |
[
"weidai11",
"cryptopp"
] | We have a linker problem in the iPhone simulator with `master`. It works for devices but not for simulator. The problem is that for the simulator the flag `-DCRYPTOPP_DISABLE_ASM` is added to the compilation and then the flag `CRYPTOPP_BOOL_ALIGN16` is set to 0 in the `config.h`, so `CryptoPP::AlignedAllocate` and `Cry... | Undefined symbols for architecture x86_64 iPhone Simulator | https://api.github.com/repos/weidai11/cryptopp/issues/779/comments | 3 | 2019-01-11T14:11:12Z | 2019-01-11T21:44:33Z | https://github.com/weidai11/cryptopp/issues/779 | 398,304,388 | 779 |
[
"weidai11",
"cryptopp"
] | Do you think we can take care of these warning?
```
clang++ -DNDEBUG -g2 -O3 -fPIC -pipe -Wall -arch armv7 -isysroot "/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS12.1.sdk" -stdlib=libc++ -ffunction-sections -fdata-sections -c scrypt.cpp
scrypt.cpp:167:24: warning... | Compiler warnings on clang++ for archs armv7 and armv7s | https://api.github.com/repos/weidai11/cryptopp/issues/777/comments | 2 | 2019-01-09T18:54:10Z | 2019-01-10T18:15:41Z | https://github.com/weidai11/cryptopp/issues/777 | 397,507,812 | 777 |
[
"weidai11",
"cryptopp"
] | This is an open-ended report to track changes for Microsoft ARM and ARM64 compiles. Microsoft recently [released their ARM64 compiler](https://blogs.windows.com/buildingapps/2018/11/15/official-support-for-windows-10-on-arm-development/) (part of Visual Studio 15.9), so we can now test a compile and link. I'm trying to... | Compile failures using ARM and ARM64 with Microsoft tools | https://api.github.com/repos/weidai11/cryptopp/issues/776/comments | 5 | 2019-01-03T18:32:59Z | 2019-01-05T02:41:30Z | https://github.com/weidai11/cryptopp/issues/776 | 395,679,479 | 776 |
[
"weidai11",
"cryptopp"
] | Hi,
My goal is build `cryptopp` for `arm64`, `armv7s`, `armv7` and `x86_64` archs (iPhoneOS and iPhoneSimulator). And then create a fat static library using `lipo`.
Look like there is an issue in the `setenv-ios.sh`.
If you want build a static `cryptopp` library for `arm64`, `armv7s`, `armv6` or `armv5` archs,... | It is not possible build cryptopp for arm64, armv7s, armv6 or armv5 using the script "setenv-ios.sh" | https://api.github.com/repos/weidai11/cryptopp/issues/775/comments | 0 | 2019-01-03T17:31:43Z | 2019-01-05T01:21:38Z | https://github.com/weidai11/cryptopp/issues/775 | 395,660,924 | 775 |
[
"weidai11",
"cryptopp"
] | https://github.com/weidai11/cryptopp/blob/a79fe3a826727bb3bdb2c8d1e035335fe655ebca/osrng.h#L237
Declaration has more informative `additionalEntropy` instead of `input`.
https://github.com/weidai11/cryptopp/blob/a79fe3a826727bb3bdb2c8d1e035335fe655ebca/smartptr.h#L146
Declaration has `p` instead of `r` for a refere... | Argument declaration and definition mismatch. | https://api.github.com/repos/weidai11/cryptopp/issues/773/comments | 1 | 2019-01-03T05:17:25Z | 2019-01-04T02:05:01Z | https://github.com/weidai11/cryptopp/issues/773 | 395,459,223 | 773 |
[
"weidai11",
"cryptopp"
] | ### Crypto++ Issue Report
MacOS Mojave 10.14.2, Xcode-10.1. Current master.
Current tests do not seem to differentiate between `avx512f` and `avx512vl`, incorrectly assuming that if AVX512F has been detected then it is safe to use AVX512VL instructions:
```
. . . . .
clang++ -maes -mpclmul -msse2 -mssse3 -msse... | Current master fails to compile on AVX512F CPU | https://api.github.com/repos/weidai11/cryptopp/issues/772/comments | 7 | 2019-01-02T16:39:34Z | 2019-10-13T07:16:24Z | https://github.com/weidai11/cryptopp/issues/772 | 395,306,802 | 772 |
[
"weidai11",
"cryptopp"
] | Recent testing under SunCC results in:
```
"/opt/developerstudio12.5/lib/compilers/include/CC/Cstd/memory", line 479: Error: Too many arguments in call to "CryptoPP::AllocatorBase<unsigned char>::max_size() const".
"/opt/developerstudio12.5/lib/compilers/include/CC/Cstd/vector", line 387: Where: While instanti... | SunCC expects Allocator::max_size(size_type) member function | https://api.github.com/repos/weidai11/cryptopp/issues/770/comments | 0 | 2019-01-01T22:51:13Z | 2019-01-02T00:03:14Z | https://github.com/weidai11/cryptopp/issues/770 | 395,118,417 | 770 |
[
"weidai11",
"cryptopp"
] | It looks like 32-bit MinGW is failing self tests for LEA, SIMON, SPECK and SM4.
An example of a failure is shown below.
```
Testing SymmetricCipher algorithm SM4/ECB.
.....................
Testing SymmetricCipher algorithm SM4/CBC.
.......................
incorrectly encrypted: 9B195C61B03B3DF17F0A5C36C332A1... | 32-bit MinGW self test failures | https://api.github.com/repos/weidai11/cryptopp/issues/768/comments | 1 | 2018-12-27T22:26:03Z | 2019-01-16T20:22:23Z | https://github.com/weidai11/cryptopp/issues/768 | 394,500,413 | 768 |
[
"weidai11",
"cryptopp"
] | We have been dragging our feet on a curve25519 implementation. At [Pull Request 566](https://github.com/weidai11/cryptopp/pull/566) we added test code to allow us to cross-validate a real implementation, but we never provided the real implementation. The real implementation was delayed for various reasons, but one of t... | Add ed25519 for modern signatures | https://api.github.com/repos/weidai11/cryptopp/issues/764/comments | 0 | 2018-12-17T09:35:46Z | 2018-12-25T20:51:19Z | https://github.com/weidai11/cryptopp/issues/764 | 391,626,328 | 764 |
[
"weidai11",
"cryptopp"
] | I am trying to integrate Crypto++ in an Android project in Android Studio. The NDK component of my project is built using cmake, so I'm trying to integrate CryptoPP in the build process using CMake's `ExternalProject_Add`.
Our requirements are that we can build for Android using Windows as a host OS, and the current... | Building for Android using NDK not supported on Windows hosts | https://api.github.com/repos/weidai11/cryptopp/issues/763/comments | 9 | 2018-12-13T11:16:40Z | 2019-11-16T22:54:28Z | https://github.com/weidai11/cryptopp/issues/763 | 390,631,659 | 763 |
[
"weidai11",
"cryptopp"
] | We have been dragging our feet on a curve25519 implementation. At [Pull Request 566](https://github.com/weidai11/cryptopp/pull/566) we added test code to allow us to cross-validate a real implementation, but we never provided the real implementation. The real implementation was delayed for various reasons, but one of t... | Add curve25519 for modern key agreement | https://api.github.com/repos/weidai11/cryptopp/issues/761/comments | 0 | 2018-12-11T13:47:59Z | 2018-12-25T20:51:35Z | https://github.com/weidai11/cryptopp/issues/761 | 389,772,747 | 761 |
[
"weidai11",
"cryptopp"
] | Currently our self tests only work when run from the build directory. The behavior can be changed such that they run from the install directory, but then the self tests don't run from the build directory.
To accommodate both cases we need to check the install location and the build directory. However, Debian err'd o... | Make self-tests run after install by a typical user | https://api.github.com/repos/weidai11/cryptopp/issues/760/comments | 1 | 2018-12-07T13:21:08Z | 2018-12-07T17:47:56Z | https://github.com/weidai11/cryptopp/issues/760 | 388,652,325 | 760 |
[
"weidai11",
"cryptopp"
] | As reported on the mailing list at [Stream Cipher (Panama) & Decoder question](https://groups.google.com/d/msg/cryptopp-users/sHCHSjM7scY/PkcSbIo-DQAJ). The issue appears to affect builds where the inline assembly is engaged. GCC and MS have the issue, Clang does not have the issue. The issue is also present in Crypto+... | Incorrect result when resynchronizing Panama cipher | https://api.github.com/repos/weidai11/cryptopp/issues/758/comments | 3 | 2018-12-06T14:20:17Z | 2020-12-20T08:28:42Z | https://github.com/weidai11/cryptopp/issues/758 | 388,234,432 | 758 |
[
"weidai11",
"cryptopp"
] | `config.h` currently has a define called `CRYPTOPP_DISABLE_INTEL_ASM`. `CRYPTOPP_DISABLE_INTEL_ASM` is used for Clang because it cannot handle code that mixes Intel-style body with AT&T style assembler templates and positional arguments. The LLVM bug of interest is Issue 39895, [Error: unknown token in expression using... | Add CRYPTOPP_DISABLE_MIXED_ASM define and feature test | https://api.github.com/repos/weidai11/cryptopp/issues/756/comments | 0 | 2018-12-05T14:31:13Z | 2018-12-06T00:00:36Z | https://github.com/weidai11/cryptopp/issues/756 | 387,783,237 | 756 |
[
"weidai11",
"cryptopp"
] | The following is from Fedora 29 using Clang 6.
The `__attribute__ ((init_priority` is part of, for example, `const std::string DEFAULT_CHANNEL __attribute__ ((init_priority (CRYPTOPP_INIT_PRIORITY + 25))) = "";`. The full guard is around [`cryptlib.cpp : 1000`](https://github.com/weidai11/cryptopp/blob/master/cryptl... | Global Constructor Audit | https://api.github.com/repos/weidai11/cryptopp/issues/754/comments | 0 | 2018-12-04T08:35:38Z | 2018-12-05T12:37:53Z | https://github.com/weidai11/cryptopp/issues/754 | 387,173,153 | 754 |
[
"weidai11",
"cryptopp"
] | MacOS 10.14.1 Mojave. Xcode-10.1. Current master.
**Problem:** no appropriate tests for AVX512 extended instruction set.
**Symptoms**:
```
$ CXX=g++ make all test
Using testing flags: -maes -mpclmul -msse2 -mssse3 -msse4 -msse4.2 -mrdseed -mrdrnd -mavx2 -mavx512f -msha -std=gnu++17 -Os -Ofast -Wa,-q -DCRYPTOPP... | GNUmakefile fails to properly accommodate for AVX512f | https://api.github.com/repos/weidai11/cryptopp/issues/753/comments | 21 | 2018-12-03T17:22:02Z | 2019-10-13T07:16:47Z | https://github.com/weidai11/cryptopp/issues/753 | 386,921,591 | 753 |
[
"weidai11",
"cryptopp"
] | I'm testing on an old MacBook Pro from about 2011. It has OS X 10.8 and SSE4 but nothing higher. Using Macports Clang 6.0 for a compile:
```
$ CXX=/opt/local/bin/clang++-mp-6.0 make -j 5
/opt/local/bin/clang++-mp-6.0 ... -c cryptlib.cpp
/opt/local/bin/clang++-mp-6.0 ... -c cpu.cpp
...
/opt/local/bin/clang++-m... | SIGILL on older OS X with new Clang due to global ctor instructions | https://api.github.com/repos/weidai11/cryptopp/issues/751/comments | 7 | 2018-12-01T11:19:38Z | 2018-12-05T19:03:38Z | https://github.com/weidai11/cryptopp/issues/751 | 386,449,265 | 751 |
[
"weidai11",
"cryptopp"
] | We've been using the new ED25519 support on Crypto++, but unfortunately had to fork the files involved due to some API issues.
Right now the only way to derive the public key from the private one is with the [`crypto_sign_keypair`](https://github.com/weidai11/cryptopp/blob/master/tweetnacl.cpp#L739) function, which ... | ED25519 API design | https://api.github.com/repos/weidai11/cryptopp/issues/750/comments | 3 | 2018-11-29T06:47:20Z | 2018-11-30T10:03:45Z | https://github.com/weidai11/cryptopp/issues/750 | 385,592,792 | 750 |
[
"weidai11",
"cryptopp"
] | I'm working on GCC135, which is Power9. `cryptest.exe` is failing self tests for SIMON and SPECK. UBsan is generating findings for SIMON, SPECK and other algorithms. The findings are *`runtime error: signed integer overflow ...`*.
```
$ ./cryptest.exe tv speck
Using seed: 1543351592
Testing SymmetricCipher algo... | PowerPC, GCC 8.2 and failed self tests | https://api.github.com/repos/weidai11/cryptopp/issues/749/comments | 2 | 2018-11-27T21:24:34Z | 2018-12-10T16:05:00Z | https://github.com/weidai11/cryptopp/issues/749 | 384,992,261 | 749 |
[
"weidai11",
"cryptopp"
] | Power9 provides random numbers using `darn` instruction. This issue will track the addition of DARN for Power9. | Add Power9 Random Number Generator support | https://api.github.com/repos/weidai11/cryptopp/issues/747/comments | 0 | 2018-11-27T04:33:59Z | 2018-11-30T22:56:53Z | https://github.com/weidai11/cryptopp/issues/747 | 384,618,440 | 747 |
[
"weidai11",
"cryptopp"
] | * Windows 10, 1803, Russian language
* Latest stable version of Crypto++
* built using VS2017
```
std::string decrypt(const std::string& str_in, const std::string& key, const std::string& iv)
{
std::string str_out;
CryptoPP::CBC_Mode<CryptoPP::AES>::Decryption decryption((byte*)key.c_str(), key.length(), (by... | AES CBC Decrypt crashes on some machines | https://api.github.com/repos/weidai11/cryptopp/issues/746/comments | 2 | 2018-11-26T12:35:34Z | 2018-12-01T01:19:08Z | https://github.com/weidai11/cryptopp/issues/746 | 384,310,995 | 746 |
[
"weidai11",
"cryptopp"
] | A while back we were catching odd (and obscure) failures on lesser used platforms. Everything pointed to memory but we were not able to isolate or pinpoint the issue. Eventually we added an assert to `FixedSizeAllocatorWithCleanup` that verified `m_allocated` during deallocation:
```
void deallocate(void *ptr, size... | FixedSizeAllocatorWithCleanup is not always aligned as expected | https://api.github.com/repos/weidai11/cryptopp/issues/745/comments | 2 | 2018-11-22T04:01:01Z | 2018-12-05T23:54:37Z | https://github.com/weidai11/cryptopp/issues/745 | 383,372,875 | 745 |
[
"weidai11",
"cryptopp"
] | Hello everyone,
I'm trying to import a DER formated secp256k1 private key into my program.
The key was generated according to the [wiki](https://www.cryptopp.com/wiki/Keys_and_formats).
`openssl ecparam -name secp256k1 -genkey -param_enc explicit -outform DER -out key.txt`
Which generated [this file](https://... | Importing openssl-made secp256k1 private key fails | https://api.github.com/repos/weidai11/cryptopp/issues/744/comments | 1 | 2018-11-21T11:58:46Z | 2018-11-21T16:14:52Z | https://github.com/weidai11/cryptopp/issues/744 | 383,085,758 | 744 |
[
"weidai11",
"cryptopp"
] | BLAKE2s fails on GCC111, which is AIX 7.1 and XLC 12.01. Both hash and mac fails self tests.
```
$ oslevel -s
7100-03-02-1412
$ xlC -qversion
IBM XL C/C++ for AIX, V12.1 (5765-J02, 5725-C72)
Version: 12.01.0000.0000
```
In fact, the recent BLAKE2 rewrite from [Commit a65d55a3fd0b](https://github.com/weida... | BLAKE2s failure on AIX 7.1 and XLC 12.01 | https://api.github.com/repos/weidai11/cryptopp/issues/743/comments | 1 | 2018-11-21T05:23:08Z | 2018-11-25T06:47:32Z | https://github.com/weidai11/cryptopp/issues/743 | 382,960,226 | 743 |
[
"weidai11",
"cryptopp"
] | We were able to build LLVM Clang for PowerPC on GCC112 at the [GCC Compile Farm](https://cfarm.tetaneutral.net/machines/list/). LLVM Clang behaves differently than the Clang front-end for XLC, and requires non-trivial fixes.
This report will track the changes for LLVM Clang. | Add Clang 7.0 PowerPC support | https://api.github.com/repos/weidai11/cryptopp/issues/742/comments | 3 | 2018-11-18T08:59:22Z | 2018-11-25T05:34:05Z | https://github.com/weidai11/cryptopp/issues/742 | 381,941,736 | 742 |
[
"weidai11",
"cryptopp"
] | While working [Issue 656](https://github.com/weidai11/cryptopp/issues/656) it suddenly occurred to me... This *"bad result"* is not internationalized (from [GNUmake, around line 100](https://github.com/weidai11/cryptopp/blob/master/GNUmakefile#L102)):
```
BAD_RESULT="fatal|error|unknown|unrecognized|illegal|ignored... | Make-based cpu feature tests and language | https://api.github.com/repos/weidai11/cryptopp/issues/741/comments | 8 | 2018-11-18T04:29:59Z | 2018-12-01T13:17:57Z | https://github.com/weidai11/cryptopp/issues/741 | 381,927,604 | 741 |
[
"weidai11",
"cryptopp"
] | ### Crypto++ Issue Report
On the HexDecoder wiki page - https://www.cryptopp.com/wiki/HexDecoder
Section **"Decoding a String (Filter)"**
Code example is missing the `true /*pumpAll*/` as the second argument. Because of that, the code sample doesn't work. It should read:
```
StringSource ss(encoded, true /* pump... | Typo on HexDecoder help wiki page | https://api.github.com/repos/weidai11/cryptopp/issues/740/comments | 1 | 2018-11-17T01:00:55Z | 2018-11-17T01:21:40Z | https://github.com/weidai11/cryptopp/issues/740 | 381,810,620 | 740 |
[
"weidai11",
"cryptopp"
] | We have two issues in the error below. First, the AVX2 test failed. I believe the Makefile's `BAD_RESULT` expression _does not_ include *`no such instruction`*. Second, we fail to add `-Wa,-q` as expected.
```
$ CXX=/opt/local/bin/g++-mp-6 make
...
/opt/local/bin/g++-mp-6 -DNDEBUG -g2 -O3 -fPIC -pthread -pipe -ma... | Makefile not detecting Macport compiler after cutover to feature-based tests | https://api.github.com/repos/weidai11/cryptopp/issues/738/comments | 9 | 2018-11-11T18:19:22Z | 2018-11-13T17:00:54Z | https://github.com/weidai11/cryptopp/issues/738 | 379,548,493 | 738 |
[
"weidai11",
"cryptopp"
] | Filenames like `pp-simd.h` and `ppc-simd.cpp` cause some tools, like GDB, some trouble. It breaks filename autocomplete and makes it more difficult to perform symbol lookups.
This ticket will track a rename by replacing dashes with underscores. The rename will occur in two stages. First, the library will have the re... | Rename files with dashes to underscores | https://api.github.com/repos/weidai11/cryptopp/issues/736/comments | 1 | 2018-11-10T12:57:06Z | 2018-11-10T16:23:11Z | https://github.com/weidai11/cryptopp/issues/736 | 379,420,121 | 736 |
[
"weidai11",
"cryptopp"
] | This ticket will track the cut-in of ChaCha AVX2 implementation. There a little more to this cut-in because AVX2 is new territory. I think we have most of the issues sorted out, including old Linux and Solaris with down-level compilers and linkers.
At the moment AVX2 is failing on one case. The case is VS2017, x64, ... | Add ChaCha AVX2 implementation | https://api.github.com/repos/weidai11/cryptopp/issues/735/comments | 1 | 2018-11-08T20:48:54Z | 2018-11-10T13:55:20Z | https://github.com/weidai11/cryptopp/issues/735 | 378,910,614 | 735 |
[
"weidai11",
"cryptopp"
] | The Botan team uncovered an overflow bug in their ChaCha SIMD implementation. Crypto++ based its code on the Botan team's implementation and shared the bug.
The problem arose when the low-word counter wrapped and the high word counter was incremented. The counters themselves were OK; the problem was with an intermed... | Improve Salsa20 implementation and test cases | https://api.github.com/repos/weidai11/cryptopp/issues/734/comments | 1 | 2018-11-05T11:39:58Z | 2018-11-05T14:04:10Z | https://github.com/weidai11/cryptopp/issues/734 | 377,362,618 | 734 |
[
"weidai11",
"cryptopp"
] | The Botan team reworked their ChaCha20 SSE2 implementation. It is about 10% faster on Skylake. They also warned of a potential bug when a users seeks() to 2^32 blocks (256 GB). The issue occurs when overflow happens in an intermediate result (and not the code that adjusts the 64-bit state).
This report tracks three... | Improve ChaCha20 implementation and test cases | https://api.github.com/repos/weidai11/cryptopp/issues/732/comments | 1 | 2018-11-04T12:17:51Z | 2018-11-09T03:09:44Z | https://github.com/weidai11/cryptopp/issues/732 | 377,146,890 | 732 |
[
"weidai11",
"cryptopp"
] | This ticket will track the cut-in of BLAKE2s Power7 implementation. We have to be careful of this cut-in. It is profitable on little-endian machines, but not big-endian machines. Power7 runs slower than C++ on big endian machines.
And the numbers on GCC112, which is Power8, Linux and little-endian @3.4GHz:
| | MB... | Add BLAKE2s Power7 implementation | https://api.github.com/repos/weidai11/cryptopp/issues/731/comments | 1 | 2018-11-02T19:59:30Z | 2018-11-03T11:47:47Z | https://github.com/weidai11/cryptopp/issues/731 | 376,948,700 | 731 |
[
"weidai11",
"cryptopp"
] | This ticket will track the cut-in of BLAKE2b Power8 implementation.
And the numbers on GCC112, which is Power8, Linux and little-endian @3.4GHz:
| | MB/s | cpb |
| ------------- | ------------- | ------------- |
| GCC, C++ | 312 | 10.39 |
| GCC, Power8 | 405 | 8.01 |
| XLC, Power8 | 575 | 5.62 |
The nu... | Add BLAKE2b Power8 implementation | https://api.github.com/repos/weidai11/cryptopp/issues/729/comments | 1 | 2018-10-30T08:56:16Z | 2018-11-03T11:47:24Z | https://github.com/weidai11/cryptopp/issues/729 | 375,380,972 | 729 |
[
"weidai11",
"cryptopp"
] | `#define MX ((z>>5^y<<2)+(y>>3^z<<4))^((sum^y)+(m_k[(p&3)^e]^z))`
->
`#define MX (((z>>5^y<<2)+(y>>3^z<<4))^((sum^y)+(m_k[(p&3)^e]^z)))`
```
BTEA::Dec::ProcessAndXorBlock(...)
while (sum != 0)
```
->
```
do {} while (sum != 0);
// my machine BIG_ENDIAN_ORDER -> LITTLE_ENDIAN_ORDER
```
```
void test_t... | test btea | https://api.github.com/repos/weidai11/cryptopp/issues/728/comments | 3 | 2018-10-29T12:48:37Z | 2018-12-06T07:19:42Z | https://github.com/weidai11/cryptopp/issues/728 | 374,999,163 | 728 |
[
"weidai11",
"cryptopp"
] | Do you plan to add the `XChaCha20` cipher because the default cipher has only a 64-bit nonce? It should be a similar initialization as `XSalsa20` with the `HSalsa20` construction. A problem may be that it isn't standardized yet but it's implemented in other libraries such as `libsodium` and `go crypto`.
**References... | XChaCha20 support | https://api.github.com/repos/weidai11/cryptopp/issues/727/comments | 3 | 2018-10-25T22:24:23Z | 2019-02-06T09:14:58Z | https://github.com/weidai11/cryptopp/issues/727 | 374,156,839 | 727 |
[
"weidai11",
"cryptopp"
] | `ECB_Mode<BTEA>::Decryption decryption;`
Error C2385 : StaticAlgorithmName
> Thanks @ruijiexie,
>
> Cleared at [Commit daa07255ec8c](https://github.com/weidai11/cryptopp/commit/daa07255ec8c).
in modes.h
` inline unsigned int BlockSize() const
{
CRYPTOPP_ASSERT(m_register.size() > 0); //Error
retu... | BTEA Error | https://api.github.com/repos/weidai11/cryptopp/issues/726/comments | 1 | 2018-10-25T02:06:21Z | 2018-10-25T08:56:29Z | https://github.com/weidai11/cryptopp/issues/726 | 373,743,923 | 726 |
[
"weidai11",
"cryptopp"
] | Windows 10, Crypto++ 7.0, msvc2013 compiler.
This code produces no exception:
`CryptoPP::FileSource f( "myfile", true, new CryptoPP::SignatureVerificationFilter(CryptoPP::ECDSA<CryptoPP::ECP, CryptoPP::SHA256>::Verifier(key), NULL));`
This code produces Pure virtual function call exception:
```
Crypt... | Pure virtual function call exception | https://api.github.com/repos/weidai11/cryptopp/issues/725/comments | 4 | 2018-10-24T19:10:03Z | 2018-10-27T09:01:37Z | https://github.com/weidai11/cryptopp/issues/725 | 373,634,728 | 725 |
[
"weidai11",
"cryptopp"
] | cryptopp supports both chacha20 and poly1305, but there is no document for chacha20-poly1305. | Need chacha20-poly1305 AEAD support | https://api.github.com/repos/weidai11/cryptopp/issues/724/comments | 1 | 2018-10-21T15:29:46Z | 2019-01-28T13:53:20Z | https://github.com/weidai11/cryptopp/issues/724 | 372,326,507 | 724 |
[
"weidai11",
"cryptopp"
] | compile cryptopp have a error | https://api.github.com/repos/weidai11/cryptopp/issues/722/comments | 1 | 2018-10-17T00:23:06Z | 2018-10-18T01:08:37Z | https://github.com/weidai11/cryptopp/issues/722 | 370,849,881 | 722 | |
[
"weidai11",
"cryptopp"
] | First, thanks for contributing such an incredible library to the community - you rock.
I am statically linking against the master branch of cryptopp.
Currently compiling with `export CXXFLAGS="-Og -g"; make static`.
Running on Centos 7 (`Linux centosdev 3.10.0-862.14.4.el7.x86_64 #1 SMP Wed Sep 26 15:12:11 UTC 2... | SIGSEGV thrown by RandomNumberGenerator::DiscardBytes from current Master | https://api.github.com/repos/weidai11/cryptopp/issues/721/comments | 10 | 2018-10-16T17:11:32Z | 2018-10-25T06:02:33Z | https://github.com/weidai11/cryptopp/issues/721 | 370,712,951 | 721 |
[
"weidai11",
"cryptopp"
] | wiki service down | Wiki service down | https://api.github.com/repos/weidai11/cryptopp/issues/720/comments | 4 | 2018-10-13T13:20:03Z | 2018-10-20T09:17:31Z | https://github.com/weidai11/cryptopp/issues/720 | 369,801,649 | 720 |
[
"weidai11",
"cryptopp"
] | All versions of nacl sdk use the same buggy gcc 4.4.3 toolchain. When compiling C++ code, the compiler even crashes itself (SEGFAULT). But it still the only way to produce the nacl program (.nexe).
Fortunately, crypto++ does not encounter this problem. But there are some inline assembly code in x64 environment canno... | patch for the google native client (NaCl) target | https://api.github.com/repos/weidai11/cryptopp/issues/719/comments | 7 | 2018-09-29T19:47:35Z | 2018-10-20T10:32:58Z | https://github.com/weidai11/cryptopp/issues/719 | 365,161,719 | 719 |
[
"weidai11",
"cryptopp"
] | ### Crypto++ Issue Report **: Security Hole**
Hi , I think there's a mistake about crypto++ in memory allocation , every string we decrypt by cryptopp stores in memory and it never clean up itself , for example :
1. we have an AES encrypted code = "qDhMLeaughgJVzb4lnaCPJoSIXWUbahBTTQvPMJStbvYUvFCoNKeHCeaMfZQWJBpnC... | Crypto++ Memory Leak and Security Hole | https://api.github.com/repos/weidai11/cryptopp/issues/718/comments | 6 | 2018-09-24T22:12:10Z | 2018-09-25T10:32:13Z | https://github.com/weidai11/cryptopp/issues/718 | 363,339,659 | 718 |
[
"weidai11",
"cryptopp"
] | Hello, When I try compile my project with cryptopp static library there are happens some compile problems. I've tried on current master branch version.
```
Warning C4003 not enough arguments for function-like macro invocation 'F' NM_Engine d:\workspace\anti\current projects\nomercy\extern\cryptopp\misc.h 294
Erro... | Windows compile problem | https://api.github.com/repos/weidai11/cryptopp/issues/717/comments | 4 | 2018-09-23T09:31:43Z | 2019-05-20T18:18:29Z | https://github.com/weidai11/cryptopp/issues/717 | 362,927,899 | 717 |
[
"weidai11",
"cryptopp"
] | ### Crypto++ Issue Report
Such as the following:
My function definition:
const string Md5Encrypt(const string& plainText)
{
byte digest[CryptoPP::Weak::MD5::DIGESTSIZE];
CryptoPP::Weak::MD5 hash;
hash.CalculateDigest(digest, (const byte*)plainText.c_str(), plainText.length());
CryptoPP::HexEncoder enc... | Crypto++ cannot encrypt wide characters correctly,such as Chinese characters. | https://api.github.com/repos/weidai11/cryptopp/issues/716/comments | 1 | 2018-09-19T01:57:13Z | 2018-09-19T03:07:53Z | https://github.com/weidai11/cryptopp/issues/716 | 361,547,472 | 716 |
[
"weidai11",
"cryptopp"
] | When trying to update cryptopp on my Gentoo Linux system, I ran into the message that the certificate for www.cryptopp.com just expired, which prevented emerge from downloading the package.
Please renew your certificate ASAP! This should not happen at all with the website of a crypto library... | TLS Certificate of www.cryptopp.com expired - please renew! | https://api.github.com/repos/weidai11/cryptopp/issues/715/comments | 7 | 2018-09-17T10:15:50Z | 2019-06-07T03:35:30Z | https://github.com/weidai11/cryptopp/issues/715 | 360,802,498 | 715 |
[
"weidai11",
"cryptopp"
] | Crypto++ 6.0 changed `DefaultDecryptor` and `DefaultDecryptorWithMAC` to use modern algorithms. Also see [Issue 345](https://github.com/weidai11/cryptopp/issues/345).
At that time we also provided `LegacyDecryptor` and `LegacyDecryptorWithMAC` for folks who needed interop with the older algorithm. We botched the int... | LegacyDecryptor and LegacyDecryptorWithMAC use wrong MAC | https://api.github.com/repos/weidai11/cryptopp/issues/714/comments | 3 | 2018-09-11T01:51:32Z | 2018-10-20T13:56:52Z | https://github.com/weidai11/cryptopp/issues/714 | 358,856,265 | 714 |
[
"weidai11",
"cryptopp"
] | Can't compile an application that uses Crypto++ in the most current version 7.0.
The compiler i use is mingw32, the development environment is eclipse ide for c/c++ developers version "photon release 4.8.0"
```
09:58:28 **** Build of configuration Release for project MACAddressToPiUserPassword ****
make all
B... | Can't compile program using CMake with Crypto++ 7.0 | https://api.github.com/repos/weidai11/cryptopp/issues/713/comments | 7 | 2018-08-28T08:01:49Z | 2018-10-20T11:35:46Z | https://github.com/weidai11/cryptopp/issues/713 | 354,615,318 | 713 |
[
"weidai11",
"cryptopp"
] | I have a project with disabled RTTI and I was planning to compute sha512 using cryptopp, and but it turned out that it uses typeid() in a few places.
After some investigation I have realized that these functions (which referencing typeid()) are not used when computing sha512, and the library can be compiled with MSV... | Compiling without RTTI support | https://api.github.com/repos/weidai11/cryptopp/issues/712/comments | 4 | 2018-08-25T10:07:38Z | 2018-08-26T01:43:01Z | https://github.com/weidai11/cryptopp/issues/712 | 354,001,056 | 712 |
[
"weidai11",
"cryptopp"
] | ### Crypto++ Issue Report
I use ndkbuild to build Crypto++ 6.1.0 and Crypto++ 7.0.0 to a static lib, but both of them failed, the error is '_mm_crc32_u8' requires target feature 'sse4.1', but would be inlined into function 'CRC32C_Update_SSE42' that is compiled without support for 'sse4.1', and I have uploaded Andr... | Android x86 build failed due to _mm_crc32_u8 requires sse4.1 | https://api.github.com/repos/weidai11/cryptopp/issues/711/comments | 6 | 2018-08-25T07:40:55Z | 2018-08-26T21:05:48Z | https://github.com/weidai11/cryptopp/issues/711 | 353,992,410 | 711 |
[
"weidai11",
"cryptopp"
] | The `Singleton` classes have two uses in the library. First they provide thread safe initialization on older platforms like WIndows XP or Linux prior to C++11 and N2660. Second they conserve resources by not allocating memory or building tables (etc). `Singletons` also have their downsides and that's what we want to ad... | Move away from Singleton when possible | https://api.github.com/repos/weidai11/cryptopp/issues/708/comments | 0 | 2018-08-22T19:20:56Z | 2018-09-05T23:08:04Z | https://github.com/weidai11/cryptopp/issues/708 | 353,089,170 | 708 |
[
"weidai11",
"cryptopp"
] | I'm seeing this exception on Linux and Solaris with newer GCC's. It happens on Linux with `-DCRYPTOPP_INIT_PRIORITY=0`, and it happens on Solaris 11 Sparc with GCC 7. Solaris does not have init priorities so we always use the `std::call_once` pattern when C++11 is available.
The reason we are seeing an exception in ... | Exception when using InitializeInteger with std::call_once | https://api.github.com/repos/weidai11/cryptopp/issues/707/comments | 1 | 2018-08-21T05:50:26Z | 2018-08-21T16:55:28Z | https://github.com/weidai11/cryptopp/issues/707 | 352,394,265 | 707 |
[
"weidai11",
"cryptopp"
] | Download PEM pack from [wiki](https://www.cryptopp.com/wiki/Pem_pack).
but it is missing support for PKCS#8 private key, which begin with `-----BEGIN PRIVATE KEY-----`.
I looked the source then found:
```
PEM_Type PEM_GetType(const SecByteBlock& sb)
{
SecByteBlock::const_iterator it;
it = Search(sb, S... | PEM Pack missing support for PKCS#8 Private Key | https://api.github.com/repos/weidai11/cryptopp/issues/706/comments | 5 | 2018-08-20T01:26:47Z | 2018-08-30T08:39:21Z | https://github.com/weidai11/cryptopp/issues/706 | 351,955,751 | 706 |
[
"weidai11",
"cryptopp"
] | Two identical warnings in VS 2017 while compiling the library.
```
Severity Code Description Project File Line
Warning C4456 declaration of 'block' hides previous local declaration cryptlib cryptopp\aria.cpp 151
Warning C4456 declaration of 'block' hides previous local declaration cryptlib cryptopp\aria.cpp 156
``... | Redefinition wanings in aria.cpp | https://api.github.com/repos/weidai11/cryptopp/issues/702/comments | 1 | 2018-08-16T11:10:05Z | 2018-08-17T00:29:14Z | https://github.com/weidai11/cryptopp/issues/702 | 351,158,952 | 702 |
[
"weidai11",
"cryptopp"
] | Any plans about Shabal implementation? | Will be Shabal hash function available? | https://api.github.com/repos/weidai11/cryptopp/issues/701/comments | 2 | 2018-08-15T11:37:41Z | 2018-08-17T04:16:56Z | https://github.com/weidai11/cryptopp/issues/701 | 350,778,141 | 701 |
[
"weidai11",
"cryptopp"
] | Plain text is ugly.
Markdown is aesthetics. | Could you convert Readme to markdown? | https://api.github.com/repos/weidai11/cryptopp/issues/700/comments | 1 | 2018-08-11T21:36:18Z | 2018-08-18T12:26:24Z | https://github.com/weidai11/cryptopp/issues/700 | 349,765,424 | 700 |
[
"weidai11",
"cryptopp"
] | Currently, ECDSA output is a concatenation of (r, s) integers padded to the length of the underlying field, as per P1363 / FIPS 186-4, however ANSI x9.62 specifies the ASN.1 encoding of the ECDSA signature as:
```
ECDSA-Sig-Value ::= SEQUENCE {
r INTEGER,
s INTEGER
}
```
It would be nice if there was a... | Support DER ECDSA signature output as per ANSI X9.62 | https://api.github.com/repos/weidai11/cryptopp/issues/699/comments | 2 | 2018-08-10T15:50:31Z | 2018-08-12T00:54:16Z | https://github.com/weidai11/cryptopp/issues/699 | 349,567,684 | 699 |
[
"weidai11",
"cryptopp"
] | Power8 provides carryless multiplies using `vpmsum`. This issue will track the addition of GCM mode for Power8.
The cut-in is occurring in stages. We beefed up the validation tests to cover Altivec loads, stores, shifts and rotates. We beefed up the runtime feature testing using probes.
We rough cut-in the mode b... | Add Power8 GCM mode | https://api.github.com/repos/weidai11/cryptopp/issues/698/comments | 1 | 2018-08-09T12:06:06Z | 2018-08-11T03:31:16Z | https://github.com/weidai11/cryptopp/issues/698 | 349,098,983 | 698 |
[
"weidai11",
"cryptopp"
] | Thanks for your hard work on this library!
ChaCha20-Poly1305 is a modern, high-performance cipher working in AEAD mode.
I've noticed that cryptopp has support for original chacha20 only.
Would you implement the original ChaCha20-Poly1305([link])?
[link]: https://download.libsodium.org/doc/secret-key_cryptogra... | ChaCha20-Poly1305 support | https://api.github.com/repos/weidai11/cryptopp/issues/697/comments | 1 | 2018-08-07T03:33:07Z | 2018-08-18T08:53:53Z | https://github.com/weidai11/cryptopp/issues/697 | 348,154,265 | 697 |
[
"weidai11",
"cryptopp"
] | It saddens me to see this:
```
$ CXX=xlC make rijndael-simd.o
xlC -DNDEBUG -g2 -O3 -qrtti -qpic -qarch=pwr8 -qaltivec -c rijndael-simd.cpp
In file included from rijndael-simd.cpp:29:
./ppc-simd.h:443:16: error: use of undeclared identifier
'__builtin_crypto_vcipher'; did you mean '__builtin_vec_vcipher'?
... | Linux POWER8/ppc64-le compile failures on GCC112 | https://api.github.com/repos/weidai11/cryptopp/issues/695/comments | 1 | 2018-07-31T02:00:17Z | 2018-08-01T15:59:26Z | https://github.com/weidai11/cryptopp/issues/695 | 346,007,086 | 695 |
[
"weidai11",
"cryptopp"
] | Sun Studio 12.1 though 12.4 (SunCC 5.10 through 5.13) fail its self tests. Sun Studio 12.5 and 12.6 appear OK.
The problem appears to be related to the code generated for AES using intrinsics.
The library will disable AES-NI intrinsics for the affected versions. | Solaris, SunCC and failed AES self tests | https://api.github.com/repos/weidai11/cryptopp/issues/694/comments | 1 | 2018-07-28T00:49:59Z | 2018-07-28T00:52:04Z | https://github.com/weidai11/cryptopp/issues/694 | 345,402,819 | 694 |
[
"weidai11",
"cryptopp"
] | https://github.com/weidai11/cryptopp/blob/5ea410c1d33e4201c24e52b343110b90a3d9f85e/sha.cpp#L1189
| 'D': unreferenced local variable (VS 2017) | https://api.github.com/repos/weidai11/cryptopp/issues/693/comments | 1 | 2018-07-27T07:37:16Z | 2018-07-29T03:46:01Z | https://github.com/weidai11/cryptopp/issues/693 | 345,122,432 | 693 |
[
"weidai11",
"cryptopp"
] | Not sure I'd really call this a direct issue. However with the NuGet version stuck on 5.6.5.4 stable, I think it's safe to say that other issue corrections and enhancements between then and the current version are not there. ( Two NuGet links: One credited to Scott Lee (cryptopp), and one by Dmitry Katkevich (cryptopp.... | NuGet: Package is out of date. Current newest available version is 5.6.5.4 | https://api.github.com/repos/weidai11/cryptopp/issues/692/comments | 2 | 2018-07-26T14:45:44Z | 2018-09-05T23:08:20Z | https://github.com/weidai11/cryptopp/issues/692 | 344,875,666 | 692 |
[
"weidai11",
"cryptopp"
] | We recently received access to the [OpenCSW compile farm](https://www.opencsw.org/extend-it/signup/to-upstream-maintainers/). The farm provides access to Solaris 9 through 11 on x86 and Sparc hardware. The machines make both GCC and SunCC available.
The `cryptest.exe` test program experienced a string of SIGBUS cras... | GetAlignmentOf returns 4 on Sparc when T=word64 | https://api.github.com/repos/weidai11/cryptopp/issues/691/comments | 1 | 2018-07-21T11:53:51Z | 2020-05-05T19:30:51Z | https://github.com/weidai11/cryptopp/issues/691 | 343,321,392 | 691 |
[
"weidai11",
"cryptopp"
] | Compiling with Sun Studio 12.3 is leading to a crash on Solaris 11 on Sparc:
```
$ CXX=/opt/solarisstudio12.3/bin/CC CXXFLAGS="-DNDEBUG -g -O2" make -j 8
...
$ ./cryptest.exe
...
Tiger validation suite running...
passed 3293ac630c13f0245f92bbb1766e16167a4e58492dde73f3 ""
passed 2aab1484e8c158f2bfb... | Solaris 11 and Sparc crash in Tiger | https://api.github.com/repos/weidai11/cryptopp/issues/690/comments | 1 | 2018-07-20T23:45:32Z | 2018-07-21T00:24:28Z | https://github.com/weidai11/cryptopp/issues/690 | 343,276,451 | 690 |
[
"weidai11",
"cryptopp"
] | [OpenCSW](https://www.opencsw.org/extend-it/signup/to-upstream-maintainers/) provided access to their compile farm. OpenCSW is to Solaris like MacPorts and Brew are to OS X.
On the Solaris 11/Sparc machine we are catching a crash in SHA384. I believe Andrew Marlow first reported it. At the time we could not get our ... | Solaris 11 and Sparc crash in SHA384 | https://api.github.com/repos/weidai11/cryptopp/issues/689/comments | 1 | 2018-07-20T17:01:24Z | 2018-07-21T14:32:21Z | https://github.com/weidai11/cryptopp/issues/689 | 343,180,479 | 689 |
[
"weidai11",
"cryptopp"
] | windows 10
Crypto++ 5.6.5 is success, Crypto++ 7.0.0 fail
cmake
use staic lib
1. create rsa pri pub key(use file mode or buffer mode) success.
2. load from file is success, load from buffer is error(is copy the file content to string it will be success).
3. m_priDecode.AccessMaterial().Load(filter); must be error... | create rsa key in buffer load not success(5.6.5 is success use DERDecode) | https://api.github.com/repos/weidai11/cryptopp/issues/688/comments | 1 | 2018-07-20T10:01:00Z | 2018-07-20T10:07:37Z | https://github.com/weidai11/cryptopp/issues/688 | 343,047,542 | 688 |
[
"weidai11",
"cryptopp"
] | https://github.com/weidai11/cryptopp/blob/28e20d6e5f920e48688c71456f9392a4a5f78135/sha.cpp#L963
```
#if CRYPTOPP_SSE2_ASM_AVAILABLE && (CRYPTOPP_BOOL_X86 || CRYPTOPP_BOOL_X32)
CRYPTOPP_NAKED void CRYPTOPP_FASTCALL SHA512_HashBlock_SSE2(word64 *state, const word64 *data)
```
looks like it's mostly for 32-bit ... | SHA512_HashBlock_SSE2 inefficient (and potentially buggy) asm for x32. MMX is unnecessary. | https://api.github.com/repos/weidai11/cryptopp/issues/686/comments | 5 | 2018-07-14T13:47:44Z | 2018-08-19T23:09:12Z | https://github.com/weidai11/cryptopp/issues/686 | 341,237,747 | 686 |
[
"weidai11",
"cryptopp"
] | ARMv8.4 adds cpu support for SHA512, SHA3, SM3 and SM4. This ticket will track the changes to the CPU gear to support ARMv8.4. SHA512, SHA3, SM3 and SM4 will be added under different tickets. | Add ARMv8.4 cpu feature detection support | https://api.github.com/repos/weidai11/cryptopp/issues/685/comments | 0 | 2018-07-14T12:12:24Z | 2018-07-14T12:12:24Z | https://github.com/weidai11/cryptopp/issues/685 | 341,232,124 | 685 |
[
"weidai11",
"cryptopp"
] | This cropped up recently after Ubuntu updates or a dist-upgrade. I am only seeing it on 32-bit machines, however:
```
$ make
...
g++ -DNDEBUG -g2 -O3 -pthread -pipe -c sha.cpp
sha.cpp: Assembler messages:
sha.cpp:1155: Error: symbol `SHA512_Round' is already defined
sha.cpp:1155: Error: symbol `SHA512_Round'... | GCC 5.4 and "Error: symbol SHA512_Round is already defined" | https://api.github.com/repos/weidai11/cryptopp/issues/684/comments | 1 | 2018-07-13T21:02:38Z | 2018-07-13T21:24:35Z | https://github.com/weidai11/cryptopp/issues/684 | 341,158,833 | 684 |
[
"weidai11",
"cryptopp"
] | Add ARM AES asm implementation from Cryptogams.
Cryptogams is Andy Polyakov's project used to create high speed crypto algorithms and share them with other developers. Cryptogams has a dual license. First is the OpenSSL license because Andy contributes to OpenSSL. Second is a BSD license for those who want a more p... | Add ARM AES asm implementation from Cryptogams | https://api.github.com/repos/weidai11/cryptopp/issues/683/comments | 2 | 2018-07-11T10:56:58Z | 2022-02-14T16:05:59Z | https://github.com/weidai11/cryptopp/issues/683 | 340,192,114 | 683 |
[
"weidai11",
"cryptopp"
] | The library is carrying around vestiges for `CRYPTOPP_ALLOW_UNALIGNED_DATA_ACCESS`. It is an option in `config.h`. The option was used when the library focused on x86, and before GCC got aggressive about optimizations and vectorizations.
Modern compilers, alignment requirements and punning rules have mostly killed-o... | Remove CRYPTOPP_ALLOW_UNALIGNED_DATA_ACCESS support | https://api.github.com/repos/weidai11/cryptopp/issues/682/comments | 1 | 2018-07-09T08:36:11Z | 2018-10-09T06:57:35Z | https://github.com/weidai11/cryptopp/issues/682 | 339,354,422 | 682 |
[
"weidai11",
"cryptopp"
] | Add HC-256 stream cipher. | Add HC-256 stream cipher | https://api.github.com/repos/weidai11/cryptopp/issues/680/comments | 1 | 2018-07-05T10:11:22Z | 2018-07-05T10:59:30Z | https://github.com/weidai11/cryptopp/issues/680 | 338,510,779 | 680 |
[
"weidai11",
"cryptopp"
] | Add HC-128 stream cipher | Add HC-128 stream cipher | https://api.github.com/repos/weidai11/cryptopp/issues/679/comments | 1 | 2018-07-05T04:26:40Z | 2018-07-05T04:47:57Z | https://github.com/weidai11/cryptopp/issues/679 | 338,423,505 | 679 |
[
"weidai11",
"cryptopp"
] | Add Rabbit stream cipher. | Add Rabbit stream cipher | https://api.github.com/repos/weidai11/cryptopp/issues/678/comments | 1 | 2018-07-04T07:00:14Z | 2018-07-05T12:42:55Z | https://github.com/weidai11/cryptopp/issues/678 | 338,152,232 | 678 |
[
"weidai11",
"cryptopp"
] | We are experiencing a failed self test using Clang 5.0/6.0 for CHAM-64/ECB at -O1 on Intel platforms. The Intel platforms engage SSSE3 instructions. Clang at other optimization levels is OK. Other compilers are OK.
Here is how to reproduce with the library. We have not been able to reduce it to a [Minimal, Complete,... | Clang 5.0/6.0, CHAM-64/ECB and failed self test at -O1 | https://api.github.com/repos/weidai11/cryptopp/issues/677/comments | 1 | 2018-06-30T23:23:37Z | 2018-07-01T15:34:53Z | https://github.com/weidai11/cryptopp/issues/677 | 337,250,079 | 677 |
[
"weidai11",
"cryptopp"
] | Add Simeck lightweight block cipher | Add Simeck lightweight block cipher | https://api.github.com/repos/weidai11/cryptopp/issues/675/comments | 1 | 2018-06-30T06:41:29Z | 2018-06-30T06:51:59Z | https://github.com/weidai11/cryptopp/issues/675 | 337,192,213 | 675 |
[
"weidai11",
"cryptopp"
] | ### Crypto++ Issue Report
I noticed that SHA256 hashing is much *slower* in 7.0.0 than 5.6.5.
Overview of performance difference when hashing 512 MB block of memory with Intel Core i7-5820K Haswell-E with **SHA256 algorithm**:
lib version | elapsed time | throughput
------------|------------|-----------
cr... | SHA256 x64 code is 25% slower in version 7.0.0 than 5.6.5 built with MS VS2017/VS2015 Windows | https://api.github.com/repos/weidai11/cryptopp/issues/674/comments | 2 | 2018-06-30T00:40:46Z | 2018-06-30T12:04:00Z | https://github.com/weidai11/cryptopp/issues/674 | 337,171,858 | 674 |
[
"weidai11",
"cryptopp"
] | ```
#include <cryptopp/eccrypto.h>
#include <cryptopp/ecp.h>
#include <cryptopp/oids.h>
#include <cryptopp/osrng.h>
#include <cryptopp/sha.h>
#include <iostream>
int main()
{
auto secp256k1 = CryptoPP::ASN1::secp256k1();
CryptoPP::DL_GroupParameters_EC<CryptoPP::ECP> params(secp256k1);
Crypto... | Public key is not passing validation | https://api.github.com/repos/weidai11/cryptopp/issues/673/comments | 1 | 2018-06-27T20:13:49Z | 2018-06-28T05:30:02Z | https://github.com/weidai11/cryptopp/issues/673 | 336,371,120 | 673 |
[
"weidai11",
"cryptopp"
] | Add HIGHT lightweight block cipher | Add HIGHT lightweight block cipher | https://api.github.com/repos/weidai11/cryptopp/issues/672/comments | 1 | 2018-06-24T04:43:27Z | 2018-06-24T04:56:01Z | https://github.com/weidai11/cryptopp/issues/672 | 335,150,637 | 672 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.