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"
] | Otherwise it can't compiled under UNICODE mode. Because the code always use an ANSI char to receive the result:
```
char temp[MAX_ADDRSTRLEN]; // ANSI char
// ...
if (WSAStringToAddress(temp, af, NULL, (struct sockaddr *)&ss, &size) == 0) { // ...
```
`WSAStringToAddress` is mapping to `WSAStringToAddressW` un... | Don't use WSAStringToAddress, use WSAStringToAddressA instead | https://api.github.com/repos/weidai11/cryptopp/issues/385/comments | 8 | 2017-03-01T21:25:23Z | 2017-03-14T14:23:46Z | https://github.com/weidai11/cryptopp/issues/385 | 211,212,816 | 385 |
[
"weidai11",
"cryptopp"
] | If we do something like this:
`new RSAES< OAEP<CryptoPP::SHA1> >::Decryptor(*thRng, nKeyLen);`
_aligned_free will be failed on the x64 target compiled by VC 2005:
```
Integer Integer::Plus(const Integer& b) const
{
Integer sum((word)0, STDMAX2(reg.size(), b.reg.size()));
// ...
return sum; // <--- here
}
... | [BUG] VC 2005 x64: _aligned_free failed | https://api.github.com/repos/weidai11/cryptopp/issues/384/comments | 1 | 2017-03-01T21:03:33Z | 2017-03-01T23:54:28Z | https://github.com/weidai11/cryptopp/issues/384 | 211,207,391 | 384 |
[
"weidai11",
"cryptopp"
] | C++11 provides `nullptr_t` and a null pointer `nullptr`. It adds type safety for `NULL`, and it improves analysis in some situations. Currently, Crypto++ uses a mix of `NULL` and `0` for the null pointer. The library's use of `NULL` and `0` ensures a very dirty C++11 compile with `-Wzero-as-null-pointer-constant`. In a... | Add support for C++11 nullptr | https://api.github.com/repos/weidai11/cryptopp/issues/383/comments | 1 | 2017-03-01T09:52:39Z | 2017-03-02T04:40:00Z | https://github.com/weidai11/cryptopp/issues/383 | 211,029,778 | 383 |
[
"weidai11",
"cryptopp"
] | `BufferedTransformation` includes the following:
```
class BufferedTransformation : public Algorithm, public Waitable
{
public:
// placed up here for CW8, same as DEFAULT_CHANNEL, for backwards compatibility
static const std::string &NULL_CHANNEL;
...
};
```
`NULL_CHANNEL` dates back to the Cr... | Remove NULL_CHANNEL and Code Warrior 8 workaround | https://api.github.com/repos/weidai11/cryptopp/issues/382/comments | 1 | 2017-03-01T08:48:47Z | 2017-03-01T10:26:45Z | https://github.com/weidai11/cryptopp/issues/382 | 211,015,057 | 382 |
[
"weidai11",
"cryptopp"
] | I'm trying to use ecdsa to sign and verify messages, but the [example at your official site](https://www.cryptopp.com/wiki/User_Guide:_eccrypto.h) is not working. The `ECPrivateKey ` and `ECPublicKey ` are not declared and nowhere to be found, there is no type named ECPrivateKey in the latest 5.6.5 source.
I tried t... | ECDSA examples not working | https://api.github.com/repos/weidai11/cryptopp/issues/381/comments | 3 | 2017-02-28T14:22:20Z | 2017-03-03T15:19:18Z | https://github.com/weidai11/cryptopp/issues/381 | 210,800,423 | 381 |
[
"weidai11",
"cryptopp"
] | After compiling CRYPTOPP_5_6_5 and linking my program with the static library libcryptopp.a using mingw, this program was surprisingly crashing on some computers and not on others.
After many hours of investigation, I discovered that the flag -march=native was used and that was the reason why the program may not wor... | Random crashes on different computers because option -march=native is active 'by default' | https://api.github.com/repos/weidai11/cryptopp/issues/380/comments | 20 | 2017-02-23T16:55:14Z | 2017-09-17T08:51:29Z | https://github.com/weidai11/cryptopp/issues/380 | 209,820,516 | 380 |
[
"weidai11",
"cryptopp"
] | On occasion users will [ask about missing symbols in the library, like `GlobalRNG()`](https://groups.google.com/forum/#!topic/cryptopp-users/CCAsd0MZaAM). It has come up on several occasions, including Stack Overflow and the User Group.
The problem appears to stem from creating a project with an external build syste... | Add Test namespace within CryptoPP namespace | https://api.github.com/repos/weidai11/cryptopp/issues/379/comments | 1 | 2017-02-21T06:57:13Z | 2017-02-22T00:59:37Z | https://github.com/weidai11/cryptopp/issues/379 | 209,057,905 | 379 |
[
"weidai11",
"cryptopp"
] | osrng.h checks for a preprocessor define named OS_NO_DEPENDENCE:
```
#if !defined(OS_NO_DEPENDENCE) && defined(OS_RNG_AVAILABLE)
```
But config.h optionally defines NO_OS_DEPENDENCE, and all other files use this variant:
```
// Define this if you want to disable all OS-dependent features,
// such as sockets an... | OS_NO_DEPENDENCE in osrng.h, NO_OS_DEPENDENCE everywhere else | https://api.github.com/repos/weidai11/cryptopp/issues/377/comments | 1 | 2017-02-18T22:11:49Z | 2017-02-18T22:41:52Z | https://github.com/weidai11/cryptopp/issues/377 | 208,675,522 | 377 |
[
"weidai11",
"cryptopp"
] | In base 64 decode you will find the following code:
```
const int *Base64Decoder::GetDecodingLookupArray()
{
static volatile bool s_initialized = false;
static int s_array[256];
if (!s_initialized)
{
InitializeDecodingLookupArray(s_array, s_stdVec, 64, false);
s_initialized = true;
}
return s_a... | Intialization of base64 and other decoders are not threadsafe | https://api.github.com/repos/weidai11/cryptopp/issues/376/comments | 5 | 2017-02-17T18:06:54Z | 2017-03-01T07:25:31Z | https://github.com/weidai11/cryptopp/issues/376 | 208,515,184 | 376 |
[
"weidai11",
"cryptopp"
] | PHP defaults to bcrypt for password hashing: http://php.net/password_hash
Could bcrypt be supported by crypto++ as well to allow interoperability? | bcrypt support | https://api.github.com/repos/weidai11/cryptopp/issues/375/comments | 9 | 2017-02-17T13:25:09Z | 2018-11-05T14:02:55Z | https://github.com/weidai11/cryptopp/issues/375 | 208,440,976 | 375 |
[
"weidai11",
"cryptopp"
] | I am trying to build latest crypto++ with CMake generated XCode project
```
macOS 10.12.3
XCode 8.2.1
cmake version 3.7.2
mkdir build
cd build
cmake -G Xcode ..
open cryptopp.xcodeproj
build
```
Getting following error:
```
echo "Creating symlinks"
Creating symlinks
/usr/local/Cellar/cmake/3.7.2/bin/cmak... | CMake XCode build on macOS fails | https://api.github.com/repos/weidai11/cryptopp/issues/374/comments | 4 | 2017-02-16T15:09:56Z | 2017-09-16T22:40:17Z | https://github.com/weidai11/cryptopp/issues/374 | 208,148,268 | 374 |
[
"weidai11",
"cryptopp"
] | Is windows xp still supported? This very simple dll static linking to libcryptopp cannot be loaded on xp, there's a **loader lock** problem.
#include <windows.h>
#define CRYPTOPP_ENABLE_NAMESPACE_WEAK 1
#include "cryptopp/md5.h"
CryptoPP::Weak::MD5 _md5;
BOOL WINAPI DllMain(HINSTANCE hI... | Hang and loader lock on WinXP | https://api.github.com/repos/weidai11/cryptopp/issues/373/comments | 6 | 2017-02-08T14:07:37Z | 2018-01-19T21:35:29Z | https://github.com/weidai11/cryptopp/issues/373 | 206,207,571 | 373 |
[
"weidai11",
"cryptopp"
] | CryptoPP::Singleton::Ref() in misc.h assumes thread-safe local statics. MSVC 11 (2012) and 12 (2013) do not support them, so locking the static mutex sometimes crashes.
I was not sure if thread-safe initialization of local static variables should be included in CRYPTOPP_CXX11_SYNCHRONIZATION or if it was only meant ... | Singleton::Ref() crashes on VS2012/VS2013 | https://api.github.com/repos/weidai11/cryptopp/issues/372/comments | 12 | 2017-02-01T09:46:23Z | 2018-01-19T21:35:06Z | https://github.com/weidai11/cryptopp/issues/372 | 204,537,343 | 372 |
[
"weidai11",
"cryptopp"
] | We've been following a thread from [Ethereum](https://github.com/ethereum/cpp-ethereum/issues/3493#issuecomment-275585995). One of the side/related issues appears to be determining the Crypto++ version.
The problem is, `CRYPTOPP_VERSION` is a macro in [`config.h`, around line 65](https://github.com/weidai11/cryptopp... | Add HeaderVersion() and LibraryVersion() functions | https://api.github.com/repos/weidai11/cryptopp/issues/371/comments | 2 | 2017-01-28T05:25:04Z | 2017-01-29T20:00:30Z | https://github.com/weidai11/cryptopp/issues/371 | 203,788,960 | 371 |
[
"weidai11",
"cryptopp"
] | I've tried installing cryptopp using "brew install cryptopp" on two Macs already, one of them was newly setup, so there's nothing strange going on in the system.
On both computers, the install just stalls in the make step and doesn't continue from there. I've kept it running for hours, and there was no CPU usage.
... | Homebrew package broken | https://api.github.com/repos/weidai11/cryptopp/issues/370/comments | 14 | 2017-01-27T19:06:53Z | 2023-03-22T23:21:07Z | https://github.com/weidai11/cryptopp/issues/370 | 203,714,482 | 370 |
[
"weidai11",
"cryptopp"
] | Since the library is preparing for a version bump that breaks compatibility, we should remove `MAINTAIN_BACKWARDS_COMPATIBILITY` macro and code previously guarded by it. Some of the code is really old, dating back to the Crypto++ 5.5 days if research is correct. It probably predates 5.5 in some instances.
Functions ... | Remove MAINTAIN_BACKWARDS_COMPATIBILITY | https://api.github.com/repos/weidai11/cryptopp/issues/369/comments | 1 | 2017-01-27T11:02:41Z | 2017-05-02T12:21:32Z | https://github.com/weidai11/cryptopp/issues/369 | 203,608,495 | 369 |
[
"weidai11",
"cryptopp"
] | Here's an ugly result for Blake2 testing with Crypto++ and [Botan](http://github.com/randombit/botan/issues/845) on ARMv8/Aarch64 with Cortex-A57. Cortex-A53 is OK, meaning it does not slow down. A53 runs at about the same speed for both CXX and NEON.
A57, Crypto++ (3 second benchmark):
* CXX implementation: 5.7 ... | BLAKE2b NEON suffers poor performance on ARMv8/Aarch64 with Cortex-A57 | https://api.github.com/repos/weidai11/cryptopp/issues/367/comments | 2 | 2017-01-22T07:45:47Z | 2017-11-23T09:03:43Z | https://github.com/weidai11/cryptopp/issues/367 | 202,367,277 | 367 |
[
"weidai11",
"cryptopp"
] | `cryptest.sh` reveals the changes for [Add GCC inline ASM for PMULL and PMULL2 , Commit b129818c35a0eceb](https://github.com/weidai11/cryptopp/commit/b129818c35a0eceb0db8b1613fdca17a5a96173c) are giving some of the builds trouble. The failures only show up under Debug builds.
```
/opt/cfarm/gcc-latest/bin/g++ -DDEB... | gcm.cpp and "warning: asm operand 3 probably doesn't match constraints" | https://api.github.com/repos/weidai11/cryptopp/issues/366/comments | 1 | 2017-01-20T20:01:33Z | 2017-01-20T23:50:10Z | https://github.com/weidai11/cryptopp/issues/366 | 202,229,299 | 366 |
[
"weidai11",
"cryptopp"
] | The [sha.cpp whitespace checkin, commit fc306b6474a32cfb](https://github.com/weidai11/cryptopp/commit/fc306b6474a32cfb169fcff50e4db9d4a29b97cb), broke 32-bit SHA-384 and SHA-512. It was made prior to checking in the ARM SHA extensions.
It slipped through immediate testing because "smoke testing" occurs on x86_64 mac... | Whitespace check-in for sha.cpp broke 32-bit SHA-384 and SHA-512 | https://api.github.com/repos/weidai11/cryptopp/issues/365/comments | 1 | 2017-01-17T05:45:50Z | 2017-01-18T00:27:04Z | https://github.com/weidai11/cryptopp/issues/365 | 201,181,632 | 365 |
[
"weidai11",
"cryptopp"
] | Testing on OS X 10.9 using Apple Clang 6.0. `cryptest.sh` reveals `TestRounding()` is failing one test case:
```
try
{
const word128 h = ((word128)W64LIT(0xffffffffffffffff)) << 64U;
const word128 v = h | (word128)W64LIT(0xfffffffffffffff9), b=0x08;
word128 r=RoundUpToMultipleOf(v, b);
fail = t... | Apple Clang 6.0 and numeric_limits<word128>::max() returns 0 | https://api.github.com/repos/weidai11/cryptopp/issues/364/comments | 7 | 2017-01-15T20:19:36Z | 2017-01-16T04:05:03Z | https://github.com/weidai11/cryptopp/issues/364 | 200,891,645 | 364 |
[
"weidai11",
"cryptopp"
] | We have specialized ARM implementations for a few algorithms, including CRC32, Carryless Multiply and SHA-1 ans SHA-256. Its now showing some cracks under Apple Clang.
It appears Apple Clang does not provide `<arm_acle.h>` (we knew that), and it also disgorges `PMULL` and `PMULL2` from the Crypto gear (that's news t... | Fix include logic for ARM headers under Apple and LLVM Clang | https://api.github.com/repos/weidai11/cryptopp/issues/362/comments | 1 | 2017-01-13T11:43:52Z | 2017-01-29T08:11:19Z | https://github.com/weidai11/cryptopp/issues/362 | 200,611,196 | 362 |
[
"weidai11",
"cryptopp"
] | I packaged lates master branch for cpp-ethereum project and received this crash report: https://github.com/ethereum/cpp-ethereum/issues/3490. I would more than happy is someone can take a look on the stack trace. | Crash on Windows 10 in dependent project | https://api.github.com/repos/weidai11/cryptopp/issues/361/comments | 7 | 2017-01-10T22:15:24Z | 2017-01-11T22:50:33Z | https://github.com/weidai11/cryptopp/issues/361 | 199,948,643 | 361 |
[
"weidai11",
"cryptopp"
] | Boldizsár Lipka reported the following in a private email. The email was forwarded to the mailing list at [Crypto++ RoundUpToMultipleOf bug](https://groups.google.com/forum/#!topic/cryptopp-users/4uDekpzXnNo).
> I found an issue in the implementation of the Crypto++ function
> RoundUpToMultipleOf (misc.h:745). The ... | Crypto++ RoundUpToMultipleOf bug | https://api.github.com/repos/weidai11/cryptopp/issues/360/comments | 1 | 2017-01-10T19:22:52Z | 2017-01-15T20:23:22Z | https://github.com/weidai11/cryptopp/issues/360 | 199,910,521 | 360 |
[
"weidai11",
"cryptopp"
] | Hi,
I'm trying to build cryptopp with cmake (win10, msvc14 upd.3 (2015), 32 bit, cmake 3.7.1) in shared config.
But cryptopp-shared target (cryptopp-shared.dll) does not have any exports.
When I'm adding CRYPTOPP_EXPORTS definition I see the following error:
```
1>ttmac.obj : error LNK2019: unresolved external ... | CMake does not set CRYPTOPP_EXPORTS for shared build (and errors during building) | https://api.github.com/repos/weidai11/cryptopp/issues/358/comments | 13 | 2017-01-07T23:12:54Z | 2017-07-20T18:42:00Z | https://github.com/weidai11/cryptopp/issues/358 | 199,390,947 | 358 |
[
"weidai11",
"cryptopp"
] | I'm using CMake 3.6.1 and Xcode 8. I'm attempting to build cryptopp 5.6.5.
When attempting to build the static or shared library using cmake with the Xcode generator, the library itself is never created. The shared target fails due to the missing output file at some point while the static target claims to succeed de... | CMake-based Xcode build fails to build any library | https://api.github.com/repos/weidai11/cryptopp/issues/355/comments | 9 | 2017-01-04T16:52:02Z | 2017-08-26T23:20:31Z | https://github.com/weidai11/cryptopp/issues/355 | 198,755,477 | 355 |
[
"weidai11",
"cryptopp"
] | https://sourceforge.net/projects/cryptopp/files/cryptopp/ has no 5.6.5 release whereas https://cryptopp.com/release565.html links to it. | Sourceforge link to 5.6.5 is bad: no 5.6.5 release file on sourceforge. | https://api.github.com/repos/weidai11/cryptopp/issues/353/comments | 3 | 2016-12-29T01:46:54Z | 2017-01-29T22:44:17Z | https://github.com/weidai11/cryptopp/issues/353 | 197,941,219 | 353 |
[
"weidai11",
"cryptopp"
] | Google has recently published [project wycheproof](https://github.com/google/wycheproof), which is a tool / library for testing implementations for common cryptographic attacks (it's in Java though). We at least should think about hacking together a thin wrapper and applying this tool on Crypto++.
Additionally there... | Evaluate advanced tool-assisted security checking | https://api.github.com/repos/weidai11/cryptopp/issues/350/comments | 2 | 2016-12-20T20:07:39Z | 2016-12-24T05:15:27Z | https://github.com/weidai11/cryptopp/issues/350 | 196,767,998 | 350 |
[
"weidai11",
"cryptopp"
] | The default Socket::Listen backlog value is 5, most likely because this was the maximum supported 20 years ago in Windows Sockets 1:
https://github.com/weidai11/cryptopp/blob/master/socketft.h#L75
This should be SOMAXCONN on Windows. Not sure about similar magic values on other platforms.
A value as low as 5 w... | Default Socket::Listen backlog value is ancient and much too low | https://api.github.com/repos/weidai11/cryptopp/issues/349/comments | 3 | 2016-12-18T00:43:20Z | 2016-12-24T05:17:44Z | https://github.com/weidai11/cryptopp/issues/349 | 196,251,186 | 349 |
[
"weidai11",
"cryptopp"
] | Add Aumasson and Bernstein's [SipHash: a fast short-input PRF](http://131002.net/siphash/siphash.pdf). SipHash has some unique use cases that some users will find valuable.
The test vector generator is available at [SipHash GitHub](https://github.com/veorq/SipHash/tree/master). Check the `halfsiphash` branch for `te... | Add SipHash | https://api.github.com/repos/weidai11/cryptopp/issues/348/comments | 1 | 2016-12-17T08:23:47Z | 2016-12-18T01:26:01Z | https://github.com/weidai11/cryptopp/issues/348 | 196,210,207 | 348 |
[
"weidai11",
"cryptopp"
] | We sent a copy to the mailing list at [Security issue (DoS) in Crypto++ ASN1 decoder](https://groups.google.com/d/msg/cryptopp-users/fEQ8jWg_K8g/qOLHGIDICwAJ).
<strike>We asked for a CVE to be assigned on oss-security.</strike> CVE-2016-9939 was assigned to the issue.
On Mon, Dec 12, 2016 at 8:45 AM, Gergely Nagy... | Security issue (DoS) in Crypto++ ASN1 decoder | https://api.github.com/repos/weidai11/cryptopp/issues/346/comments | 15 | 2016-12-12T20:42:57Z | 2018-01-22T21:57:30Z | https://github.com/weidai11/cryptopp/issues/346 | 195,080,315 | 346 |
[
"weidai11",
"cryptopp"
] | `default.h` and `default.cpp` use some rusty algorithms. Below is from `default.h`. `DES_EDE2` is 2-key TripleDES, and it provides about 80 bits of security.
```
typedef DES_EDE2 DefaultBlockCipher;
typedef SHA DefaultHashModule;
typedef HMAC<DefaultHashModule> DefaultMAC;
```
We need to provide the legacy st... | Update DefaultEncryptor, DefaultEncryptorWithMAC and friends | https://api.github.com/repos/weidai11/cryptopp/issues/345/comments | 1 | 2016-12-07T02:19:44Z | 2016-12-11T10:11:50Z | https://github.com/weidai11/cryptopp/issues/345 | 193,940,633 | 345 |
[
"weidai11",
"cryptopp"
] | `validat1.cpp` has three tests that were added over time in response to bug reports. The three tests are `TestSecBlock`, `TestPolynomialMod2` and `TestHuffmanCodes`. The tests are exercised in debug builds because they are more comprehensive. They are sanity checks that provide extra attention when running under Valgri... | Add additional validate source file with additional tests | https://api.github.com/repos/weidai11/cryptopp/issues/344/comments | 1 | 2016-12-07T01:38:56Z | 2016-12-07T01:58:17Z | https://github.com/weidai11/cryptopp/issues/344 | 193,935,246 | 344 |
[
"weidai11",
"cryptopp"
] | It looks like Doxygen is having trouble documenting constants when a constant is declared as an anonymous `enum`:

The `enum` is selected in `config.h`:
```
// How to declare class constants
#if... | Crypto++ manual and empty enum values | https://api.github.com/repos/weidai11/cryptopp/issues/343/comments | 1 | 2016-12-04T20:17:22Z | 2016-12-04T21:08:58Z | https://github.com/weidai11/cryptopp/issues/343 | 193,372,642 | 343 |
[
"weidai11",
"cryptopp"
] | Crypto++ currently supports VC++ 5.0/6.0 support from the mid 1990's. Its caused us to keep code like the following from `sha.cpp`:
```
static void X86_SHA256_HashBlocks(word32 *state, const word32 *data, size_t len
#if defined(_MSC_VER) && (_MSC_VER == 1200)
, ... // VC60 workaround: prevent VC 6 from inlining ... | Remove VC++ 5.0/6.0 support | https://api.github.com/repos/weidai11/cryptopp/issues/342/comments | 2 | 2016-12-03T02:30:14Z | 2017-07-20T18:42:23Z | https://github.com/weidai11/cryptopp/issues/342 | 193,259,665 | 342 |
[
"weidai11",
"cryptopp"
] | ```
Do you think we can take care of these warning?
=20
In file included from /opt/local/include/cryptopp/simple.h:17:
/opt/local/include/cryptopp/misc.h:1953:14: warning: implicit conversion lo=
ses integer precision: 'int' to 'word16' (aka 'unsigned short') [-Wconversi=
on]
? block[1] |... | Compiler conversion warnings | https://api.github.com/repos/weidai11/cryptopp/issues/340/comments | 1 | 2016-12-02T19:18:10Z | 2016-12-02T19:50:23Z | https://github.com/weidai11/cryptopp/issues/340 | 193,195,398 | 340 |
[
"weidai11",
"cryptopp"
] | Add Poly1305 class | Add Poly1305 class | https://api.github.com/repos/weidai11/cryptopp/issues/338/comments | 1 | 2016-11-27T20:31:43Z | 2016-11-27T22:09:45Z | https://github.com/weidai11/cryptopp/issues/338 | 191,883,621 | 338 |
[
"weidai11",
"cryptopp"
] | The 5.6.4 release added a new argument of type CryptoPP::ByteOrder to several constructors of type CryptoPP::Integer. This broke the ABI of the class because adding an argument to a function, even with a defualt value, changes the function signature. See https://community.kde.org/Policies/Binary_Compatibility_Issues_Wi... | 5.6.4 broke ABI of Integer::Integer() | https://api.github.com/repos/weidai11/cryptopp/issues/337/comments | 7 | 2016-11-23T16:44:42Z | 2018-01-22T21:57:43Z | https://github.com/weidai11/cryptopp/issues/337 | 191,324,937 | 337 |
[
"weidai11",
"cryptopp"
] | Add AND, OR and XOR bitops to Integer class.
This will help support some ciphers, like Poly1305. Users may also find it useful, so an external interface should be made available.
The primitive operations are already available in `<words.h>`: `AndWords`, `OrWords` and `XorWords`. | Add AND, OR and XOR bitops to Integer class | https://api.github.com/repos/weidai11/cryptopp/issues/336/comments | 2 | 2016-11-23T13:00:12Z | 2016-11-26T15:42:20Z | https://github.com/weidai11/cryptopp/issues/336 | 191,264,458 | 336 |
[
"weidai11",
"cryptopp"
] | Hello,
I've got pretty low performance on transfers with AES-256-CBC on Marvell Armada 375 (Dual-core Cortex A9) using Tahoe-LAFS, which in turn uses pycryptopp, which in turn uses cryptopp.
There is a hardware crypto module available, and there is a kernel driver for it. The device is exposed as /dev/crypto (kno... | crypto-dev support | https://api.github.com/repos/weidai11/cryptopp/issues/335/comments | 4 | 2016-11-12T18:52:57Z | 2023-06-26T10:06:26Z | https://github.com/weidai11/cryptopp/issues/335 | 188,927,897 | 335 |
[
"weidai11",
"cryptopp"
] | When trying to activate spotify support in Clementine player, the application crash with the following error: `clementine: symbol lookup error: clementine: undefined symbol: _ZN8CryptoPP6SHA5129InitStateEPy`
Tried downgrading to 5.6.4 and everything works just fine, so there is something with the 5.6.5 release in part... | Undefined symbol in 5.6.5 | https://api.github.com/repos/weidai11/cryptopp/issues/333/comments | 2 | 2016-11-06T09:40:18Z | 2016-11-06T20:01:57Z | https://github.com/weidai11/cryptopp/issues/333 | 187,549,053 | 333 |
[
"weidai11",
"cryptopp"
] | Testing a Fedora [RPM build](https://docs.fedoraproject.org/en-US/Fedora_Draft_Documentation/0.1/html/Packagers_Guide/chap-Packagers_Guide-Creating_and_Building_Packages.html) reveals the following.
```
libtool: link: g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOU
RCE=2 -fexceptions -fstack-prot... | Shared object and "undefined reference to Algorithm::Algorithm(bool)" | https://api.github.com/repos/weidai11/cryptopp/issues/332/comments | 1 | 2016-11-01T05:41:42Z | 2016-11-05T01:23:40Z | https://github.com/weidai11/cryptopp/issues/332 | 186,463,551 | 332 |
[
"weidai11",
"cryptopp"
] | Zhaomo Yang, Kirill Levchenko, Sorin Lerner and Brian Johannesmeyer reports the following.
```
On Mon, Oct 31, 2016 at 8:40 PM, Zhaomo Yang <zhy001@cs.ucsd.edu> wrote:
> Hi folks,
>
> I am a Ph.D. student in Computer Science and Engineering from the University
> of California, San Diego. My colleagues and I are... | CAST and zeroizer removal by the optimizer | https://api.github.com/repos/weidai11/cryptopp/issues/331/comments | 1 | 2016-11-01T02:20:20Z | 2016-11-01T09:53:40Z | https://github.com/weidai11/cryptopp/issues/331 | 186,447,793 | 331 |
[
"weidai11",
"cryptopp"
] | László Böszörményi reports the following. Crypto++ 5.6.3 was compiled eight times on Hurd without any problem. Crypto++ 5.6.4 (maybe something else meanwhile) broke Hurd support. During the compilation of cpu.cpp, the following error arises:
```
/tmp/ccOaIF5V.s: Assembler messages:
/tmp/ccOaIF5V.s:820: Error: charact... | Debian Hurd, cpu.cpp and "Error: character following name is not '#'" | https://api.github.com/repos/weidai11/cryptopp/issues/330/comments | 3 | 2016-10-28T18:21:06Z | 2016-10-29T09:51:58Z | https://github.com/weidai11/cryptopp/issues/330 | 185,988,428 | 330 |
[
"weidai11",
"cryptopp"
] | Andrew Marlow reports the following on Solaris 11. I believe its Sparc, but I'm not certain.
> But on solaris 11 where I have g++ version 4.8.2 I get a compilation error:
>
> ```
> In file included from apmtest.cpp:6:0:
> config.h:582:34: error: operator '>=' has no left operand
> #if ((__ILP32__ >= 1) || (_ILP32 >=... | Solaris 11 and "error: operator '>=' has no left operand" | https://api.github.com/repos/weidai11/cryptopp/issues/329/comments | 1 | 2016-10-27T18:15:00Z | 2016-10-27T18:23:53Z | https://github.com/weidai11/cryptopp/issues/329 | 185,742,262 | 329 |
[
"weidai11",
"cryptopp"
] | On the diffie hellman page, in section 9.1, the following code has a problem:
```
// Initialize the Diffie-Hellman class with a random prime and base
AutoSeededRandomPool rngA;
DH dhA(rngA, 128);
```
Since there are no other examples of initializing the DH class with a RNG, using the DH code from this library... | Diffie-Hellman example code not compiling | https://api.github.com/repos/weidai11/cryptopp/issues/328/comments | 6 | 2016-10-23T03:40:37Z | 2016-12-04T20:22:18Z | https://github.com/weidai11/cryptopp/issues/328 | 184,669,422 | 328 |
[
"weidai11",
"cryptopp"
] | Hi,
This applies to both the cmake and proprietary build systems.
When enabling tests the tests are both built and installed.
When enabling tests but disabling static library build fails.
When enabling tests and shared, which derived enabling static, installation install all while in many cases only the shared librar... | Support split of build optional components and install optional components | https://api.github.com/repos/weidai11/cryptopp/issues/327/comments | 12 | 2016-10-21T21:04:20Z | 2017-09-16T22:40:40Z | https://github.com/weidai11/cryptopp/issues/327 | 184,569,270 | 327 |
[
"weidai11",
"cryptopp"
] | Hi,
Any reason why 5.6.4 contained cmake buildsystem and the 5.6.5 excluded it?
Isn't cmake should be used over the proprietary build?
Thanks!
Alon
[1] https://www.cryptopp.com/cryptopp565.zip
| CMake build system is missing from 5.6.5 zip (cryptopp565.zip) | https://api.github.com/repos/weidai11/cryptopp/issues/325/comments | 4 | 2016-10-21T14:59:00Z | 2017-09-16T22:40:53Z | https://github.com/weidai11/cryptopp/issues/325 | 184,506,919 | 325 |
[
"weidai11",
"cryptopp"
] | I have problems using Crypto++ to save a RSA public key string. When decoding the key, I always get a BERDecodeErr exception.
Here is the code I am using:
```
string RsaEncryptor::encryptor(string plaintext, string publicKey) {
std::string cipher;
AutoSeededRandomPool prng;
try {
ByteQueue queue;
... | Can't BER decode RSA public key with NDK Android | https://api.github.com/repos/weidai11/cryptopp/issues/324/comments | 2 | 2016-10-19T02:13:18Z | 2016-11-03T10:05:05Z | https://github.com/weidai11/cryptopp/issues/324 | 183,848,969 | 324 |
[
"weidai11",
"cryptopp"
] | `oids.h` uses OIDs from an older IETF draft which has expired. We should now be using [Algorithm Identifiers for Ed25519, Ed25519ph, Ed448, Ed448ph, X25519 and X448 for use in the Internet X.509 Public Key Infrastructure](http://tools.ietf.org/id/draft-ietf-curdle-pkix) instead.
| curve25519 using old OID | https://api.github.com/repos/weidai11/cryptopp/issues/323/comments | 2 | 2016-10-18T20:26:30Z | 2018-01-18T03:29:23Z | https://github.com/weidai11/cryptopp/issues/323 | 183,793,759 | 323 |
[
"weidai11",
"cryptopp"
] | [cryptest.sh](http://github.com/weidai11/cryptopp/blob/master/cryptest.sh) reveals the following on Cygwin.
```
g++ -DNDEBUG -g2 -O2 -march=native -pipe -c socketft.cpp
socketft.cpp: In function ‘int CryptoPP::inet_pton(int, const char*, void*)’:
socketft.cpp:89:70: error: ‘WSAStringToAddress’ was not declared in this... | Cygwin and "WSAStringToAddress was not declared in this scope" | https://api.github.com/repos/weidai11/cryptopp/issues/322/comments | 1 | 2016-10-14T07:31:48Z | 2016-10-14T07:50:39Z | https://github.com/weidai11/cryptopp/issues/322 | 182,981,932 | 322 |
[
"weidai11",
"cryptopp"
] | This was originally reported at [VS2015 and MinGW testing of constexpr dev-branch](http://groups.google.com/d/msg/cryptopp-users/qeZVbY9cHJc/ZoMO1X05FAAJ). <strike>Someone else reported this issue in a comment on the mailing list, but I can't find it at the moment.</strike>
Here's the exception message:
```
Unhandled... | MASM, x86 and RDRAND and Access Violation under VS2013 | https://api.github.com/repos/weidai11/cryptopp/issues/321/comments | 1 | 2016-10-12T04:57:24Z | 2016-10-14T19:41:41Z | https://github.com/weidai11/cryptopp/issues/321 | 182,435,263 | 321 |
[
"weidai11",
"cryptopp"
] | Built against tag `CRYPTOPP_5_6_4`, only confirmed on FreeBSD (haven't tested elsewhere).
Log (cryptopp at the bottom):
https://build.getmonero.org/builders/kovri-all-freebsd64/builds/10/steps/compile/logs/stdio
I wanted to get this issue submitted before I left. I'll be back (Tuesday) to test any patches.
https://g... | Clang 3.6.2: gcm.cpp:143:25: error: use of undeclared identifier '_mm_clmulepi64_si128' | https://api.github.com/repos/weidai11/cryptopp/issues/320/comments | 3 | 2016-10-11T05:52:22Z | 2016-10-11T17:22:15Z | https://github.com/weidai11/cryptopp/issues/320 | 182,179,632 | 320 |
[
"weidai11",
"cryptopp"
] | Hello! I'm get last version from git. When compile (Qt 5.5.1 (mingw492_32)) there is next error
file: validat1.cpp CryptoPP::memcpy_s has not been declared.
When i change to (coment // using CryptoPP::memcpy_s;) ALL COMPILED OK!! ALL TESTES PASSED!!
my changes in file: validat1.cpp is
```
//#if defined(__MINGW32_... | CryptoPP::memcpy_s has not been declared | https://api.github.com/repos/weidai11/cryptopp/issues/319/comments | 8 | 2016-10-10T11:09:07Z | 2016-10-18T06:17:11Z | https://github.com/weidai11/cryptopp/issues/319 | 181,988,526 | 319 |
[
"weidai11",
"cryptopp"
] | Andreas Mohr left a comment at [Issue 178](http://github.com/weidai11/cryptopp/issues/178#issuecomment-233405697). Its a large comment so please visit it.
If I am digesting it properly, it discussed potential issues with supporting multiple versions of Windows, and dependencies on macros `WINVER` and `_WIN32_WINNT`. I... | Remove dependencies on WINVER and _WIN32_WINNT | https://api.github.com/repos/weidai11/cryptopp/issues/318/comments | 7 | 2016-10-09T19:38:46Z | 2018-05-02T01:46:06Z | https://github.com/weidai11/cryptopp/issues/318 | 181,906,222 | 318 |
[
"weidai11",
"cryptopp"
] | From https://github.com/weidai11/cryptopp/issues/178#issuecomment-227894209
> By the way, Crypto++ violates separation of concerns because it lacks a good separation between development, testing and release. We need more volunteers with more spare cycles.
I don't see anything in the readme nor in any open issue for a... | Call for testers and spare cycles? | https://api.github.com/repos/weidai11/cryptopp/issues/317/comments | 9 | 2016-10-08T21:08:43Z | 2016-10-11T21:52:50Z | https://github.com/weidai11/cryptopp/issues/317 | 181,848,894 | 317 |
[
"weidai11",
"cryptopp"
] | We have code in a few places which guards like so:
```
<CustomBuild Include="x64dll.asm">
<ExcludedFromBuild Condition="'$(Platform)'=='Win32'">true</ExcludedFromBuild>
...
</CustomBuild>
```
The guard works well when X86 and X64 are the only platforms. However, it will fail if the configuration includes an AR... | Visual Studio projects include X86/X64 ASM for ARM-based MSBuilds | https://api.github.com/repos/weidai11/cryptopp/issues/316/comments | 1 | 2016-10-06T19:58:18Z | 2016-10-11T06:44:46Z | https://github.com/weidai11/cryptopp/issues/316 | 181,510,778 | 316 |
[
"weidai11",
"cryptopp"
] | [`cryptest.sh`](http://github.com/weidai11/cryptopp/blob/master/cryptest.sh) uncovered a compile failure under Cygwin-i686 after we added `<ossign.h>` to help with [Issue 277 and CVE-2016-7420](http://github.com/weidai11/cryptopp/issues/277). `g++` alone is OK; the failure occurs with `-std=c++XX` and `-std=gnu++XX`.
... | Cygwin cannot compile library with <ossig.h> with option -std=XXX | https://api.github.com/repos/weidai11/cryptopp/issues/315/comments | 1 | 2016-10-04T01:16:49Z | 2016-10-06T00:31:30Z | https://github.com/weidai11/cryptopp/issues/315 | 180,785,389 | 315 |
[
"weidai11",
"cryptopp"
] | While investigating the memory leaks after a debug run, we learned the leaks disappear when building using the [`cryptest.nmake`](http://github.com/weidai11/cryptopp/blob/master/cryptest.nmake) using nearly the same compiler and linker flags.
This report provides authority for cleanup so we can zero-in on the memory l... | Visual Studio 2010 project file cleanup | https://api.github.com/repos/weidai11/cryptopp/issues/314/comments | 1 | 2016-10-02T18:18:30Z | 2016-10-06T00:11:03Z | https://github.com/weidai11/cryptopp/issues/314 | 180,526,032 | 314 |
[
"weidai11",
"cryptopp"
] | Hi every one.
When i want to import Crypto++ folder(or zip file), i found the Omnet++ wizard :

Please help me to choose the right choice.
| Crypto++ on omnet++ | https://api.github.com/repos/weidai11/cryptopp/issues/313/comments | 2 | 2016-10-01T18:29:00Z | 2016-10-02T11:08:13Z | https://github.com/weidai11/cryptopp/issues/313 | 180,471,917 | 313 |
[
"weidai11",
"cryptopp"
] | Coverity Scan reports the following:
```
91 WindowsPipeReceiver::WindowsPipeReceiver()
92 : m_resultPending(false), m_eofReceived(false)
CID 148138 (1 of 1): Uninitialized scalar field (UNINIT_CTOR)
2. uninit_member: Non-static class member m_lastResult is not initialized
in this c... | Coverity finding CID 148134, 148138: Uninitialized scalar field (UNINIT_CTOR) | https://api.github.com/repos/weidai11/cryptopp/issues/312/comments | 1 | 2016-09-30T02:14:12Z | 2016-09-30T04:57:28Z | https://github.com/weidai11/cryptopp/issues/312 | 180,205,070 | 312 |
[
"weidai11",
"cryptopp"
] | ```
159 DWORD dwResult = ::WaitForMultipleObjectsEx((DWORD)m_threads.size(), threadHandles, TRUE, INFINITE, FALSE);
CID 171230 (1 of 1): Macro compares unsigned to 0 (NO_EFFECT)
unsigned_compare: This greater-than-or-equal-to-zero comparison of an unsigned value is always true. dwResult >= 0UL.
160 ... | Coverity finding CID 171230: Macro compares unsigned to 0 (NO_EFFECT) | https://api.github.com/repos/weidai11/cryptopp/issues/311/comments | 1 | 2016-09-29T19:11:43Z | 2016-09-30T19:42:58Z | https://github.com/weidai11/cryptopp/issues/311 | 180,136,470 | 311 |
[
"weidai11",
"cryptopp"
] | Coverity Scan under Windows reports the following. There are approximately 80 similar findings. It appears the pattern is causing problems under Windows. Unix, Linux and OS X did not produce a finding.
```
2. Condition this->IsNegative(), taking true branch.
3. Condition this->WordCount() == 0, taking true bra... | Coverity findings CID 171217-171280: Resource leak (RESOURCE_LEAK) | https://api.github.com/repos/weidai11/cryptopp/issues/310/comments | 5 | 2016-09-29T18:30:18Z | 2016-10-03T08:02:10Z | https://github.com/weidai11/cryptopp/issues/310 | 180,126,536 | 310 |
[
"weidai11",
"cryptopp"
] | We are attempting to add self tests to ensure we don't inadvertently break DLIES and ECIES. Under Crypto++ 5.6.2, we generated a known answer with the key provided in `TestData`. We then tried to verify the known answer under Crypto++ 5.6.2 and Crypto++ 5.6.5.
```
// Crypto++ 5.6.2
DLIES<NoCofactorMultiplication,true... | DLIES cannot decrypt message in new context | https://api.github.com/repos/weidai11/cryptopp/issues/307/comments | 1 | 2016-09-25T19:05:25Z | 2018-01-12T22:27:16Z | https://github.com/weidai11/cryptopp/issues/307 | 179,102,575 | 307 |
[
"weidai11",
"cryptopp"
] | As you can see a 20 is added to the hex encoded result.. 20 in hexidecimal is a whitespace.
```
// encode hex to string
string hexEncode(string v)
{
string out;
CryptoPP::StringSource s(v,true,new CryptoPP::HexEncoder(new CryptoPP::StringSink(out)));
return(out);
}
void pbkdf2()
{
std::string pin ... | PKCS5_PBKDF2_HMAC::DeriveKey adds a whitespace | https://api.github.com/repos/weidai11/cryptopp/issues/305/comments | 6 | 2016-09-23T22:51:15Z | 2016-09-24T01:42:09Z | https://github.com/weidai11/cryptopp/issues/305 | 178,989,596 | 305 |
[
"weidai11",
"cryptopp"
] | `cryptest.sh` reports the following using g++ 4.9.2-10 on Debian 8.6/i686. It occurs with and without `-std=c++03`. Its also duplicates under g++5.3 on Fedora 23/i686. Finally, it duplicates with `vmac.cpp` from Crypto++ 5.6.2.
```
make CXXFLAGS="-DDEBUG -g3 -O0 -std=c++03 -march=native -pipe -fsanitize=address -fno-o... | Asan and "AddressSanitizer: SEGV on unknown address 0xfffffef0" in VMAC | https://api.github.com/repos/weidai11/cryptopp/issues/304/comments | 3 | 2016-09-23T20:36:11Z | 2019-07-05T21:39:27Z | https://github.com/weidai11/cryptopp/issues/304 | 178,968,047 | 304 |
[
"weidai11",
"cryptopp"
] | I'm getting ready to dump some additional test scripts into the library. I'm concerned the scripts are moving beyond _"reasonable and tidy"_ and into the _"unreasonable and messy"_ area. A dozen or so different scripts kind of pollutes the root directory.
| Add TestScripts directory; move test fodder into it | https://api.github.com/repos/weidai11/cryptopp/issues/303/comments | 1 | 2016-09-23T15:15:09Z | 2016-10-08T05:35:27Z | https://github.com/weidai11/cryptopp/issues/303 | 178,903,282 | 303 |
[
"weidai11",
"cryptopp"
] | John Byrd privately reported a crash in AES under Microsoft compilers due to use of `_malloca`, `AliasedWithTables` and `_freea`. `_malloca` and `_freea` are Microsoft SDLC functions (`alloca` is on Microsoft's [SDLC banned function list](http://msdn.microsoft.com/en-us/library/bb288454.aspx)). Microsoft sometimes uses... | AES and incorrect use or _malloca() and _freea() under Microsoft compilers | https://api.github.com/repos/weidai11/cryptopp/issues/302/comments | 10 | 2016-09-23T01:16:51Z | 2017-09-17T00:40:07Z | https://github.com/weidai11/cryptopp/issues/302 | 178,760,379 | 302 |
[
"weidai11",
"cryptopp"
] | Clang 3.9 on OS X is complaining about the following.
We tried to fix with a [simple extern declaration guarded to avoid duplicate definitions in the DLL](http://github.com/weidai11/cryptopp/pull/270), but we had to [back it out because it broke GCC and Windows](http://github.com/weidai11/cryptopp/pull/294).
I'm begi... | Clang 3.9 and missing member definitions for template classes | https://api.github.com/repos/weidai11/cryptopp/issues/300/comments | 3 | 2016-09-22T16:38:15Z | 2016-09-23T04:01:01Z | https://github.com/weidai11/cryptopp/issues/300 | 178,660,799 | 300 |
[
"weidai11",
"cryptopp"
] | CID 12086 (3-4 of 4): Use of untrusted scalar value (TAINTED_SCALAR) (Ubuntu 12 i686)
```
363 else if (command == "b2")
27. tainted_data_transitive: Call to function basic_string with tainted argument argv[3] transitively taints <temporary>.
28. tainted_data: Passing tainted variable std::string const(argv[3]... | Coverity finding CID 12086: Use of untrusted scalar value (TAINTED_SCALAR) | https://api.github.com/repos/weidai11/cryptopp/issues/299/comments | 2 | 2016-09-22T04:10:08Z | 2016-09-23T14:39:06Z | https://github.com/weidai11/cryptopp/issues/299 | 178,517,776 | 299 |
[
"weidai11",
"cryptopp"
] | CID 170382 (1 of 1): Operands don't affect result (CONSTANT_EXPRESSION_RESULT)
```
114static IDEA::Word MulInv(IDEA::Word x)
115{
116 IDEA::Word y=x;
117 for (unsigned i=0; i<15; i++)
118 {
CID 170382 (1 of 1): Operands don't affect result
result_independent_of_operands: (y & 65535) <= 655... | Coverity finding CID 170382: Operands don't affect result (CONSTANT_EXPRESSION_RESULT) | https://api.github.com/repos/weidai11/cryptopp/issues/298/comments | 1 | 2016-09-22T01:13:58Z | 2016-09-22T01:18:27Z | https://github.com/weidai11/cryptopp/issues/298 | 178,498,816 | 298 |
[
"weidai11",
"cryptopp"
] | For the purpose of supporting Rijndael features not included in AES, specifically 192- and 256-bit block sizes.
In case it matters, AESNI instruction set allows hardware-optimized RIjndael implementation, not only AES.
| Separate AES from Rijndael; Support Rijndael 192-bit and 256-bit block sizes | https://api.github.com/repos/weidai11/cryptopp/issues/297/comments | 10 | 2016-09-21T14:21:53Z | 2019-07-11T21:47:13Z | https://github.com/weidai11/cryptopp/issues/297 | 178,361,613 | 297 |
[
"weidai11",
"cryptopp"
] | CID 170383 (4 of 4): Overflowed return value (INTEGER_OVERFLOW)
```
836template <class T1, class T2>
837inline T2 ModPowerOf2(const T1 &a, const T2 &b)
838{
839 CRYPTOPP_ASSERT(IsPowerOf2(b));
1. overflow: Subtract operation overflows on operands b and 1U.
CID 170383 (4 of 4): Overflowed return valu... | Coverity finding CID 170383 Overflowed return value (INTEGER_OVERFLOW) | https://api.github.com/repos/weidai11/cryptopp/issues/295/comments | 1 | 2016-09-21T07:02:10Z | 2016-09-22T02:11:23Z | https://github.com/weidai11/cryptopp/issues/295 | 178,263,336 | 295 |
[
"weidai11",
"cryptopp"
] | Coverity finding CID 170385 (1 of 1): Uninitialized scalar field (UNINIT_CTOR) in `integer.cpp`:
```
342 #ifdef CRYPTOPP_NATIVE_DWORD_AVAILABLE
1. member_decl: Class member declaration for m_whole.
343 dword m_whole;
344 #else
```
1. uninit_member: Non-static class member m_whole is not initialized in th... | Coverity finding CID 170385, Uninitialized scalar field (UNINIT_CTOR) | https://api.github.com/repos/weidai11/cryptopp/issues/293/comments | 2 | 2016-09-21T00:32:19Z | 2016-09-21T13:21:12Z | https://github.com/weidai11/cryptopp/issues/293 | 178,215,520 | 293 |
[
"weidai11",
"cryptopp"
] | Current master fails to compile. Keccak got broken by commit ccd59710 (was it tested before merging?):
```
. . . . .
clang++ -maes -mpclmul -mrdrnd -msse2 -mssse3 -msse4.2 -mtune=native -Os -Ofast -std=c++11 -fPIC -march=native -pipe -c keccak.cpp
In file included from keccak.cpp:18:
./keccak.h:81:40: error: constexpr... | Commit ccd59710 broke Keccak | https://api.github.com/repos/weidai11/cryptopp/issues/292/comments | 2 | 2016-09-20T22:30:56Z | 2016-09-21T00:41:32Z | https://github.com/weidai11/cryptopp/issues/292 | 178,197,393 | 292 |
[
"weidai11",
"cryptopp"
] | In addition to #272, I think the project would benefit from having regular commit signing. I'd be happy to argue the benefits but I think that they're self-evident (especially within this community). Maybe also include a small contributing guide so others can start signing too (or is that asking for too much)?
| Crypto++ and Commit Signing | https://api.github.com/repos/weidai11/cryptopp/issues/290/comments | 20 | 2016-09-20T08:31:44Z | 2016-09-28T02:47:18Z | https://github.com/weidai11/cryptopp/issues/290 | 177,997,974 | 290 |
[
"weidai11",
"cryptopp"
] | ```
cpu.cpp:228:84: error: constructor priorities are not supported
void __attribute__ ((constructor (CRYPTOPP_INIT_PRIORITY + 50))) DetectX86Features()
^
gmake: *** [cpu.o] Error 1
gmake: *** Waiting for unfinished jobs....
```
| Solaris GCC and "error: constructor priorities are not supported" | https://api.github.com/repos/weidai11/cryptopp/issues/289/comments | 1 | 2016-09-20T00:05:21Z | 2016-09-20T01:44:39Z | https://github.com/weidai11/cryptopp/issues/289 | 177,929,900 | 289 |
[
"weidai11",
"cryptopp"
] | While working on Skein I used the idea that the final, main instances only differentiate in digest-size.
So I wrote a template class, with the digest-size as a template and generalized everything digest-size dependent (e.g. the constants, the algorithmName(),...).
Should we also consider this for Keccak / SHA3?
The ... | Making the derived SHA3 and Keccak classes templates with typedefs instead of their own classes? | https://api.github.com/repos/weidai11/cryptopp/issues/288/comments | 1 | 2016-09-19T22:22:21Z | 2016-09-20T14:32:30Z | https://github.com/weidai11/cryptopp/issues/288 | 177,913,901 | 288 |
[
"weidai11",
"cryptopp"
] | Also see [Pull Request 286: Trivial VC10 project fixes](https://github.com/weidai11/cryptopp/pull/286): The digested version is:
Take this:
```
- <ClCompile Include="zlib.cpp">
- <Optimization Condition="'$(Configuration)|$(Platform)'=='DLL-Import Debug|Win32'">Disabled</Optimization>
- <PreprocessorDefi... | Cleanup VS2010 Project Files by inheriting Optimizations and PreprocessorDefinitions | https://api.github.com/repos/weidai11/cryptopp/issues/287/comments | 1 | 2016-09-19T21:49:03Z | 2016-09-19T21:53:26Z | https://github.com/weidai11/cryptopp/issues/287 | 177,907,376 | 287 |
[
"weidai11",
"cryptopp"
] | We are experiencing the following on Sun Studio 12.2 (SunCC 5.11) through Sun Studio 12.4 (SunCC 5.13). The machine the initial cut-in was tested used Sun Studio 12.5 and it worked fine.
The error below is due to `DebugTraphandler`.
```
/opt/solstudio12.2/bin/CC -DDEBUG -g -xO0 -D__SSE2__ -D__SSE3__ -D__SSSE3__
-xa... | Sun Studio 12.2-12.4 and failed debug compile for ossig.h | https://api.github.com/repos/weidai11/cryptopp/issues/285/comments | 1 | 2016-09-18T18:45:21Z | 2016-09-18T21:36:55Z | https://github.com/weidai11/cryptopp/issues/285 | 177,668,642 | 285 |
[
"weidai11",
"cryptopp"
] | ```
$ CXX=/opt/developerstudio12.5/bin/CC CXXFLAGS="-DNDEBUG -g2 -O2 -D__SSE2__ -D__SSE3__ -D__SSSE3__ -xarch=ssse3" gmake -j 4
...
$ ./cryptest.exe tv gcm
Testing AuthenticatedSymmetricCipher algorithm AES/GCM.
..incorrectly encrypted: 0388DACE60B6A392F328C2B971B2FE78B5E404DE87C2BDA835F5026D5E251EBC
AlgorithmType: A... | SunCC 12.2 - 12.5 and incorrect results for GCM when using SSE2 ASM | https://api.github.com/repos/weidai11/cryptopp/issues/284/comments | 1 | 2016-09-18T15:03:16Z | 2016-09-18T15:52:14Z | https://github.com/weidai11/cryptopp/issues/284 | 177,656,701 | 284 |
[
"weidai11",
"cryptopp"
] | [`cryptest.sh`](http://github.com/weidai11/cryptopp/blob/master/cryptest.sh) has a test to build the _library_ (`libcryptopp.a`) and the test _program_ (`cryptest.exe`) with different capabilities. In this setup, `libcryptopp.a` is built with SSE2 via `-march=x86-64`, while `cryptest.exe` is built with AES and above us... | Link failure with mismatched library and program capabilities | https://api.github.com/repos/weidai11/cryptopp/issues/283/comments | 2 | 2016-09-18T13:18:07Z | 2016-11-23T21:50:47Z | https://github.com/weidai11/cryptopp/issues/283 | 177,651,320 | 283 |
[
"weidai11",
"cryptopp"
] | Skein is the hash function from Schneier, Fergueson and Lucks from the final round of the SHA-3 competition.
This issue is here to track the progress of the implementation of Skein and its underlying mode UBI and the underlying tweakable block cipher Threefish.
With the implementation I largely orientated at the BLAK... | Add tweakable block ciphers, Threefish and Skein to Crypto++ | https://api.github.com/repos/weidai11/cryptopp/issues/279/comments | 6 | 2016-09-16T14:10:32Z | 2018-01-12T22:25:34Z | https://github.com/weidai11/cryptopp/issues/279 | 177,435,276 | 279 |
[
"weidai11",
"cryptopp"
] | Some products (like https://github.com/cryfs/cryfs.git) want to utilize keys longer than 256 bits. However `mars.h` sets the cap at 32 bytes, even though the original algorithm sets it at 56 bytes.
There is no reason for us to set that limitation (we aren't NIST, after all), so I request that it is removed.
| MARS max keysize is limited at 32 bytes - breaks CryFS | https://api.github.com/repos/weidai11/cryptopp/issues/278/comments | 6 | 2016-09-16T12:36:00Z | 2016-09-16T17:16:03Z | https://github.com/weidai11/cryptopp/issues/278 | 177,414,961 | 278 |
[
"weidai11",
"cryptopp"
] | From a recent discussion with the Debian Security Team:
> On Thu, Sep 15, 2016 at 3:21 PM, Jeffrey Walton noloader@gmail.com wrote:
>
> > Thanks Florian.
> >
> > > this matter does not seem to be something for the Debian security
> > > team. Debian doesn't enable coredumps by default, and crypto++
> > > ups... | Cut-over to CRYPTOPP_ASSERT due to CVE-2016-7420 | https://api.github.com/repos/weidai11/cryptopp/issues/277/comments | 2 | 2016-09-15T21:07:01Z | 2017-09-17T00:40:20Z | https://github.com/weidai11/cryptopp/issues/277 | 177,290,162 | 277 |
[
"weidai11",
"cryptopp"
] | Sigh...
```
cryptopp-build$ rm -rf * && CXX=/opt/solstudio12.2/bin/CC cmake ../cryptopp
cryptopp-build$ make
Scanning dependencies of target cryptopp-object
[ 1%] Building CXX object CMakeFiles/cryptopp-object.dir/cryptlib.cpp.o
CC: Warning: -xchip=native detection failed, falling back to -xchip=generic
[ 2%] Buildi... | CMake produces artifacts without debugging information | https://api.github.com/repos/weidai11/cryptopp/issues/276/comments | 5 | 2016-09-15T16:03:43Z | 2017-09-16T22:41:06Z | https://github.com/weidai11/cryptopp/issues/276 | 177,218,257 | 276 |
[
"weidai11",
"cryptopp"
] | CMake does not configure the library to the project's specifications.
The Cmake related files will no longer be distributed in the ZIP. The CMake related files will be available in Master.
The decision could change in the future if someone steps up to maintain it. CMake has too many open issues, and neither UB and JW... | Remove CMake from Release ZIP | https://api.github.com/repos/weidai11/cryptopp/issues/275/comments | 1 | 2016-09-15T15:45:32Z | 2016-09-15T15:46:21Z | https://github.com/weidai11/cryptopp/issues/275 | 177,213,595 | 275 |
[
"weidai11",
"cryptopp"
] | Testing under Solaris 11.3 is revealing:
```
[ 3%] Building CXX object CMakeFiles/cryptopp-object.dir/integer.cpp.o
/opt/solarisstudio12.3/bin/CC -fPIC -native -m64 -template=no%extdef -o CMakeFiles/cryptopp-object.dir/integer.cpp.o
-c /export/home/jwalton/cryptopp/integer.cpp
CC: Warning: -xchip=native detection fai... | Solaris, integer.cpp and "Types cannot be declared in anonymous union" | https://api.github.com/repos/weidai11/cryptopp/issues/274/comments | 1 | 2016-09-15T00:43:33Z | 2016-09-15T16:25:24Z | https://github.com/weidai11/cryptopp/issues/274 | 177,059,606 | 274 |
[
"weidai11",
"cryptopp"
] | At [Commit 9280850b2609153b](http://github.com/weidai11/cryptopp/commit/9280850b2609153b60c072378acbbf4ccc75b359) we enabled `VERBOSE=1` by default. Its revealing less than ideal `CXXFLAGS` with a basic or default configuration information:
```
Scanning dependencies of target cryptopp-object
...
[ 0%] [ 1%] Building... | Cmake lacks -march=native for compilers which support it | https://api.github.com/repos/weidai11/cryptopp/issues/273/comments | 4 | 2016-09-14T15:54:32Z | 2016-09-27T01:14:17Z | https://github.com/weidai11/cryptopp/issues/273 | 176,946,357 | 273 |
[
"weidai11",
"cryptopp"
] | A few of our responsibilities include coordinating with the distributions on security issues, coordinating with the distributions releases, and support distros in packaging the library to ensure the best deliverable. When we release, we coordinate with our package maintainers to give them a "heads up".
We received som... | Crypto++ and Release Signing | https://api.github.com/repos/weidai11/cryptopp/issues/272/comments | 9 | 2016-09-14T11:05:53Z | 2018-12-27T19:05:53Z | https://github.com/weidai11/cryptopp/issues/272 | 176,878,431 | 272 |
[
"weidai11",
"cryptopp"
] | Cmake is producing output artifacts that can't be linked.
**_ARM BananaPi dev-board**_:
```
Scanning dependencies of target cryptest
/usr/bin/ld: CMakeFiles/cryptopp-object.dir/cryptlib.cpp.o: relocation R_ARM_THM_MOVW_ABS_NC against
`__pthread_key_create' can not be used when making a shared object; recompile with -... | Cmake and output artifacts that can't be linked due to missing PIC | https://api.github.com/repos/weidai11/cryptopp/issues/271/comments | 1 | 2016-09-14T09:32:54Z | 2016-09-14T13:30:39Z | https://github.com/weidai11/cryptopp/issues/271 | 176,859,503 | 271 |
[
"weidai11",
"cryptopp"
] | Using Cmake with the SunCC compiler results in link errors:
```
$ gamke -j 4
...
/opt/developerstudio12.5/bin/CC -DNDEBUG -g2 -O2 -D__SSE2__ -D__SSE3__ -D__SSSE3__ -D__SSE4_1__
-D__SSE4_2__ -D__AES__ -D__PCLMUL__ -D__RDRND__ -D__RDSEED__ -D__AVX__ -D__AVX2__
-D__BMI__ -D__BMI2__ -D__ADX__ -xarch=avx2_i
CMakeFiles/c... | Cmake and failed link when using SunCC | https://api.github.com/repos/weidai11/cryptopp/issues/269/comments | 1 | 2016-09-13T15:27:54Z | 2016-09-13T16:58:36Z | https://github.com/weidai11/cryptopp/issues/269 | 176,672,275 | 269 |
[
"weidai11",
"cryptopp"
] | Our [`CmakeList.txt`](http://github.com/weidai11/cryptopp/blob/master/CMakeLists.txt) uses [`include(GNUInstallDirs)`](http://cmake.org/cmake/help/v3.0/module/GNUInstallDirs.html). According to the Cmake manual on [`GNUInstallDirs`](http://cmake.org/cmake/help/v3.0/module/GNUInstallDirs.html):
> Provides install direc... | CmakeList.txt calls out GNUInstallDirs | https://api.github.com/repos/weidai11/cryptopp/issues/268/comments | 1 | 2016-09-13T13:43:53Z | 2016-10-27T18:05:14Z | https://github.com/weidai11/cryptopp/issues/268 | 176,644,102 | 268 |
[
"weidai11",
"cryptopp"
] | ```
$ export CXX=/opt/developerstudio12.5/bin/CC
$ export CXXFLAGS="-DNDEBUG -g2 -O2 -D__SSE2__ -D__SSE3__ -D__SSSE3__ -D__SSE4_1__ -D__SSE4_2__
-D__AES__ -D__PCLMUL__ -D__RDRND__ -D__RDSEED__ -D__AVX__ -D__AVX2__ -D__BMI__ -D__BMI2__
-D__ADX__ -xarch=avx2_i"
$ cmake ../cryptopp
-- The CXX compiler identification is... | CMake fails to generate Makefiles on Solaris 11 wuth SunCC 5.14 | https://api.github.com/repos/weidai11/cryptopp/issues/267/comments | 1 | 2016-09-13T06:48:04Z | 2016-09-13T15:31:09Z | https://github.com/weidai11/cryptopp/issues/267 | 176,562,997 | 267 |
[
"weidai11",
"cryptopp"
] | This surfaced at [Commit fff2c91b9641dd37](http://github.com/weidai11/cryptopp/commit/fff2c91b9641dd378d853145534f47a3f1a426f1). When attempting to validate TLS-ChaCha test vectors for interop purposes, we used test `Encrypt` because we lacked a `Keystream`:
```
$ ./cryptest.exe tv tls_chacha
Using seed: 1473724933 ... | Testing infrastructure lacks a Keystream test | https://api.github.com/repos/weidai11/cryptopp/issues/266/comments | 1 | 2016-09-13T00:08:23Z | 2017-01-02T20:23:36Z | https://github.com/weidai11/cryptopp/issues/266 | 176,516,081 | 266 |
[
"weidai11",
"cryptopp"
] | We added test vectors for TLS-ChaCha at [Commit fff2c91b9641dd37](http://github.com/weidai11/cryptopp/commit/fff2c91b9641dd378d853145534f47a3f1a426f1). The test vectors fail to validate under our implementation.
Our implementation uses Benstein and ECRYPT's implementation with test vectors from http://tools.ietf.org/h... | ChaCha fails to validate TLS-ChaCha test vectors | https://api.github.com/repos/weidai11/cryptopp/issues/265/comments | 0 | 2016-09-13T00:02:48Z | 2019-01-24T14:42:49Z | https://github.com/weidai11/cryptopp/issues/265 | 176,515,304 | 265 |
[
"weidai11",
"cryptopp"
] | `cryptest.sh` reports the following on Ubuntu 12 i686 testing (x86_64 is OK).
```
clang++ -DNDEBUG -g2 -O2 -march=native -pipe -c sha.cpp
sha.cpp:731:2: error: Unexpected token!
ASJ( jmp, 0, f)
^
./cpu.h:530:23: note: expanded from macro 'ASJ'
#define ASJ(x, y, z) GNU_ASJ(x, y, z)
... | Clang 3.3, i686 and "error: unknown use of instruction mnemonic without a size suffix" | https://api.github.com/repos/weidai11/cryptopp/issues/264/comments | 1 | 2016-09-12T07:40:45Z | 2016-09-21T20:08:55Z | https://github.com/weidai11/cryptopp/issues/264 | 176,312,240 | 264 |
[
"weidai11",
"cryptopp"
] | We recently added Keccak classes to provide generic Keccak behaviors. The behaviors include conforming to SHA's round three selection process and the XOF byte of `0x01`. The existing SHA3 class was also modified to conform to NIST FIPS 202, which provides different results from the round three selection. Also see [Kecc... | Need better design for Keccak | https://api.github.com/repos/weidai11/cryptopp/issues/262/comments | 4 | 2016-09-09T16:10:02Z | 2018-01-21T16:56:24Z | https://github.com/weidai11/cryptopp/issues/262 | 176,047,578 | 262 |
[
"weidai11",
"cryptopp"
] | We still carry around `cryptdll.dsp`, `cryptest.dsp`, `cryptest.dsw`, `cryptlib.dsp`, `dlltest.dsp` from the VC++ 5.0/6.0 days. I use them for testing on Windows 2000 and Windows XP. Outside of the test cases, I don't believe anyone uses them anymore.
I'd like to move `cryptdll.dsp`, `cryptest.dsp`, `cryptest.dsw`, `c... | Archive VC++ 6.0 workspace and project files | https://api.github.com/repos/weidai11/cryptopp/issues/261/comments | 1 | 2016-09-08T21:03:23Z | 2016-09-09T07:37:45Z | https://github.com/weidai11/cryptopp/issues/261 | 175,863,944 | 261 |
[
"weidai11",
"cryptopp"
] | [`integer.cpp`](http://github.com/weidai11/cryptopp/blob/master/integer.cpp) has some ARMEL work around for GCC 7.0 and below. The work around was applied at [Issue 31: BlumBlumShub validation fails under ARMEL (likely others)](http://github.com/weidai11/cryptopp/issues/31):
```
// Debian QEMU/ARMEL issue in MultiplyT... | Remove integer.cpp ARMEL workarounds | https://api.github.com/repos/weidai11/cryptopp/issues/259/comments | 1 | 2016-09-08T07:58:58Z | 2016-09-08T13:44:00Z | https://github.com/weidai11/cryptopp/issues/259 | 175,689,208 | 259 |
[
"weidai11",
"cryptopp"
] | I know the Keccak [site ](http://keccak.noekeon.org/) says HMAC is not necessary for SHA3 MAC construction. However, we have an environment where SHA3 and HMAC may be combined so I hacked in support for an internally maintained fork, something I'm trying to get away from.
Before cleaning this up and submitting a PR I ... | SHA3 HMAC Support | https://api.github.com/repos/weidai11/cryptopp/issues/257/comments | 10 | 2016-09-07T16:23:21Z | 2018-01-21T16:56:12Z | https://github.com/weidai11/cryptopp/issues/257 | 175,547,243 | 257 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.