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"
] | [`cryptest.sh`](http://github.com/weidai11/cryptopp/blob/master/cryptest.sh) reports the following under Apple Clang 6.0 (LLVM Clang 3.5). The machine is an early MacBook from 2010 with a Core2 Duo running OS X 10.9. The condition is a Debug build with either `-std=gnu++11` or `-std=c++11`. C++11 engages `alignas` rath... | error: requested alignment is less than minimum alignment of 16 for type 'unsigned __int128 [8]' | https://api.github.com/repos/weidai11/cryptopp/issues/256/comments | 4 | 2016-09-07T16:05:04Z | 2016-09-10T16:12:55Z | https://github.com/weidai11/cryptopp/issues/256 | 175,542,816 | 256 |
[
"weidai11",
"cryptopp"
] | This issue is related to [Issue 252: Rijndael Base::UncheckedSetKey and out-of-bounds read](http://github.com/weidai11/cryptopp/issues/252). In 252, after adding the self tests and changing some of the block ciphers to `FixedKeyLength`, we are catching symbol errors on OS X 10.5 (see below).
The issue is only present ... | OS X 10.5 and Missing symbols for FixedKeyLength<params>::KEYLENGTH | https://api.github.com/repos/weidai11/cryptopp/issues/255/comments | 1 | 2016-09-06T02:41:36Z | 2016-09-09T00:17:51Z | https://github.com/weidai11/cryptopp/issues/255 | 175,149,144 | 255 |
[
"weidai11",
"cryptopp"
] | I've recently encountered some kind of undefined behaviour and asked on stackoverflow and later on the [mailing list](https://groups.google.com/forum/#!topic/cryptopp-users/Vni5tsU7HT0) after figuring out what was wrong. (Using Version 5.6.3 from the website)
Debugging simultaneously with two Visual Studios (2015 - SP... | Rijndael Base::UncheckedSetKey and out-of-bounds read on rcLE | https://api.github.com/repos/weidai11/cryptopp/issues/252/comments | 21 | 2016-09-04T09:05:40Z | 2016-09-16T16:59:42Z | https://github.com/weidai11/cryptopp/issues/252 | 174,939,132 | 252 |
[
"weidai11",
"cryptopp"
] | I by far find Crypto++ beeter with Encrypting things better than the current Executable compressors 1 of them being UPX. It would be nice forsomeone to make a example project that would work as a executable compressor and/or encryptor.
| Make a Example of using Crypto++ as a basis of a Executable compressor. | https://api.github.com/repos/weidai11/cryptopp/issues/251/comments | 1 | 2016-08-30T22:10:30Z | 2016-09-02T04:47:11Z | https://github.com/weidai11/cryptopp/issues/251 | 174,138,685 | 251 |
[
"weidai11",
"cryptopp"
] | Did Crypto++ library support Curve25519 ? If not, when would expected implementation?
| Curve25519 support in Crypto++ | https://api.github.com/repos/weidai11/cryptopp/issues/250/comments | 4 | 2016-08-29T12:01:03Z | 2018-01-18T03:29:13Z | https://github.com/weidai11/cryptopp/issues/250 | 173,758,433 | 250 |
[
"weidai11",
"cryptopp"
] | I read crypto++ wiki https://cryptopp.com/wiki/CMake#Using_the_library_in_other_projects
I tried to add the following code in my cmake project:
``` cmake
find_package(CryptoPP REQUIRED)
target_link_libraries(YOUR_TARGET_NAME cryptopp-shared)
```
However, I got the following error message:
```
By not providing "Fi... | How to find crypto++ package using cmake? | https://api.github.com/repos/weidai11/cryptopp/issues/249/comments | 15 | 2016-08-29T02:57:29Z | 2021-11-02T11:04:39Z | https://github.com/weidai11/cryptopp/issues/249 | 173,687,191 | 249 |
[
"weidai11",
"cryptopp"
] | The following was reported by user _ahux_ on Stack Overflow at [Skip'ing on a Source does not work](http://stackoverflow.com/q/39166041):
> I use Crypto++ 5.6.3 and I need the `FileSource Skip(...)` function. Unfortunately this function does nothing!
>
> Here is a example for this function.
>
> ```
> string filename... | Skip'ing on a Source does not work | https://api.github.com/repos/weidai11/cryptopp/issues/248/comments | 4 | 2016-08-27T01:53:38Z | 2020-11-23T17:08:23Z | https://github.com/weidai11/cryptopp/issues/248 | 173,571,730 | 248 |
[
"weidai11",
"cryptopp"
] | [`cryptest.sh`](http://github.com/weidai11/cryptopp/blob/master/cryptest.sh) is revealing the following failure under Sun Studio 12.3 (SunCC 5.12). The box is running dual XEON's with SSE2, SSE3 and SSSE3, so it appears limited to `BLAKE2_SSE2_Compress64` at the moment.
```
CXX="/opt/solarisstudio12.3/bin/CC" CXXFLAGS... | Sun Studio 12.3 and BLAKE2b failures | https://api.github.com/repos/weidai11/cryptopp/issues/247/comments | 1 | 2016-08-24T06:23:42Z | 2016-08-24T06:40:43Z | https://github.com/weidai11/cryptopp/issues/247 | 172,873,619 | 247 |
[
"weidai11",
"cryptopp"
] | [`cryptest.sh`](http://github.com/weidai11/cryptopp/blob/master/cryptest.sh) is revealing the following failure under ARM-32. The result is from a CubieTruck5 running Linaro.
```
Testing: Clang compiler
/usr/bin/clang++ -DNDEBUG -O3 -march=armv7-a -mfpu=neon-vfpv4 -mfloat-abi=hard -c cryptlib.cpp
clang: error: the cla... | The clang compiler does not support '-mfpu=neon-vfpv4' | https://api.github.com/repos/weidai11/cryptopp/issues/246/comments | 1 | 2016-08-24T04:41:21Z | 2016-08-24T10:37:06Z | https://github.com/weidai11/cryptopp/issues/246 | 172,863,126 | 246 |
[
"weidai11",
"cryptopp"
] | [`cryptest.sh`](http://github.com/weidai11/cryptopp/blob/master/cryptest.sh) is revealing the following failure under Ubuntu 15. The main portion of the testing occurs using GCC. If Clang is available, then a quick testing pass is made with Clang. (The converse also holds. If Clang is the primary compiler for testing, ... | Clang and "error: SSSE3 instruction set not enabled" | https://api.github.com/repos/weidai11/cryptopp/issues/245/comments | 1 | 2016-08-22T22:51:24Z | 2016-08-24T10:37:23Z | https://github.com/weidai11/cryptopp/issues/245 | 172,573,707 | 245 |
[
"weidai11",
"cryptopp"
] | I am using cryptopp as submodule in a project. The install should go to "3rdparty/".
The CMakeLists.txt i use include the following directives
```
include(ExternalProject)
ExternalProject_Add(libcryptopp
GIT_REPOSITORY https://github.com/weidai11/cryptopp.git
PREFIX ${CRYPTOPP_SRC}
BUILD_IN_SOURCE 1
C... | Install path cannot be modified for certain targets | https://api.github.com/repos/weidai11/cryptopp/issues/244/comments | 1 | 2016-08-22T08:55:56Z | 2017-08-26T23:20:52Z | https://github.com/weidai11/cryptopp/issues/244 | 172,400,117 | 244 |
[
"weidai11",
"cryptopp"
] | In case there's any interest to it: cross-compiling with toolchain android-ndk-r12b adding the c++11 flag fails.
Steps to reproduce:
```
export ANDROID_NDK_ROOT=~/tools/android-ndk-r12b
export CXXFLAGS=-std=c++11
. ./setenv-android.sh
make -f GNUmakefile-cross
arm-linux-androideabi-g++ -std=c++11 -march=armv5te -m... | Cross compiling for android with c++11 | https://api.github.com/repos/weidai11/cryptopp/issues/243/comments | 2 | 2016-08-18T10:41:00Z | 2016-08-19T01:36:55Z | https://github.com/weidai11/cryptopp/issues/243 | 171,871,388 | 243 |
[
"weidai11",
"cryptopp"
] | When using sha3.h on your repository I get the following warnings:
warning: 'SHA3_512' is deprecated (declared at ../../cryptopp-90f9d1a/sha3.h:84): SHA-3 will be changing in the future due to FIPS 202 finalization [-Wdeprecated-declarations]
CryptoPP::SHA3_512 sha512;
^
However, if I use... | SHA3 FIPS 202 Deprecation messages | https://api.github.com/repos/weidai11/cryptopp/issues/240/comments | 4 | 2016-08-06T00:00:40Z | 2016-09-10T22:05:17Z | https://github.com/weidai11/cryptopp/issues/240 | 169,716,990 | 240 |
[
"weidai11",
"cryptopp"
] | Damn I wish GCC would follow vendor specifications instead of doing things their own way...
```
Testing: Debug, Aarch32 on Aarch64
g++ -DDEBUG -g3 -O0 -march=armv8-a+crc -mtune=cortex-a53 -mfpu=crypto-neon-fp-armv8 -mfloat-abi=hard -Wno-deprecated-declarations -fPIC -D_GLIBCXX_DEBUG -c cryptlib.cpp
g++ -DDEBUG -g3 -O... | GCC, ARMv8 and "fatal error: arm_acle.h: No such file or directory" | https://api.github.com/repos/weidai11/cryptopp/issues/238/comments | 1 | 2016-08-01T16:59:58Z | 2016-08-01T18:55:36Z | https://github.com/weidai11/cryptopp/issues/238 | 168,693,318 | 238 |
[
"weidai11",
"cryptopp"
] | I'll preface this issue by saying I almost never use windows so I apologize in advance if the error is only on my end.
Building against 0b8cea5 on Kovri's win build machine:
```
$ mkdir kovri/deps/cryptopp/build && cd kovri/deps/cryptopp/build
$ cmake -G 'MSYS Makefiles' ../
-- The C compiler identification is GNU 5.... | Mingw-w64: 'sigset_t' does not name a type | https://api.github.com/repos/weidai11/cryptopp/issues/237/comments | 9 | 2016-07-31T23:08:27Z | 2016-08-01T20:25:38Z | https://github.com/weidai11/cryptopp/issues/237 | 168,543,399 | 237 |
[
"weidai11",
"cryptopp"
] | We're catching a compile error on CPU dev-branch with Debian/x86_64/GCC 4.9 and Cygwin/x86_64/GCC 5.4. The error surfaced after [Commit 0e603ddc5d9ac383](http://github.com/weidai11/cryptopp/commit/0e603ddc5d9ac3834d5f571d6c0c771ea041e36a), which used the data model to determine `word64` typedef.
The error is as follow... | word64 compile problems due to SSE2 and NEON interfaces | https://api.github.com/repos/weidai11/cryptopp/issues/236/comments | 2 | 2016-07-31T06:09:27Z | 2016-09-08T06:23:40Z | https://github.com/weidai11/cryptopp/issues/236 | 168,503,926 | 236 |
[
"weidai11",
"cryptopp"
] | Pass by const reference for better perfrormance:
File _ecp.cpp_, line 348
`int operator-(const ZIterator& it2) {return int(it-it2.it);}`
File _integer.cpp_, line 372
`Word operator-(const Word& a)`
Another subject.
File _algebra.h_
`template <class T> class EuclideanDomainOf : public`AbstractEuclideanDomain<T>
Base... | Suggested by code analyzer | https://api.github.com/repos/weidai11/cryptopp/issues/235/comments | 8 | 2016-07-30T23:08:23Z | 2016-08-03T18:23:53Z | https://github.com/weidai11/cryptopp/issues/235 | 168,491,474 | 235 |
[
"weidai11",
"cryptopp"
] | This is currently in the GCM dev-branch, but it will be moved to Master eventually.
```
/usr/bin/clang++ -DNDEBUG -g2 -O2 -march=armv8-a+crc+crypto -fPIC -pipe -c gcm.cpp
gcm.cpp:200:7: error: no matching function for call to 'vcombine_u64'
c1 = vcombine_u64(vgetq_lane_u64(c1, 0), vgetq_lane_u64(c2, 0));
... | Clang 3.5 and "error: no matching function for call to vcombine_u64" | https://api.github.com/repos/weidai11/cryptopp/issues/234/comments | 2 | 2016-07-30T03:04:53Z | 2016-07-30T05:41:49Z | https://github.com/weidai11/cryptopp/issues/234 | 168,445,547 | 234 |
[
"weidai11",
"cryptopp"
] | We got an Aarch32 test case together with the help of GCC and SO. Aarch32 is basically the 32-bit instruction set from ARMv8. Its slightly different than the traditional 32-bit instruction set from ARMv7 and below. Also see [ARM NEON programming quick reference](https://community.arm.com/groups/android-community/blog/2... | Aarch32, GCC 4.9 and internal compiler error: in expand_shift_1, at expmed.c:2318 | https://api.github.com/repos/weidai11/cryptopp/issues/233/comments | 1 | 2016-07-28T12:00:36Z | 2016-07-29T03:58:23Z | https://github.com/weidai11/cryptopp/issues/233 | 168,078,993 | 233 |
[
"weidai11",
"cryptopp"
] | The following link errors occur **only** with clang when linking against [Kovri](https://github.com/monero-project/kovri). Tested on Arch, Ubuntu 14.04/15.10 and OSX 10.9.5 (clang 3.8.0, 3.6.0, 3.6.2, Apple LLVM version 6.0 (clang-600.0.57) (based on LLVM 3.5svn), respectively).
I've only tested against 0b8cea5 and `C... | Clang link errors when linking against Kovri | https://api.github.com/repos/weidai11/cryptopp/issues/232/comments | 8 | 2016-07-28T01:58:57Z | 2016-08-22T10:44:33Z | https://github.com/weidai11/cryptopp/issues/232 | 167,997,211 | 232 |
[
"weidai11",
"cryptopp"
] | Testing on a Raspberry Pi 3 is revealing a Bus Error. The RPI-3 is unique in that its ARMv8 with CRC extensions, but not Crypto extensions. Moreover, its running an ARMv7 hard-float (ARMHF) image. The combination explains the odd combinations of `CXXFLAGS` to enable features.
```
$ export CXXFLAGS="-DNDEBUG -g2 -O3 -m... | Raspberry Pi 3 and Bus Error | https://api.github.com/repos/weidai11/cryptopp/issues/231/comments | 1 | 2016-07-27T05:46:17Z | 2016-07-29T09:58:14Z | https://github.com/weidai11/cryptopp/issues/231 | 167,776,026 | 231 |
[
"weidai11",
"cryptopp"
] | [`cryptest.sh`](htts://github.com/weidai11/cryptopp/blob/master/cryptest.sh) is revealing the following issue on a Intel Core i7 5300. The 5th generation processor means BMI and BMI2 are available.
```
$ CXX=/bin/g++ gmake cpu.o
/bin/g++ -DNDEBUG -g2 -O2 -fPIC -march=native -Wa,--divide -pipe -c cpu.cpp
In file includ... | Sun GCC and missing 64-bit BMI/BMI2 instructions | https://api.github.com/repos/weidai11/cryptopp/issues/230/comments | 1 | 2016-07-20T04:57:58Z | 2016-07-20T08:08:50Z | https://github.com/weidai11/cryptopp/issues/230 | 166,495,896 | 230 |
[
"weidai11",
"cryptopp"
] | Compiling `rijndael.cpp` under Sun Studio 12.2 is failing to compile due to:
```
std::swap(*(__m128i *)(void *)(rk), *(__m128i *)(void *)(rk+4*m_rounds));
```
`__m128i` is an `unsigned long long[2]`, and C++03 does not provide the support to swap an array (C++11 formally added it). It seems all the other compilers si... | Sun Studio 12.1-12.3 and Error: cannot use vector unsigned long long[2] to initialize vector unsigned long long[2] | https://api.github.com/repos/weidai11/cryptopp/issues/229/comments | 1 | 2016-07-17T02:52:49Z | 2016-07-17T03:55:40Z | https://github.com/weidai11/cryptopp/issues/229 | 165,957,525 | 229 |
[
"weidai11",
"cryptopp"
] | The _Platform CXXFLAGS_ are `-D__SSE2__ -D__SSE3__ -D__SSSE3__ -D__SSE4_1__ -D__SSE4_2__ -D__AES__ -D__PCLMUL__ -D__RDRND__ -D__AVX__`. They are the defines that correspond to the CPU features from `isainfo -v`. They are how we determine the ASM and intrinsics to use because SunCC does not define them. Each machine wi... | SunCC 12.2 and failed compile using Platform CXXFLAGS | https://api.github.com/repos/weidai11/cryptopp/issues/228/comments | 2 | 2016-07-15T19:51:43Z | 2016-07-15T21:55:47Z | https://github.com/weidai11/cryptopp/issues/228 | 165,864,462 | 228 |
[
"weidai11",
"cryptopp"
] | [Issue 226, SunCC 12.2-12.4 with C++11 and failed compile for gcm.cpp](http://github.com/weidai11/cryptopp/issues/226), was a bit too specific in its remediation. As was [Issue 220: Sun Studio 12.5 and "assertion failed in function pr_post_process_node() @ preopt.c:3868"](http://github.com/weidai11/cryptopp/issues/220... | SunCC 12.2-12.5 and failed compile for gcm.cpp | https://api.github.com/repos/weidai11/cryptopp/issues/227/comments | 2 | 2016-07-15T19:29:47Z | 2016-09-18T14:30:09Z | https://github.com/weidai11/cryptopp/issues/227 | 165,860,864 | 227 |
[
"weidai11",
"cryptopp"
] | Sun Studio 12.2-12.4 reports the following when compiling gcm.cpp with AES-NI enabled:
```
$ cat ~/gcm.txt
$ /opt/solarisstudio12.4/bin/CC -DNDEBUG -g2 -O2 -std=c++11 -D__SSE2__ -D__SSE3__ -D__SSSE3__
-D__SSE4_1__ -D__SSE4_2__ -D__AES__ -D__PCLMUL__ -D__RDRND__ -D__AVX__ -native -m64 -KPIC
-template=no%extdef -w ... | SunCC 12.2-12.4 failed compile with C++{03|11} for gcm.cpp | https://api.github.com/repos/weidai11/cryptopp/issues/226/comments | 3 | 2016-07-15T08:53:22Z | 2018-07-16T00:24:00Z | https://github.com/weidai11/cryptopp/issues/226 | 165,740,101 | 226 |
[
"weidai11",
"cryptopp"
] | I'm trying to compile it on NVIDIA TX1 which is having arm64 A57 processor, and getting follow error:
``` shell
ubuntu@tegra-ubuntu:~/cryptopp-CRYPTOPP_5_6_3$ make
WARNING: CRYPTOPP_NO_UNALIGNED_DATA_ACCESS is not defined in config.h.
WARNING: CRYPTOPP_INIT_PRIORITY is not defined in config.h.
WARNING: CRYPTOPP_MAINTA... | Compiling cryptopp 5.6.3 on arm64 | https://api.github.com/repos/weidai11/cryptopp/issues/225/comments | 11 | 2016-07-15T03:54:14Z | 2016-07-22T01:54:59Z | https://github.com/weidai11/cryptopp/issues/225 | 165,706,469 | 225 |
[
"weidai11",
"cryptopp"
] | Sun Studio 12.4 reports the following when compiling `rijndael.cpp` with AES-NI enabled (its the only file we have not been able to enable):
```
/opt/solarisstudio12.4/bin/CC -D__SSE2__ -D__SSE3__ -D__SSSE3__ -D__SSE4_1__ -D__SSE4_2__ -D__PCLMUL__ -D__AES__ -D__RDRND__ -D__AVX__ -native -m64 -KPIC -template=no%extdef ... | SunCC and failed compile for rijndael.cpp | https://api.github.com/repos/weidai11/cryptopp/issues/224/comments | 2 | 2016-07-15T03:47:40Z | 2017-01-25T01:51:31Z | https://github.com/weidai11/cryptopp/issues/224 | 165,705,897 | 224 |
[
"weidai11",
"cryptopp"
] | Uri reported approximately 36 of these when using `-Ofast` on OS X.
```
Testing MAC algorithm Panama-BE.
....==22085== Conditional jump or move depends on uninitialised value(s)
==22085== at 0x1000BFEB0: TestSymmetricCipher(std::__1::map<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<... | Valgrind findings on uninitialized data on OS X when using -Ofast | https://api.github.com/repos/weidai11/cryptopp/issues/223/comments | 1 | 2016-07-13T04:26:29Z | 2016-07-13T04:43:22Z | https://github.com/weidai11/cryptopp/issues/223 | 165,234,604 | 223 |
[
"weidai11",
"cryptopp"
] | Trying to check for crytopp headers, I have this on configure.ac: `AC_CHECK_HEADERS(cryptopp/cryptlib.h,, AC_MSG_ERROR([cryptopp/cryptlib.h header not found or not usable]) )`
Configure reports error:
```
checking for libcryptopp... checking cryptopp/cryptlib.h usability... no
checking cryptopp/cryptlib.h presence...... | android cross compile autoconf header check | https://api.github.com/repos/weidai11/cryptopp/issues/222/comments | 11 | 2016-07-11T14:48:46Z | 2016-07-20T10:18:19Z | https://github.com/weidai11/cryptopp/issues/222 | 164,855,795 | 222 |
[
"weidai11",
"cryptopp"
] | Here is a small issue compiling the libraries in GCC for OSX (10.10.5 sdk):
```
/usr/bin/clang++ -std=c++11 -arch x86_64 -stdlib=libc++ -DCRYPTOPP_DISABLE_ASM -c rsa.cpp
In file included from rsa.cpp:4:
In file included from ./rsa.h:12:
./pubkey.h:638:26: warning: defaulted move assignment operator of 'InvertibleRSAFu... | Warnings in OSX GCC | https://api.github.com/repos/weidai11/cryptopp/issues/221/comments | 3 | 2016-07-10T12:12:10Z | 2016-07-12T19:50:05Z | https://github.com/weidai11/cryptopp/issues/221 | 164,712,920 | 221 |
[
"weidai11",
"cryptopp"
] | ```
$ CXX=/opt/developerstudio12.5/bin/CC CXXFLAGS="-DDEBUG -g3 -xO0" gmake
/opt/developerstudio12.5/bin/CC -DDEBUG -g3 -xO0 -native -m64 -KPIC -template=no%extdef -c gcm.cpp
assertion failed in function pr_post_process_node() @ preopt.c:3868
assert(nd_eq_(scope_first_stmt_(node), first_s))
CC: ube failed for gcm.cpp... | Sun Studio 12.5 and "assertion failed in function pr_post_process_node() @ preopt.c:3868" | https://api.github.com/repos/weidai11/cryptopp/issues/220/comments | 1 | 2016-07-09T09:57:40Z | 2016-07-15T20:07:02Z | https://github.com/weidai11/cryptopp/issues/220 | 164,660,264 | 220 |
[
"weidai11",
"cryptopp"
] | `cryptest.sh` reveals a build failure on Ubuntu 12.04 i686 with Binutils 2.22 when using the `ld.gold` linker _without_ PIC:
```
************************************
Testing: release, ld-gold linker
g++ -DNDEBUG -g2 -O2 -march=native -pipe -c cryptlib.cpp
g++ -DNDEBUG -g2 -O2 -march=native -pipe -c cpu.cpp
...
g++ -o... | ld.gold and i686 without PIC: "/usr/bin/ld: -f may not be used without -shared" | https://api.github.com/repos/weidai11/cryptopp/issues/219/comments | 2 | 2016-07-06T16:26:39Z | 2016-07-06T23:21:08Z | https://github.com/weidai11/cryptopp/issues/219 | 164,118,271 | 219 |
[
"weidai11",
"cryptopp"
] | UB and JW have been working on MacPorts improvements. MacPorts provides versions of GCC which are capable of using the Clang Integrated Assembler rather than the down level GNU AS. The compiler driver is told to use Clang IA with `-Wa,-q` compiler option. The down level GNU AS cannot assemble some SSE4+ instructions ge... | Merge 'clang-ia' (clang integrated assembler) into Master | https://api.github.com/repos/weidai11/cryptopp/issues/218/comments | 2 | 2016-07-04T20:57:27Z | 2016-07-05T16:31:35Z | https://github.com/weidai11/cryptopp/issues/218 | 163,741,899 | 218 |
[
"weidai11",
"cryptopp"
] | Using [Visual C++ 2015 stand alone toolchain](http://blogs.msdn.microsoft.com/vcblog/2015/11/02/announcing-visual-c-build-tools-2015-standalone-c-tools-for-build-environments/) and [cryptest.nmake](http://github.com/weidai11/cryptopp/blob/master/cryptest.nmake):
```
cl.exe /nologo /W4 /D_MBCS /Zi /TP /EHsc /MD... | VS2015 and multiple C4589 warnings, "Constructor of abstract class X ignores initializer for virtual base class Y" | https://api.github.com/repos/weidai11/cryptopp/issues/214/comments | 5 | 2016-07-04T12:45:56Z | 2018-01-21T16:55:45Z | https://github.com/weidai11/cryptopp/issues/214 | 163,669,703 | 214 |
[
"weidai11",
"cryptopp"
] | According to Microsoft ([here](http://answers.microsoft.com/en-us/windows/forum/windows_10-win_upgrade/which-edition-of-windows-10-will-support-arm64/d2c3396e-3a69-40a3-a3a7-4ec7db9e5c51?auth=1) and [here](http://blogs.windows.com/windowsexperience/2015/03/18/windows-10-iot-powering-the-internet-of-things/)), the compa... | Need to detect ARM64 for Windows | https://api.github.com/repos/weidai11/cryptopp/issues/213/comments | 3 | 2016-07-03T05:30:53Z | 2018-01-12T22:24:17Z | https://github.com/weidai11/cryptopp/issues/213 | 163,548,196 | 213 |
[
"weidai11",
"cryptopp"
] | Building with `export CXXFLAGS="-DDEBUG -g3 -O0 -std=c++03 -mfpu=neon -fPIC
-fsanitize=address -fno-omit-frame-pointer -D_GLIBCXX_DEBUG"` and under an Asan test, we get the following result.
Its hard to tell if this is a valid finding (one-off bug on our part), or an issue with Asan (a false positive). Based on the re... | ARM32, GCC 4.8 and Asan problems... | https://api.github.com/repos/weidai11/cryptopp/issues/212/comments | 1 | 2016-07-01T23:15:53Z | 2016-07-05T15:27:49Z | https://github.com/weidai11/cryptopp/issues/212 | 163,488,547 | 212 |
[
"weidai11",
"cryptopp"
] | Coverity produced a finding in `blake2.cpp` for lines 299-300:
```
CID 163670 (#1 of 1): Wrong size argument (SIZEOF_MISMATCH)suspicious_sizeof: Passing argument `this->m_block.data()` of type
`CryptoPP::AllocatorWithCleanup<CryptoPP::BLAKE2_ParameterBlock<true>, true>::pointer` and argument `32UL` to function `memset... | Coverity finding "The wrong size value is used as an argument to a function" | https://api.github.com/repos/weidai11/cryptopp/issues/210/comments | 1 | 2016-07-01T17:34:53Z | 2016-07-01T18:15:01Z | https://github.com/weidai11/cryptopp/issues/210 | 163,441,426 | 210 |
[
"weidai11",
"cryptopp"
] | We're catching a failure `Blake2s` under Visual Studio 2008 in a Win32/Release for the Validation Suite (`cryptest.exe v`). Win64 is OK, Win32/Debug is OK, and Test Vectors (`cryptest.exe tv blake2`) are OK.
```
BLAKE2s validation suite running...
passed algorithm name
FAILED BLAKE2s test set 0
FAILED BLAKE2s t... | Blake2s fails under VS2008/Win32/Release for Validation Suite | https://api.github.com/repos/weidai11/cryptopp/issues/209/comments | 1 | 2016-06-30T20:27:44Z | 2016-07-01T18:31:37Z | https://github.com/weidai11/cryptopp/issues/209 | 163,259,578 | 209 |
[
"weidai11",
"cryptopp"
] | Denis Bider offered some arguments to remove some code from the library at [issue 23: Recent Windows 8 and Windows 10 support broke Windows 7/VS 2012](https://github.com/weidai11/cryptopp/issues/178#issuecomment-227908380). If I am parsing the comment correctly, DB suggests removing `Socket`, `Pipe` and `Thread` from t... | Investigate moving OS specific Socket and Thread to the Patch Page | https://api.github.com/repos/weidai11/cryptopp/issues/208/comments | 5 | 2016-06-29T22:23:56Z | 2018-08-18T04:20:01Z | https://github.com/weidai11/cryptopp/issues/208 | 163,040,873 | 208 |
[
"weidai11",
"cryptopp"
] | Hi.
I'm using 5.6.3 currently. And can not find SONAME any more. (In 5.6.2, it exists). I used this command to check soname:
`objdump libcryptopp.so -x | grep soname
`
And used the following commands to build:
```
make -j 25
make -j 25 test
make install
make libcryptopp.a libcryptopp.so cryptest.exe
```
| SONAME not found in libcryptopp.so | https://api.github.com/repos/weidai11/cryptopp/issues/207/comments | 6 | 2016-06-29T12:19:14Z | 2016-09-11T02:28:28Z | https://github.com/weidai11/cryptopp/issues/207 | 162,911,008 | 207 |
[
"weidai11",
"cryptopp"
] | We have a couple of issues under GCC 4.8 and 4.9 when using `-std=c++11` and `-std=c++14`. The issue is the instructions `pclmulqdq128` and `aeskeygenassist128` used in inline assembly cannot compile:
```
$ make CXXFLAGS="-DDEBUG -g3 -O0 -std=c++11 -fPIC -march=native -pipe" vmac.o
g++ -DDEBUG -g3 -O0 -std=c++11 -fPIC... | GCC 4.8/4.9, -std=c++11 and "error: expected ‘)’ before __builtin_ia32_pclmulqdq128" | https://api.github.com/repos/weidai11/cryptopp/issues/206/comments | 3 | 2016-06-27T10:57:48Z | 2016-09-19T01:22:53Z | https://github.com/weidai11/cryptopp/issues/206 | 162,425,429 | 206 |
[
"weidai11",
"cryptopp"
] | Uri Blumenthal reports the following after testing under Xcode when BMI is in effect:
```
clang++ -march=native -mbmi -c cryptlib.cpp
In file included from cryptlib.cpp:19:
./misc.h:644:23: error: use of undeclared identifier '_tzcnt_u32'; did you mean '__tzcnt_u32'?
return (unsigned int)_tzcnt_u32(v);
... | Use of undeclared identifiers '_tzcnt_u32' and '_blsr_u32' | https://api.github.com/repos/weidai11/cryptopp/issues/205/comments | 1 | 2016-06-26T10:11:27Z | 2016-06-26T13:54:25Z | https://github.com/weidai11/cryptopp/issues/205 | 162,321,310 | 205 |
[
"weidai11",
"cryptopp"
] | ```
AES::Encryption aesEncryption((byte *)key, AES::MAX_KEYLENGTH);
CFB_Mode_ExternalCipher::Encryption cfbEncryption(aesEncryption, iv);
StreamTransformationFilter cfbEncryptor(cfbEncryption, new HexEncoder(new StringSink(outstr)));
cfbEncryptor.Put((byte *)plainText, strlen(plainText));
cfbEncry... | I write this code, I need to release the resources of the 'new' ? | https://api.github.com/repos/weidai11/cryptopp/issues/204/comments | 1 | 2016-06-25T07:04:20Z | 2016-06-25T07:10:08Z | https://github.com/weidai11/cryptopp/issues/204 | 162,267,960 | 204 |
[
"weidai11",
"cryptopp"
] | An audit after plestrin uncovered [Issue 146: Timing Attack Counter Measure AES](http://github.com/weidai11/cryptopp/issues/146) revealed Camellia may have the same issue. This PR documents the potential issue and provides authorization for the repair.
| Timing Attack Counter Measure Camellia | https://api.github.com/repos/weidai11/cryptopp/issues/203/comments | 1 | 2016-06-22T20:42:35Z | 2016-06-22T20:44:17Z | https://github.com/weidai11/cryptopp/issues/203 | 161,780,964 | 203 |
[
"weidai11",
"cryptopp"
] | The following is from `cryptest.sh`. It appears Debian's X32 `chroot` environment does not mount `/proc`, and it causes ASAN failures:
```
# grep -B 1 'ERROR: ' cryptest-x32.txt
==28650==Sanitizer CHECK failed: ../../../../src/libsanitizer/sanitizer_common/sanitizer_procmaps_common.cc:68 ((proc_self_maps_.len)) > ((0... | ASAN checks fail under X32 | https://api.github.com/repos/weidai11/cryptopp/issues/202/comments | 1 | 2016-06-22T12:06:10Z | 2016-06-22T13:14:17Z | https://github.com/weidai11/cryptopp/issues/202 | 161,664,432 | 202 |
[
"weidai11",
"cryptopp"
] | From Ubuntu LTS:
```
$ lsb_release -a
Distributor ID: Ubuntu
Description: Ubuntu 12.04.5 LTS
Release: 12.04
Codename: precise
```
Here's the Cmake output:
```
$ cmake .
-- The C compiler identification is GNU
-- The CXX compiler identification is Intel
...
-- Check if the system is big endian - little endian... | Cmake and "include_directories given empty-string as include directory" | https://api.github.com/repos/weidai11/cryptopp/issues/199/comments | 4 | 2016-06-20T20:23:31Z | 2016-06-21T11:39:24Z | https://github.com/weidai11/cryptopp/issues/199 | 161,285,278 | 199 |
[
"weidai11",
"cryptopp"
] | From Ubuntu LTS:
```
$ lsb_release -a
Distributor ID: Ubuntu
Description: Ubuntu 12.04.5 LTS
Release: 12.04
Codename: precise
```
Here's the Cmake output:
```
$ cmake .
-- The C compiler identification is GNU
-- The CXX compiler identification is GNU
-- Check for working C compiler: /usr/bin/gcc
-- Check for... | Cmake and Unknown CMake command "write_basic_package_version_file" | https://api.github.com/repos/weidai11/cryptopp/issues/198/comments | 1 | 2016-06-20T19:30:29Z | 2016-06-21T11:39:24Z | https://github.com/weidai11/cryptopp/issues/198 | 161,274,946 | 198 |
[
"weidai11",
"cryptopp"
] | Running `cryptest.sh` on a MacPorts Clang compiler results in:
```
************************************
Testing: debug, c++03, Asan
ERROR: failed to make cryptest.exe
************************************
Testing: release, c++03, Asan
ERROR: failed to make cryptest.exe
************************************
Testing: debu... | MacPorts Clang and "asan_symbolize: command not found" | https://api.github.com/repos/weidai11/cryptopp/issues/197/comments | 1 | 2016-06-20T18:31:47Z | 2016-06-20T18:58:42Z | https://github.com/weidai11/cryptopp/issues/197 | 161,262,858 | 197 |
[
"weidai11",
"cryptopp"
] | The following was uncovered using Robert Nelson's ARMv8 (Aarch64) Mustang server board. It is not present under GCC.
```
$ make CXX=/usr/local/bin/clang++ CXXFLAGS="-DNDEBUG -g2 -O2 -fPIC -pipe" cpu.o
/usr/local/bin/clang++ -DNDEBUG -g2 -O2 -fPIC -pipe -c cpu.cpp
In file included from cpu.cpp:12:
In file included from... | ARM, Clang and "SSE instruction set not enabled" | https://api.github.com/repos/weidai11/cryptopp/issues/196/comments | 2 | 2016-06-20T15:25:33Z | 2016-06-20T15:36:15Z | https://github.com/weidai11/cryptopp/issues/196 | 161,222,924 | 196 |
[
"weidai11",
"cryptopp"
] | If there is some translation of the code to C #
a tool used all these files in Visual C ++
but I do not understand much c ++
I want to spend this tool to C #
someone who can help me carry the code to C #.
there is an implementation in C #?
please someone help me
Thank you
| as I can use this in C # | https://api.github.com/repos/weidai11/cryptopp/issues/195/comments | 1 | 2016-06-20T03:28:08Z | 2016-06-20T03:36:04Z | https://github.com/weidai11/cryptopp/issues/195 | 161,110,740 | 195 |
[
"weidai11",
"cryptopp"
] | Testing on a ARM Mustang server board reveals:
```
34 configurations tested
5 errors detected. See cryptest-result.txt for details
43630:/usr/include/clang/3.5.0/include/xmmintrin.h:28:2: error: "SSE instruction set not enabled"
43631:#error "SSE instruction set not enabled"
43636:1 error generated.
43638:make: *** ... | ARM and error: "SSE instruction set not enabled" | https://api.github.com/repos/weidai11/cryptopp/issues/194/comments | 2 | 2016-06-20T01:14:00Z | 2016-06-20T15:36:26Z | https://github.com/weidai11/cryptopp/issues/194 | 161,101,886 | 194 |
[
"weidai11",
"cryptopp"
] | When compiling on a 32-bit/i686 machine using GCC 5.3 with `-std=c++11` or `-std=c++14`, the library fails to compile. It appears this configuration is missing a definition for `__m128` (it does not surface with lesser GCC, 64-bit, `-std=c++03`, etc):
```
g++ -DDEBUG -g3 -O0 -std=c++14 -fPIC -march=native -pipe -D_GL... | cpu.h and error: expected unqualified-id before 'int' | https://api.github.com/repos/weidai11/cryptopp/issues/193/comments | 1 | 2016-06-19T15:41:10Z | 2016-06-20T01:44:33Z | https://github.com/weidai11/cryptopp/issues/193 | 161,078,493 | 193 |
[
"weidai11",
"cryptopp"
] | I'm attempting to build the following [standard targets](http://cryptopp.com/wiki/GNUmakefile#Standard_Targets): `static`, `dynamic`, and `test`.:
```
$ cmake .
-- The C compiler identification is AppleClang 5.1.0.5030040
-- The CXX compiler identification is AppleClang 5.1.0.5030040
-- Check for working C compiler: /... | Cmake and "No rule to make target 'static'. Stop" | https://api.github.com/repos/weidai11/cryptopp/issues/192/comments | 13 | 2016-06-19T05:28:02Z | 2016-06-21T11:39:24Z | https://github.com/weidai11/cryptopp/issues/192 | 161,057,426 | 192 |
[
"weidai11",
"cryptopp"
] | Running on OS X 10.9 with Xcode 6.
```
$ cmake .
-- The C compiler identification is AppleClang 6.0.0.6000057
-- The CXX compiler identification is AppleClang 6.0.0.6000057
-- Check for working C compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc
-- Check for working C ... | CMake Warning: MACOSX_RPATH is not specified for the following targets... | https://api.github.com/repos/weidai11/cryptopp/issues/191/comments | 2 | 2016-06-16T08:37:10Z | 2016-06-17T12:58:20Z | https://github.com/weidai11/cryptopp/issues/191 | 160,606,873 | 191 |
[
"weidai11",
"cryptopp"
] | MacPorts compilers should use Clang integrated assembler via `-Wa,-q`.
The GNU Assembler supplied by Apple is something around 1.38, and modern GCC cannot use it. Also see [How to use AVX/pclmulqdq on Mac OS X](http://stackoverflow.com/q/9840207/608639) on Stack Overflow.
| MacPorts GCC should use Clang integrated assembler via -Wa,-q | https://api.github.com/repos/weidai11/cryptopp/issues/190/comments | 1 | 2016-06-16T06:49:05Z | 2016-06-16T14:50:35Z | https://github.com/weidai11/cryptopp/issues/190 | 160,589,698 | 190 |
[
"weidai11",
"cryptopp"
] | Testing a compile using the MacPorts GCC compiler reveals `-DCRYPTOPP_DISABLE_ASM` is engaged:
```
$ make CXX=/opt/local/bin/x86_64-apple-darwin12-gcc-4.9.3
/opt/local/bin/x86_64-apple-darwin12-gcc-4.9.3 -DNDEBUG -g2 -O2 -fPIC -march=native
-DCRYPTOPP_DISABLE_ASM -pipe -DMACPORTS_GCC_COMPILER=1 -c cryptlib.cpp
...
```... | MacPorts GCC engages -DCRYPTOPP_DISABLE_ASM | https://api.github.com/repos/weidai11/cryptopp/issues/189/comments | 1 | 2016-06-16T03:11:12Z | 2016-06-16T11:39:09Z | https://github.com/weidai11/cryptopp/issues/189 | 160,568,536 | 189 |
[
"weidai11",
"cryptopp"
] | Sun Studio 12.4 adds [C++11 support](http://docs.oracle.com/cd/E37069_01/html/E37071/gndfg.html). Attempting to compile `integer.cpp` results in the following. The results can be reproduced with and without `-DCRYPTOPP_DISABLE_ASM`; and with and without `-KPIC`.
```
/opt/solarisstudio12.4/bin/CC -DNDEBUG -g3 -xO2 -nat... | Sun Studio 12.4 and Error: The operand "___LKDB" cannot be assigned to. | https://api.github.com/repos/weidai11/cryptopp/issues/188/comments | 1 | 2016-06-14T02:25:25Z | 2016-07-15T20:04:54Z | https://github.com/weidai11/cryptopp/issues/188 | 160,084,179 | 188 |
[
"weidai11",
"cryptopp"
] | Running the `cryptest.sh` on Cygwin i686 with GCC 5.3 and `-std=c++11` results in:
```
29 configurations tested
64 errors detected. See cryptest-result.txt for details
5601:socketft.cpp:144:23: error: ‘u_short’ was not declared in this scope
5604:socketft.cpp:144:31: error: expected ‘)’ before ‘port’
5607:socketft.cp... | Cygwin i686/GCC 5.3 and error: ‘u_short’ was not declared in this scope | https://api.github.com/repos/weidai11/cryptopp/issues/187/comments | 2 | 2016-06-13T03:15:21Z | 2016-06-13T03:56:07Z | https://github.com/weidai11/cryptopp/issues/187 | 159,866,565 | 187 |
[
"weidai11",
"cryptopp"
] | As CBC_CTS_Encryption inherits CBC_Encryption and CBC_Encryption::ProcessData allows the two buffers to be the same, I think CBC_CTS_Encryption::ProcessLastBlock should allow it too.
Or if not, an assert to check that are not the same would be useful.
| CBC_CTS_Encryption::ProcessLastBlock does not work inplace | https://api.github.com/repos/weidai11/cryptopp/issues/185/comments | 12 | 2016-06-12T16:29:48Z | 2017-05-25T06:07:19Z | https://github.com/weidai11/cryptopp/issues/185 | 159,835,611 | 185 |
[
"weidai11",
"cryptopp"
] | Recently we [added some tests](https://github.com/weidai11/cryptopp/blob/master/cryptest.sh#L1911) to ensure the code compiles cleanly when the underlying processor lacks some features. The tests also serve to ensure `HasAES()`, `HasRDRAND()`, and friends work as expected and the code is properly compartmentalized. Thi... | Clang 3.5/Apple Clang 5.0 and undeclared identifier '_mm_clmulepi64_si128' | https://api.github.com/repos/weidai11/cryptopp/issues/184/comments | 2 | 2016-06-12T13:23:00Z | 2016-09-09T13:47:12Z | https://github.com/weidai11/cryptopp/issues/184 | 159,827,130 | 184 |
[
"weidai11",
"cryptopp"
] | Recently we [added some tests](https://github.com/weidai11/cryptopp/blob/master/cryptest.sh#L1911) to ensure the code compiles cleanly when the underlying processor lacks some features. The tests also serve to ensure `HasAES()`, `HasRDRAND()`, `HasRDSEED()` and friends work as expected and the code is properly compartm... | Clang 3.6/Apple Clang 6.3 and undeclared identifier '_rdseed64_step' | https://api.github.com/repos/weidai11/cryptopp/issues/183/comments | 1 | 2016-06-12T12:43:31Z | 2016-06-12T13:01:29Z | https://github.com/weidai11/cryptopp/issues/183 | 159,825,379 | 183 |
[
"weidai11",
"cryptopp"
] | Recently we [added some tests](https://github.com/weidai11/cryptopp/blob/master/cryptest.sh#L1911) to ensure the code compiles cleanly when the underlying processor lacks some features. The tests also serve to ensure `HasAES()`, `HasRDRAND()`, and friends work as expected and the code is properly compartmentalized. Thi... | Clang 3.5/Apple Clang 5.0 compiler crash | https://api.github.com/repos/weidai11/cryptopp/issues/182/comments | 1 | 2016-06-12T10:39:53Z | 2016-06-12T12:13:51Z | https://github.com/weidai11/cryptopp/issues/182 | 159,821,098 | 182 |
[
"weidai11",
"cryptopp"
] | ```
$ cmake .
-- The C compiler identification is GNU
-- The CXX compiler identification is SunPro
-- Check for working C compiler: /bin/gcc
-- Check for working C compiler: /bin/gcc -- works
-- Check for working CXX compiler: /opt/solarisstudio12.3/bin/CC
-- Check for working CXX compiler: /opt/solarisstudio12.3/bin/C... | Unknown CMake command "target_include_directories" | https://api.github.com/repos/weidai11/cryptopp/issues/181/comments | 8 | 2016-06-09T08:10:16Z | 2016-06-19T02:15:14Z | https://github.com/weidai11/cryptopp/issues/181 | 159,350,257 | 181 |
[
"weidai11",
"cryptopp"
] | We now have a SunOS 5.11 (Solaris 11.3) test box with Sun Studio 12.3 and 12.4.
We need some specialized tests for the platform.
| Add Sun Studio specific tests to cryptest.sh | https://api.github.com/repos/weidai11/cryptopp/issues/180/comments | 1 | 2016-06-09T05:08:56Z | 2016-07-15T20:05:11Z | https://github.com/weidai11/cryptopp/issues/180 | 159,329,066 | 180 |
[
"weidai11",
"cryptopp"
] | Andrew Marlow and Shengli Jiang [report on the mailing list](http://groups.google.com/forum/#!topic/cryptopp-users/egpBihTbOvM):
```
"ida.cpp", line 403: Error: random_access_iterator_tag is not defined.
"ida.cpp", line 403: Error: "," expected instead of ">".
"ida.cpp", line 407: Error: The function "RevIt" must have... | Solaris Studio 12.3 and 12.4 builds broken | https://api.github.com/repos/weidai11/cryptopp/issues/179/comments | 1 | 2016-06-07T11:50:11Z | 2016-07-15T20:05:23Z | https://github.com/weidai11/cryptopp/issues/179 | 158,903,711 | 179 |
[
"weidai11",
"cryptopp"
] | Recently we added better support for [Windows 8, Windows 10, Windows Store, and other newer Windows platforms](http://github.com/weidai11/cryptopp/issues/143). It appears Microsoft is doing something unexpected, and its causing `cryptest.exe` to fail under Windows 7/Visual Studio 2012. Running `cryptest.exe` results in... | Recent Windows 8 and Windows 10 support broke Windows 7/VS 2012 | https://api.github.com/repos/weidai11/cryptopp/issues/178/comments | 22 | 2016-06-07T01:32:18Z | 2016-10-09T20:23:34Z | https://github.com/weidai11/cryptopp/issues/178 | 158,810,966 | 178 |
[
"weidai11",
"cryptopp"
] | We should follow [Implementing GCM on ARMv8](http://conradoplg.cryptoland.net/files/2010/12/gcm14.pdf) by Gouvêa and López.
| Implementing GCM on ARMv8 | https://api.github.com/repos/weidai11/cryptopp/issues/177/comments | 1 | 2016-06-06T04:31:46Z | 2016-08-24T16:44:13Z | https://github.com/weidai11/cryptopp/issues/177 | 158,599,062 | 177 |
[
"weidai11",
"cryptopp"
] | cryptest.exe reports the following for an older Core2 duo processor
```
hasMMX == 1, hasISSE == 1, hasSSE2 == 1, hasSSSE3 == 0, hasSSE4 == 1, hasAESNI == 0,
hasRDRAND == 0, hasRDSEED == 0, hasCLMUL == 0, isP4 == 0, hasPadlockRNG == 0,
cacheLineSize == 64, AESNI_INTRINSICS == 1
```
The machine has SSE2, SSE3, SSSE3, ... | cryptest.exe reports wrong CPU features for Core2 duo | https://api.github.com/repos/weidai11/cryptopp/issues/176/comments | 2 | 2016-06-04T21:12:11Z | 2016-06-06T04:30:17Z | https://github.com/weidai11/cryptopp/issues/176 | 158,524,331 | 176 |
[
"weidai11",
"cryptopp"
] | Start of discussion in comments for commit https://github.com/weidai11/cryptopp/commit/b1a7ada564e629ed8697dc7009b1caed581975c8
cc @noloader
| Use std::call for singleton implementation | https://api.github.com/repos/weidai11/cryptopp/issues/173/comments | 4 | 2016-05-17T09:19:50Z | 2016-06-06T19:36:41Z | https://github.com/weidai11/cryptopp/issues/173 | 155,212,735 | 173 |
[
"weidai11",
"cryptopp"
] | `GetThreadTimes` is not available on Windows Phone and Windows Store. We need a performance based counter for TimerBase (or use the default low-res `clock()`).
This is part of the port to the new managed Windows platforms. Also see [Issue 143: Support for Universal Windows Platform (UWP)](http://github.com/weidai11/cr... | Need performance based counter for TimerBase on Windows Phone and Windows Store | https://api.github.com/repos/weidai11/cryptopp/issues/168/comments | 7 | 2016-05-01T03:42:55Z | 2016-05-17T15:10:52Z | https://github.com/weidai11/cryptopp/issues/168 | 152,070,724 | 168 |
[
"weidai11",
"cryptopp"
] | We need to deactivate FIPS code paths for Windows Store apps. They are causing a number of issues due to missing APIs. The following is from a VS2012 x64 Cross Developer Command Prompt.
```
cl.exe /nologo /W4 /D_MBCS /Zi /TP /EHsc /MD /FI winapifamily.h /DWINAPI_FAMILY=WINAPI_FAMILY_APP /c fipstest.cpp
fipstest.cpp
C:... | Need to deactivate FIPS code paths for Windows Store apps | https://api.github.com/repos/weidai11/cryptopp/issues/167/comments | 4 | 2016-04-29T07:01:35Z | 2016-05-17T15:11:04Z | https://github.com/weidai11/cryptopp/issues/167 | 151,805,271 | 167 |
[
"weidai11",
"cryptopp"
] | According to [Modifying WINVER and _WIN32_WINNT](https://msdn.microsoft.com/en-us/library/6sehtctf%28v=vs.140%29.aspx) on MSDN and Visual Studio 2015 (and Visual Studio 2013):
> Visual C++ no longer supports targeting Windows 95, Windows 98, Windows ME, Windows NT or Windows 2000. If your WINVER or _WIN32_WINNT macros... | Windows NT and Windows 2000 version info for WINVER and _WIN32_WINNT | https://api.github.com/repos/weidai11/cryptopp/issues/166/comments | 3 | 2016-04-28T00:21:49Z | 2016-09-10T17:31:51Z | https://github.com/weidai11/cryptopp/issues/166 | 151,521,815 | 166 |
[
"weidai11",
"cryptopp"
] | We need a `NO_SOCKET` macro to remove sockets only without resorting to `NO_OS_DEPENDENCE`.
This is part of the port to the new managed Windows platforms. Also see [Issue 143: Support for Universal Windows Platform (UWP)](http://github.com/weidai11/cryptopp/issues/143).
Also see [Native code for Windows Phone 8](http... | Need NO_SOCKET macro to remove sockets only for Windows | https://api.github.com/repos/weidai11/cryptopp/issues/165/comments | 3 | 2016-04-26T18:49:21Z | 2016-05-17T15:11:13Z | https://github.com/weidai11/cryptopp/issues/165 | 151,211,039 | 165 |
[
"weidai11",
"cryptopp"
] | `BCryptGenRandom` is needed to provide a generator for Windows Store Apps (its also available for Windows Vista and above on the desktop). Docs are available at [BCryptGenRandom function](http://msdn.microsoft.com/en-us/library/windows/desktop/aa375458%28v=vs.85%29.aspx).
This is part of the port to the new managed Wi... | Need NonblockingRng based on BCryptGenRandom for Windows | https://api.github.com/repos/weidai11/cryptopp/issues/164/comments | 18 | 2016-04-26T18:42:06Z | 2016-05-17T15:13:23Z | https://github.com/weidai11/cryptopp/issues/164 | 151,209,414 | 164 |
[
"weidai11",
"cryptopp"
] | Step:
1. Open cryptest.sln
2. Switch 4 projects option from MT to MD
3. Build
Get: Error LNK2005 __crt_debugger_hook already defined in MSVCRT.lib
| Build break using MD mode under VS2015 with Update2 | https://api.github.com/repos/weidai11/cryptopp/issues/163/comments | 3 | 2016-04-26T05:34:04Z | 2016-06-28T12:23:11Z | https://github.com/weidai11/cryptopp/issues/163 | 151,045,400 | 163 |
[
"weidai11",
"cryptopp"
] | Below, we are testing for Windows Phone under ARM Developer Prompt _without_ `NO_OS_DEPENDENCE`.
```
cl /nologo /D_ARM_WINAPI_PARTITION_DESKTOP_SDK_AVAILABLE=1 /EHsc /c crc.cpp blake2.cpp
crc.cpp
crc.cpp(287) : error C3861: 'HasSSE4': identifier not found
crc.cpp(290) : error C3861: '_mm_crc32_u8': identifier not foun... | Compile issues for crc.cpp and blake2.cpp under ARM Developer Prompt | https://api.github.com/repos/weidai11/cryptopp/issues/162/comments | 1 | 2016-04-25T20:33:11Z | 2016-04-25T20:40:14Z | https://github.com/weidai11/cryptopp/issues/162 | 150,972,857 | 162 |
[
"weidai11",
"cryptopp"
] | From a private email:
> ... we are securing iSCSI over TCP links in a high security environment... we use Crypto++... and it would be nice if Crypto++ provided CRC-32C...
This is an easy cut-in since Wei already provided us with CRC32. Also, using Intel's intrinsics, we can achieve a throughput of about 3.5 GB/s (abo... | Provide iSCSI CRC-32C | https://api.github.com/repos/weidai11/cryptopp/issues/160/comments | 1 | 2016-04-24T16:39:53Z | 2016-04-24T17:28:31Z | https://github.com/weidai11/cryptopp/issues/160 | 150,679,185 | 160 |
[
"weidai11",
"cryptopp"
] | On Linux, OS X and Unix we have a "test script from hell": [cryptest.sh](http://github.com/weidai11/cryptopp/blob/master/cryptest.sh). The script tests the library under various configuration options on a number of different platforms. Its value comes from detecting problems before code is checked in, and detecting pro... | Need cryptest.cmd for Windows testing | https://api.github.com/repos/weidai11/cryptopp/issues/159/comments | 25 | 2016-04-24T08:07:26Z | 2018-01-12T22:22:33Z | https://github.com/weidai11/cryptopp/issues/159 | 150,638,621 | 159 |
[
"weidai11",
"cryptopp"
] | I have implemented SHA-3 digest in my hex editor (https://github.com/AndrewWPhillips/HexEdit) and test vectors return the correct results according to Crypto++/TestVectors/sha3.txt. However, these results differ from others I have seen (eg http://www.di-mgt.com.au/sha_testvectors.html) and even the result for the empt... | SHA3 test vector results | https://api.github.com/repos/weidai11/cryptopp/issues/158/comments | 11 | 2016-04-22T08:21:09Z | 2016-09-10T22:08:41Z | https://github.com/weidai11/cryptopp/issues/158 | 150,303,440 | 158 |
[
"weidai11",
"cryptopp"
] | I'm trying to compile solution produced by CMake and have several issues with `config.h` and looks like with `.asm` implementations.
Do you support configuring through CMake for VS, or it is outdated?
| CMake configure for VS 2015 x64 creates non-buildable solution | https://api.github.com/repos/weidai11/cryptopp/issues/155/comments | 1 | 2016-04-07T08:14:24Z | 2016-04-07T10:54:40Z | https://github.com/weidai11/cryptopp/issues/155 | 146,542,458 | 155 |
[
"weidai11",
"cryptopp"
] | László Böszörményi of Debian reports a failed build under the m68k processor. Inspecting the [build log reveals](http://buildd.debian.org/status/fetch.php?pkg=libcrypto%2B%2B&arch=m68k&ver=5.6.3-4&stamp=1459687264):
```
config.h:29:3: error: #error "IS_LITTLE_ENDIAN is set, but __BYTE_ORDER__ does not equal __ORDER_... | Failed build on Debian and m68k processor | https://api.github.com/repos/weidai11/cryptopp/issues/153/comments | 1 | 2016-04-06T05:29:38Z | 2016-04-06T05:54:33Z | https://github.com/weidai11/cryptopp/issues/153 | 146,190,806 | 153 |
[
"weidai11",
"cryptopp"
] | The Crypto++ FIPS certificates have been moved to the [Historical Validation List](http://csrc.nist.gov/groups/STM/cmvp/documents/140-1/140val-historical.htm):
> After 2015, the use of the RNGs specified in FIPS 186-2, [ANSI X9.31] and the 1998 version of [ANSI X9.62] are disallowed. Therefore, all the RNG implementat... | Crypto++ FIPS certificates moved to Historical Validation List | https://api.github.com/repos/weidai11/cryptopp/issues/149/comments | 6 | 2016-03-15T05:04:43Z | 2016-10-31T12:52:45Z | https://github.com/weidai11/cryptopp/issues/149 | 140,874,489 | 149 |
[
"weidai11",
"cryptopp"
] | New failure for Cygwin x86_64... Reported at:
- Cygwin: [Cygwin x86_64 can no longer compile a program with std=c++03](https://sourceware.org/bugzilla/show_bug.cgi?id=19817)
- GCC: [Cygwin 2.4.1 x86_64/GCC 5.3.0 can no longer compile a program with std=c++03](https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70217)
It came... | Failed compile for Cygwin-x64 when using std=c++03 | https://api.github.com/repos/weidai11/cryptopp/issues/148/comments | 0 | 2016-03-13T08:36:19Z | 2016-04-06T15:32:14Z | https://github.com/weidai11/cryptopp/issues/148 | 140,464,751 | 148 |
[
"weidai11",
"cryptopp"
] | I found the problem when I compiled the cryptopp on Windows using llvm toolchain.
During compilation there is few warnings, but finally I was able to compile the library successfully. Unfortunately the program crashes. In my case during constructing md5 class.
The problem is with CRYPTOPP_NO_VTABLE usage in IteratedHas... | Building Crypto++ with Clang on Windows results in a crash when constructing MD5 class | https://api.github.com/repos/weidai11/cryptopp/issues/147/comments | 41 | 2016-03-11T15:59:10Z | 2023-09-05T13:58:04Z | https://github.com/weidai11/cryptopp/issues/147 | 140,221,137 | 147 |
[
"weidai11",
"cryptopp"
] | For both `Rijndael::Enc::ProcessAndXorBlock` and `Rijndael::Dec::ProcessAndXorBlock` there is some code to avoid timing attacks:
``` C
word32 u = 0;
#ifdef CRYPTOPP_ALLOW_UNALIGNED_DATA_ACCESS
for (i=0; i<2048; i+=cacheLineSize)
#else
for (i=0; i<1024; i+=cacheLineSize)
#endif
u &= *(const word32 *... | Timing Attack Counter Measure AES | https://api.github.com/repos/weidai11/cryptopp/issues/146/comments | 13 | 2016-03-11T11:00:05Z | 2017-09-17T00:40:31Z | https://github.com/weidai11/cryptopp/issues/146 | 140,155,196 | 146 |
[
"weidai11",
"cryptopp"
] | Our AEAD interface `AuthenticatedSymmetricCipherBase` (defined in `authenc.h`) doesn't support AEAD modes of operation that aren't online, i.e. offline ciphers.
For those of you, how don't know what "online" and "offline" mean in this context:
> A cipher is colled online if the encryption of the i-th input block M_i ... | AEAD interface doesn't support offline AEAD algorithms | https://api.github.com/repos/weidai11/cryptopp/issues/145/comments | 4 | 2016-03-10T13:21:51Z | 2019-02-09T23:38:31Z | https://github.com/weidai11/cryptopp/issues/145 | 139,883,405 | 145 |
[
"weidai11",
"cryptopp"
] | When performing a package update. Is this a package mirror issue?
| crypto++ and crypto++-562 are in conflict | https://api.github.com/repos/weidai11/cryptopp/issues/144/comments | 4 | 2016-03-08T20:30:34Z | 2016-03-11T07:01:26Z | https://github.com/weidai11/cryptopp/issues/144 | 139,385,743 | 144 |
[
"weidai11",
"cryptopp"
] | Are there any plans to update current codebase to be able to compile as a UWP library?
I have tried to compile Cryptopp source code as UWP static library but it failed. I can get it to compile with NO_OS_DEPENDENCE macro defined but then you lose for an example a OS based random number generator.
| Support for Universal Windows Platform (UWP) | https://api.github.com/repos/weidai11/cryptopp/issues/143/comments | 38 | 2016-03-07T18:21:07Z | 2018-05-02T01:04:26Z | https://github.com/weidai11/cryptopp/issues/143 | 139,052,330 | 143 |
[
"weidai11",
"cryptopp"
] | In file validat1.cpp, line 890 the following code needs to be changed
from:
`#if NO_OS_DEPENDENCE`
to:
`#ifdef NO_OS_DEPENDENCE`
The reason is that in `config.h` when `NO_OS_DEPENDENCE` is defined, it is not set to anything, so during compilation of `validat1.cpp`, the preprocessor does not have a value to u... | File validat1.cpp compilation issue with NO_OS_DEPENDENCE defined | https://api.github.com/repos/weidai11/cryptopp/issues/141/comments | 3 | 2016-03-01T18:57:48Z | 2016-03-04T16:35:29Z | https://github.com/weidai11/cryptopp/issues/141 | 137,656,466 | 141 |
[
"weidai11",
"cryptopp"
] | Hi, I get an error while trying to compile cryptopp (tag CRYPTOPP_5_6_3)
```
rdrand.cpp: In function ‘int CryptoPP::ALL_RSI_GenerateBlock(byte*, size_t, unsigned int)’:
rdrand.cpp:360:37: error: ‘_rdseed64_step’ was not declared in this scope
if (_rdseed64_step((word64*)output))
... | Compile error: ‘_rdseed64_step’ was not declared in this scope | https://api.github.com/repos/weidai11/cryptopp/issues/140/comments | 2 | 2016-02-26T15:48:14Z | 2016-02-29T10:13:10Z | https://github.com/weidai11/cryptopp/issues/140 | 136,732,295 | 140 |
[
"weidai11",
"cryptopp"
] | I haven't found this in issue list. Two years ago [Intel announced new assembler instructions, that could assist computing SHA-1 and SHA-256](https://software.intel.com/en-us/articles/intel-sha-extensions). There are not much Skylake CPU's on the market, but all new Intel processors will support these instructions as w... | Support for CPU instructions for hardware-accelerated SHA | https://api.github.com/repos/weidai11/cryptopp/issues/139/comments | 10 | 2016-02-21T04:24:54Z | 2018-05-19T08:46:06Z | https://github.com/weidai11/cryptopp/issues/139 | 135,158,088 | 139 |
[
"weidai11",
"cryptopp"
] | This issue was reported on the mailing list at [Trying to do CMAC on VS2013 and found this error. "Assertion failed: (input && length) || !(input || length), file cmac.cpp, line 60"](https://groups.google.com/d/msg/cryptopp-users/TeO-6YPuvBg/Z6rxT6K5EQAJ). The following program causes an assert to fire:
```
SecByteBlo... | Assert when running CMAC example on the wiki | https://api.github.com/repos/weidai11/cryptopp/issues/138/comments | 1 | 2016-02-21T03:44:35Z | 2016-02-21T03:49:41Z | https://github.com/weidai11/cryptopp/issues/138 | 135,155,204 | 138 |
[
"weidai11",
"cryptopp"
] | Testing under Cygwin x64, version 2.4.1:
```
wait.h:193.2: error: 'fd_set' does not name a type
```
GCC is 5.3.0.
| 'fd_set does not name a type' under Cygwin x64 | https://api.github.com/repos/weidai11/cryptopp/issues/137/comments | 3 | 2016-02-15T05:01:01Z | 2016-06-13T04:29:42Z | https://github.com/weidai11/cryptopp/issues/137 | 133,623,619 | 137 |
[
"weidai11",
"cryptopp"
] | Change `${CMAKE_SOURCE_DIR}` to `${CMAKE_CURRENT_SOURCE_DIR}`.
| Change Cmake path variable to current dir | https://api.github.com/repos/weidai11/cryptopp/issues/135/comments | 1 | 2016-02-10T20:58:46Z | 2016-06-22T13:12:29Z | https://github.com/weidai11/cryptopp/issues/135 | 132,816,007 | 135 |
[
"weidai11",
"cryptopp"
] | This is not a bug of crypto++ but rather a configuration issue in the files setenv-embedded.sh and GNUmakefile-cross. There is an `ARM_EMBEDDED_SYSROOT` setting which should not be used when cross-compiling on Linux (e.g. on desktop Ubuntu) for BeagleBone Black.
The issue is described at [Linking error when compiling ... | setenv-embedded.sh and GNUmakefile-cross | https://api.github.com/repos/weidai11/cryptopp/issues/134/comments | 2 | 2016-02-10T00:16:32Z | 2016-02-12T04:48:58Z | https://github.com/weidai11/cryptopp/issues/134 | 132,574,900 | 134 |
[
"weidai11",
"cryptopp"
] | Any plans for installing a .pc along with cryptopp?
Right now I see the following:
- distributions like Debian install their own, including maintaining an autoconf buildsystem to do that.
- master contains a cmake buildsystem, that installs a .cmake, which helps packages using cmake find cryptopp, but doesn't help any... | Provide & install a pkg-config file ... | https://api.github.com/repos/weidai11/cryptopp/issues/133/comments | 8 | 2016-02-07T14:24:04Z | 2018-05-04T00:17:24Z | https://github.com/weidai11/cryptopp/issues/133 | 131,971,723 | 133 |
[
"weidai11",
"cryptopp"
] | The cleanup of `CRYPTOPP_GENERATE_X64_MASM` (see commits d55d7fe90a80e3cd3202b5963e0d613e2df0824d and 58ed2fcd370523ed101715f57b0926d7dd8ac622) revealed `Rijndael::Enc::AdvancedProcessBlocks` experiences a hang with `AliasedWithTable`. The issue is present on Linux, OS X and Windows with SSE2 ASM using aligned data. It... | Hang in Rijndael's Enc::AdvancedProcessBlocks and AliasedWithTable | https://api.github.com/repos/weidai11/cryptopp/issues/132/comments | 2 | 2016-02-06T01:27:49Z | 2016-09-10T17:33:36Z | https://github.com/weidai11/cryptopp/issues/132 | 131,803,425 | 132 |
[
"weidai11",
"cryptopp"
] | Hi, simple program that attempts to calculate SHA-3 hash compiles and links without any warnings but then crashes. Here's the code:
```
byte* digest; //resulting hash
SHA3 hash = SHA3(512);
try
{
hash.CalculateDigest( digest, (const byte*) message.c_str(), (size_t)message.length() );
}
catch (const exception &ex)... | SHA-3 CalculateDigest results in Segmentation fault | https://api.github.com/repos/weidai11/cryptopp/issues/130/comments | 11 | 2016-02-01T09:39:18Z | 2016-02-03T00:56:42Z | https://github.com/weidai11/cryptopp/issues/130 | 130,310,200 | 130 |
[
"weidai11",
"cryptopp"
] | Do you plan to add nuget packages for msvc builds?
| Nuget packages | https://api.github.com/repos/weidai11/cryptopp/issues/129/comments | 2 | 2016-01-30T08:25:31Z | 2016-01-30T19:21:12Z | https://github.com/weidai11/cryptopp/issues/129 | 129,956,579 | 129 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.