issue_owner_repo listlengths 2 2 | issue_body stringlengths 0 261k ⌀ | issue_title stringlengths 1 925 | issue_comments_url stringlengths 56 81 | issue_comments_count int64 0 2.5k | issue_created_at stringlengths 20 20 | issue_updated_at stringlengths 20 20 | issue_html_url stringlengths 37 62 | issue_github_id int64 387k 2.46B | issue_number int64 1 127k |
|---|---|---|---|---|---|---|---|---|---|
[
"weidai11",
"cryptopp"
] | ## Crypto++ Issue Report
### System Info
```
OS: MacOS
Crypto++ version: 8.6.0
Git version: 2.31.1
```
### Actual Behavior
When crypto++ is embedded as a submodule in another repository, the command `git submodule status` shows the incorrect tag and version for the submodule:
```
$> git submodule status | grep cryptopp
69bf6b53052b59ccb57ce068ce741988ae087317 cryptopp (CRYPTOPP_5_6_3-5333-g69bf6b53)
```
As seen above the latest version tag is listed as `v5.6.3`, but the commit `69bf6b5` refers to [the commit](https://github.com/weidai11/cryptopp/releases/tag/CRYPTOPP_8_6_0) for the `v8.6.0` release.
### Expected Behavior
When crypto++ is embedded as a submodule in another repository, the command `git submodule status` should show the latest version. If the commit is the same as a tagged release version it should only show the tag name.
```
$> git submodule status | grep cryptopp
69bf6b53052b59ccb57ce068ce741988ae087317 cryptopp (CRYPTOPP_8_6_0)
```
### Root Cause
The command `git submodule status` uses `git describe` to [determine the submodule status](https://git-scm.com/docs/git-submodule#Documentation/git-submodule.txt-status--cached--recursive--ltpathgt82308203):
> Show the status of the submodules. This will print the SHA-1 of the currently checked out commit for each submodule, along with the submodule path and the output of git describe for the SHA-1
The `git describe` command [only shows annotated tags by default](https://git-scm.com/docs/git-describe#_description):
> By default (without --all or --tags) git describe only shows annotated tags.
After release `v5.6.3` the crypto++ project switched from annotated tags to lightweight tags:
```
((HEAD detached at 69bf6b53)) $> git for-each-ref refs/tags
1fc174a620bf9cfdf2daef156a7a44e8ab9ff1c9 tag refs/tags/CRYPTOPP_5_0
60aecd44e11fd59518f4291ce980e5c4073d70a6 tag refs/tags/CRYPTOPP_5_1
5abaac539aa986e97d2fc4a5e771becc455f79f2 tag refs/tags/CRYPTOPP_5_2
d4571853293b0644a089103005f8b09789a2efc7 tag refs/tags/CRYPTOPP_5_2_1
84a30d7bcf244f52a2b2824697387a99bd3c7e47 tag refs/tags/CRYPTOPP_5_2_3
828de611d7d9212bceda1e3cee93bb5bb5ead6db tag refs/tags/CRYPTOPP_5_3_0
c8274f05d45ae0dbcd94f53bdfd8d26f62e511f7 tag refs/tags/CRYPTOPP_5_4
d1422afa8cd48a352e1bebd2a91d6a44593f120d tag refs/tags/CRYPTOPP_5_5
cf5be720ac9de0b561cb379fe1e6118c13939cdf tag refs/tags/CRYPTOPP_5_5_1
41bdb6c917549f35704f88afed6a77ca7ce6bd4f tag refs/tags/CRYPTOPP_5_5_2
11ea22253158e710be2d2f248aca54c0f0eb7fcc tag refs/tags/CRYPTOPP_5_6_0
ddf10160f2cb16df342c1ea068b1cb82fb8c9346 tag refs/tags/CRYPTOPP_5_6_1
96f9107f22a5cca5ca491ef33ed39ea117efc019 tag refs/tags/CRYPTOPP_5_6_2
804519f4290ee328be18b388924e791e80251422 tag refs/tags/CRYPTOPP_5_6_3
4132d85888ac6c30729f58bb442a4a26a5b16cfe commit refs/tags/CRYPTOPP_5_6_4
c621ce053298fafc1e59191079c33acd76045c26 commit refs/tags/CRYPTOPP_5_6_5
b6c6684451f925ab2e0b99acbaf66fd487ebfbd5 commit refs/tags/CRYPTOPP_6_0_0
5be140bcea453a00f7f2fec09fb9e37849d65d98 commit refs/tags/CRYPTOPP_6_1_0
c8d8caf70074655a2562ae1ea45cb30e28fee2b4 commit refs/tags/CRYPTOPP_7_0_0
5e5fb6c855e0f0232065079ab96414ce1a78c411 commit refs/tags/CRYPTOPP_8_0_0
1c34979592f7d5e5d73e265a9c8650cc006620d2 commit refs/tags/CRYPTOPP_8_1_0
9dcc26c58213abb8351fbb1b2a7a1d2c667366e4 commit refs/tags/CRYPTOPP_8_2_0
d71bc515eafc0a6418372f63ba0f058a55d25951 commit refs/tags/CRYPTOPP_8_3_0
434e3189db61ff4ced13b47fe450a42b3c8cb676 commit refs/tags/CRYPTOPP_8_4_0
f2102243e6fdd48c0b2a393a0993cca228f20573 commit refs/tags/CRYPTOPP_8_5_0
69bf6b53052b59ccb57ce068ce741988ae087317 commit refs/tags/CRYPTOPP_8_6_0
```
Thus when calling `git submodule status` the last annotated tag is returned which is for `v5.6.3`. See [1] for full debugging log.
### Solution
The lightweight tags in this repository [should be recreated](https://git-scm.com/book/en/v2/Git-Basics-Tagging) as annotated tags.
### Appendix
[1] Full debugging log

| Git tags after v5.6.3 are lightweight instead of annotated resulting in an incorrect submodule version | https://api.github.com/repos/weidai11/cryptopp/issues/1087/comments | 3 | 2021-11-15T22:02:43Z | 2023-06-25T18:57:24Z | https://github.com/weidai11/cryptopp/issues/1087 | 1,054,146,030 | 1,087 |
[
"weidai11",
"cryptopp"
] | I found that `MakePublicKey()` generates invalid public key pair when the input private key is an empty string. It happens in most elliptic curve types including `brainpoolP256r1`, `secp128r2` etc.
The testfile is as follows:
```c++
std::string x,y;
void generatePublicKey(string priv){
using namespace CryptoPP;
ECDSA<ECP, SHA256>::PrivateKey privateKey;
ECDSA<ECP, SHA256>::PublicKey publicKey;
const Integer privStr(priv.c_str());
string ini = IntToString<>(privStr, 10);
const DL_GroupParameters_EC<ECP>& curve = ASN1::brainpoolP256r1();
privateKey.Initialize(curve, privStr);
privateKey.MakePublicKey(publicKey);
x = IntToString<>(publicKey.GetPublicElement().x, 10);
y = IntToString<>(publicKey.GetPublicElement().y, 10);
printf("x: %s\n", x.c_str());
printf("y: %s\n", y.c_str());
return;
}
void validatePubkey(){
using namespace CryptoPP;
ECDSA<ECP, SHA256>::PublicKey publicKey;
try {
const DL_GroupParameters_EC<ECP>& curve = ASN1::secp112r1();
publicKey.Initialize(
curve,
ECP::Point(
Integer(x.c_str()),
Integer(y.c_str())
));
AutoSeededRandomPool prng;
if(publicKey.Validate(prng, 3)== true){
printf("valid\n");
}else{
printf("invalid\n");
}
} catch ( ... ) { }
}
int main(){
printf("crypto++ result:\n");
string priv = "";
generatePublicKey(priv);
validatePubkey();
return 0;
}
```
The output is :
```
crypto++ result:
x: 0
y: 0
invalid
```
Obviously, the output public key pair is invalid.
I suppose it should throw an exception or return an error code instead of giving invalid results.
Hope you can check this case.
| MakePublicKey() generate invalid public key pair | https://api.github.com/repos/weidai11/cryptopp/issues/1086/comments | 2 | 2021-11-15T15:35:13Z | 2021-12-17T07:18:37Z | https://github.com/weidai11/cryptopp/issues/1086 | 1,053,803,711 | 1,086 |
[
"weidai11",
"cryptopp"
] | system: msys2-mingw64:
error:
signal SIGSEGV, Segmentation fault. in CryptoPP::IteratedHashBase<unsigned int, CryptoPP::HashTransformation>::TruncatedFinal(unsigned char*, unsigned long long) ()
attached: cryptopp-mingw-maybe-bug.tar.gz
containing code to reproduce problem.
[cryptopp-mingw-maybe-bug.tar.gz](https://github.com/weidai11/cryptopp/files/7532192/cryptopp-mingw-maybe-bug.tar.gz)
README file (in tar.gz) contains instructions on how to compile and reproduce problem.
README instructions are for using default mingw-w64-x86_64-crypto++ package (crypto++ 8.4.0)
I've tested attached code on localy compiled crypto++versions: 8.2.0, 8.3.0, 8.4.0, 8.5.0 and 8.6.0 with the same result (SIGSEGV).
Note: attached code compiles and runs without any problem on Linux.
| msys2-mingw64 problem with crypto++ | https://api.github.com/repos/weidai11/cryptopp/issues/1085/comments | 3 | 2021-11-13T14:00:25Z | 2021-11-15T13:18:52Z | https://github.com/weidai11/cryptopp/issues/1085 | 1,052,688,130 | 1,085 |
[
"weidai11",
"cryptopp"
] | - OS: Arch Linux
- Version: main branch
- How built: CMake
- Example command line for CryptoPP source file:
```bash
/usr/lib/ccache/bin/g++ -DCMAKE_INTDIR=\"Debug\" -march=skylake -O2 -pipe -Wall -Wextra -Wno-unknown-pragmas -Wcpp -Wshadow -Wundef -fno-common -Wconversion -Wno-enum-compare -frtti -fexceptions -fdiagnostics-color -g -fno-omit-frame-pointer -fstack-protector-strong -O0 -ggdb3 -Werror -Wfatal-errors -Wno-error=cpp -Wno-error=pedantic -finstrument-functions -fsanitize=address -fsanitize=undefined -fsanitize=leak -D_GLIBCXX_DEBUG -fPIC -std=gnu++20 -MD -MT lib/cryptopp/cryptopp/CMakeFiles/cryptopp-object.dir/Debug/xts.cpp.o -MF lib/cryptopp/cryptopp/CMakeFiles/cryptopp-object.dir/Debug/xts.cpp.o.d -o lib/cryptopp/cryptopp/CMakeFiles/cryptopp-object.dir/Debug/xts.cpp.o -c /home/matt/Desktop/code/cpp/stag/lib/cryptopp/cryptopp/xts.cpp
```
- Example command line for linking: Not provided because the link stage is not reached
- Error message (one of many):
```
In file included from /home/matt/Desktop/code/cpp/stag/lib/cryptopp/cryptopp/config_asm.h:26,
from /home/matt/Desktop/code/cpp/stag/lib/cryptopp/cryptopp/config_align.h:25,
from /home/matt/Desktop/code/cpp/stag/lib/cryptopp/cryptopp/config.h:22,
from /home/matt/Desktop/code/cpp/stag/lib/cryptopp/cryptopp/pch.h:14,
from /home/matt/Desktop/code/cpp/stag/lib/cryptopp/cryptopp/xts.cpp:10:
/home/matt/Desktop/code/cpp/stag/lib/cryptopp/cryptopp/config_os.h:85:40: error: "WINVER" is not defined, evaluates to 0 [-Werror=undef]
85 | # if !defined(_USING_V110_SDK71_) && ((WINVER >= 0x0602 /*_WIN32_WINNT_WIN8*/) || \
```
- Expected behavior: macro is checked for being defined before it's used, so the program compiles properly
- Undesired behavior: the program compiles without `-Wundef`, but creates warnings (errors with `-Werror`) with it.
This seems relatively easy to fix, so I'll probably make a PR. | `WINVER` usage fails when not defined with `-Wundef` | https://api.github.com/repos/weidai11/cryptopp/issues/1084/comments | 2 | 2021-11-08T00:39:24Z | 2021-11-08T02:34:25Z | https://github.com/weidai11/cryptopp/issues/1084 | 1,046,898,938 | 1,084 |
[
"weidai11",
"cryptopp"
] | Microsoft C++ exception: CryptoPP::InvalidCiphertext at memory location 0x00000039748FE280.
Any fix for this? | StreamTransformationFilter | https://api.github.com/repos/weidai11/cryptopp/issues/1082/comments | 0 | 2021-10-30T13:07:02Z | 2021-11-14T05:24:19Z | https://github.com/weidai11/cryptopp/issues/1082 | 1,040,143,083 | 1,082 |
[
"weidai11",
"cryptopp"
] | Hey. So I got problem with verifying ecdsa crypto++ signature with bouncycastle, but I can verify bc signature with crypto++. Also I can't import private key from bc, but public key is importing without problem.
The code that used is [here](https://github.com/alimtolman/cryptopp-helper/blob/master/main.cpp). There's apis.
Also the crypto++ private key looks small comparing to bc.
p.s. DSAConvertSignatureFormat is used too additionally. | Can't verify ecdsa crypto++ signature with bouncycastle | https://api.github.com/repos/weidai11/cryptopp/issues/1081/comments | 1 | 2021-10-28T12:17:50Z | 2021-10-29T11:47:11Z | https://github.com/weidai11/cryptopp/issues/1081 | 1,038,447,682 | 1,081 |
[
"weidai11",
"cryptopp"
] | I'm using Crypto++ built by the latest version of source code in this repository on Ubuntu 18.04.
The function is as follows:
```c++
void ECC_PrivatetoPublic(string priv){
using namespace CryptoPP;
clock_t start, finish;
ECDSA<ECP, SHA256>::PrivateKey privateKey;
ECDSA<ECP, SHA256>::PublicKey publicKey;
const Integer privStr(priv.c_str());
const DL_GroupParameters_EC<ECP>& curve = ASN1::secp521r1();
privateKey.Initialize(curve, privStr);
privateKey.MakePublicKey(publicKey);
std::string x = IntToString<>(publicKey.GetPublicElement().x, 10);
std::string y = IntToString<>(publicKey.GetPublicElement().y, 10);
printf("%s\n%s\n", x.c_str(), y.c_str());
return;
}
```
It seems that the execution time of `privateKey.MakePublicKey(publicKey)` is positively correlated with the length of the private key instead of a constant value. I did a simple experiment and heres the result. But I haven't studied the reason yet.

I suppose this may leak the length information of the input private key and facilitate malicious attacks on key decryption.
Besides, the execution time becomes abnormally long when the private key reaches hundreds of bytes long, which causes a little inconvenience to me.
Hope you can check this case. | Correlation Between Key Length and Execution Time | https://api.github.com/repos/weidai11/cryptopp/issues/1080/comments | 14 | 2021-10-28T08:39:07Z | 2022-08-17T12:24:58Z | https://github.com/weidai11/cryptopp/issues/1080 | 1,038,244,979 | 1,080 |
[
"weidai11",
"cryptopp"
] | CryptoPP version, compiler etc.:
Downloaded and compiled 8.5.0 via Visual Studio 2019.
Issue:
In trap.h, CRYPTOPP_ASSERT gets defined to call DebugBreak, if CRYPTOPP_DEBUG is #defined.
It cannot be circumvented.
This is a bit annoying when debugging the code where the asserts are hit.
In config_mish.h,
```
#if (defined(DEBUG) || defined(_DEBUG)) || (defined(NDK_DEBUG) && (NDK_DEBUG > 0))
# undef CRYPTOPP_DEBUG
# define CRYPTOPP_DEBUG 1
#endif
```
https://docs.microsoft.com/en-us/cpp/build/reference/md-mt-ld-use-run-time-library?view=msvc-160
_DEBUG gets defined by the VC++ compiler if using those switches
Since _DEBUG is defined, CRYPTOPP_DEBUG gets defined, and thus the CRYPTOPP_ASSERT calls debug break.
Since NDEBUG isn't used, maybe this would be useful
```
#if !defined(CRYPTOPP_NO_DEBUG)
#if (defined(DEBUG) || defined(_DEBUG)) || (defined(NDK_DEBUG) && (NDK_DEBUG > 0))
# undef CRYPTOPP_DEBUG
# define CRYPTOPP_DEBUG 1
#endif
#endif
```
| CRYPTOPP_ASSERT calls DebugBreak in debug builds, no kill switch | https://api.github.com/repos/weidai11/cryptopp/issues/1079/comments | 1 | 2021-10-21T06:48:32Z | 2021-11-14T05:26:13Z | https://github.com/weidai11/cryptopp/issues/1079 | 1,032,122,176 | 1,079 |
[
"weidai11",
"cryptopp"
] | If I understand correctly, the data sink in crypto++ needs to be created in the heap every time it is used. Just like this:
```C++
// ...
StreamTransformationFilter iDecryptor(*pDec, new StringSink(stResult)); // <-- new sink every time
iDecryptor.Put(static_cast<const BYTE*>(pData), nByteSize);
iDecryptor.MessageEnd();
// ... use stResult
```
Frequent new and delete operations have a certain degree of performance damage to the processing of a **large number of small packets in a multi-threaded environment**.
We can add a simple function to the Filter class:
```C++
BufferedTransformation* Deprive(void) { return m_attachment.release(); }
```
To eliminate all these new and delete operations:
```C++
// ...
ByteExSink skResult(btResult); // <--- create on stack
StreamTransformationFilter iDecryptor(*pDec, &skResult);
try
{
iDecryptor.Put(static_cast<const BYTE*>(pData), nByteSize);
iDecryptor.MessageEnd();
}
catch (...)
{
iDecryptor.Deprive(); // <--- prevent member_ptr delete it
throw;
}
iDecryptor.Deprive(); // <--- prevent member_ptr delete it
// ...
```
In our single-threaded test, the above optimization can bring about 8.5% performance improvement. The performance of multi-threaded testing can be increased by about 30%. | Add one line code to allow the data sink created on stack | https://api.github.com/repos/weidai11/cryptopp/issues/1078/comments | 3 | 2021-10-20T19:24:02Z | 2023-06-25T23:32:18Z | https://github.com/weidai11/cryptopp/issues/1078 | 1,031,753,801 | 1,078 |
[
"weidai11",
"cryptopp"
] | null | Can I compile only what I want? For example, I just want the ecc encryption part | https://api.github.com/repos/weidai11/cryptopp/issues/1077/comments | 0 | 2021-10-19T09:35:39Z | 2021-10-19T13:08:41Z | https://github.com/weidai11/cryptopp/issues/1077 | 1,030,080,654 | 1,077 |
[
"weidai11",
"cryptopp"
] | 
| build in M1 chip for iphone throw unknown type name 'uint32x4_t'; did you mean 'uint32_t'? | https://api.github.com/repos/weidai11/cryptopp/issues/1076/comments | 0 | 2021-10-19T09:23:04Z | 2021-10-19T09:27:40Z | https://github.com/weidai11/cryptopp/issues/1076 | 1,030,066,758 | 1,076 |
[
"weidai11",
"cryptopp"
] | ### Crypto++ Issue Report
```
crypto_version="CRYPTOPP_8_6_0"
function install_cryptopp_platform
{
(
set +u # Allow having undefined variables in setenv-ios.sh
IOS_SDK="$1" IOS_CPU="$2" source ./TestScripts/setenv-ios.sh
make -j"$NUM_PROC" -f GNUmakefile-cross
make install -f GNUmakefile-cross PREFIX="$THIRDPARTY_INSTALL_PREFIX"
mkdir -p "$THIRDPARTY_INSTALL_PREFIX/lib/crypto_$2"
mv "$THIRDPARTY_INSTALL_PREFIX/lib/libcryptopp.a" "$THIRDPARTY_INSTALL_PREFIX/lib/crypto_$2"
set -u
)
}
function install_cryptopp
{
echo "##teamcity[blockOpened name='cryptopp']"
download_crypto
local src_dir="cryptopp-$crypto_version"
pushd "$src_dir"
install_cryptopp_platform iPhoneOS arm64
make clean
install_cryptopp_platform iPhoneSimulator i386
make clean
local lib_arm64="$THIRDPARTY_INSTALL_PREFIX/lib/crypto_arm64/"
local lib_i386="$THIRDPARTY_INSTALL_PREFIX/lib/crypto_i386/"
lipo -create -output "$THIRDPARTY_INSTALL_PREFIX/lib/libcryptopp.a" "$lib_arm64/libcryptopp.a" "$lib_i386/libcryptopp.a"
popd
echo "##teamcity[blockClosed name='cryptopp']"
}
```
This works fine with `8_5_0`, but not with `8_6_0`. Then I get errors like:
```
clang++ -DNDEBUG -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.0.sdk -Wall -g2 -O3 -fPIC -arch arm64 -miphoneos-version-min=6 -stdlib=libc++ -fno-common -c dh.cpp
In file included from crc_simd.cpp:23:
./arm_simd.h:35:14: error: instruction requires: crc
__asm__ ("crc32b %w0, %w0, %w1 \n\t"
^
<inline asm>:1:2: note: instantiated into assembly here
crc32b w8, w8, w10
^
In file included from crc_simd.cpp:23:
./arm_simd.h:68:14: error: instruction requires: crc
__asm__ ("crc32w %w0, %w0, %w1 \n\t"
^
```
`Mac mini (M1, 2020) macOs BigSur 11.6`
```
Apple clang version 13.0.0 (clang-1300.0.29.3)
Target: arm64-apple-darwin20.6.0
Thread model: posix
InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin
```
`Xcode Version 13.0`
| Can't build Crypto++ 8.6.0 for iOS in the M1 architecture | https://api.github.com/repos/weidai11/cryptopp/issues/1074/comments | 16 | 2021-10-14T13:04:00Z | 2022-12-20T17:59:35Z | https://github.com/weidai11/cryptopp/issues/1074 | 1,026,373,162 | 1,074 |
[
"weidai11",
"cryptopp"
] | Base64URLEncoder has a large performance gap with java and rust libraries.
I'm not sure if it is a problem with my code。
os: win11
cpu: Intel(R) Core(TM) i7-10700 CPU @ 2.90GHz 2.90 GHz
cryptopp: CRYPTOPP_8_6_0
C++ msvc /O2
```
int64_t getTime() {
struct timeb t1;
ftime(&t1);
return t1.time*1000+t1.millitm;
}
int main(int argc, char const *argv[])
{
byte decoded[] = { 0xFF, 0xEE, 0xDD, 0xCC, 0xBB, 0xAA, 0x99, 0x88, 0x77, 0x66, 0x55, 0x44, 0x33, 0x22, 0x11, 0x00 };
const size_t count = 10000000;
int64_t begin = getTime();
for (size_t i = 0; i < count; i++)
{
std::string encoded;
StringSource ss(decoded, sizeof(decoded), true,
new Base64URLEncoder(
new StringSink(encoded)
) // Base64URLEncoder
); // StringSource
}
int64_t end = getTime();
std::cout << "count: " << count << ",time: " << (end-begin) << std::endl;
return 0;
}
// print count: 10000000,time: 27128
```
java lib: org.apache.commons:commons-codec:1.11
```
public static void main(String[] args) {
byte[] decoded = { (byte) 0xFF, (byte)0xEE, (byte)0xDD, (byte)0xCC, (byte)0xBB, (byte)0xAA, (byte)0x99, (byte)0x88
, (byte)0x77, (byte)0x66, (byte)0x55, (byte)0x44, (byte)0x33, (byte)0x22, (byte)0x11, (byte)0x00 };
long begin = System.currentTimeMillis();
for (int i = 0; i < 10000000; i++) {
Base64.encodeBase64URLSafeString(decoded);
}
long end = System.currentTimeMillis();
System.out.println(end-begin);
}
// print 6511
```
rust lib: base64 = "0.13"
```
fn main() {
let config: base64::Config = base64::Config::new(base64::CharacterSet::UrlSafe, false);
let decoded = vec![ 0xFFu8, 0xEE, 0xDD, 0xCC, 0xBB, 0xAA, 0x99, 0x88, 0x77, 0x66, 0x55, 0x44, 0x33, 0x22, 0x11, 0x00];
let begin = std::time::SystemTime::now()
.duration_since(std::time::UNIX_EPOCH)
.unwrap()
.as_millis() as i64;
for i in 0..10000000 {
base64::encode_config(decoded.as_slice(), config);
}
let end = std::time::SystemTime::now()
.duration_since(std::time::UNIX_EPOCH)
.unwrap()
.as_millis() as i64;
println!("{}",end-begin);
}
// print 656
```
10000000 times base64 encoding
C++ cryptopp 27128 ms
java org.apache.commons:commons-codec:1.11 6511 ms
rust base64 = "0.13" 656 ms
why is that?
| Base64URLEncoder performance is poor | https://api.github.com/repos/weidai11/cryptopp/issues/1073/comments | 2 | 2021-10-12T06:19:36Z | 2021-10-15T03:20:39Z | https://github.com/weidai11/cryptopp/issues/1073 | 1,023,411,698 | 1,073 |
[
"weidai11",
"cryptopp"
] | Tony Stead reports memory errors in `integer.cpp` when performing bit operations after the size of the underlying `SecBlock` changes. Also see [Buffer Overflow in Integer.cpp](https://groups.google.com/g/cryptopp-users/c/buT4wmnIfWo) on the mailing list.
Attached is his reproducer: [integer_error.zip](https://github.com/weidai11/cryptopp/files/7313228/integer_error.zip)
The results under Valgrind:
```
$ g++ -DDEBUG -g3 -O0 integer_error.cxx -o integer_error.exe ./libcryptopp.a
$ valgrind -- ./integer_error.exe
==20955== Memcheck, a memory error detector
==20955== Copyright (C) 2002-2017, and GNU GPL'd, by Julian Seward et al.
==20955== Using Valgrind-3.15.0 and LibVEX; rerun with -h for copyright info
==20955== Command: ./integer_error.exe
==20955==
==20955== Invalid read of size 8
==20955== at 0x1B1583: AndWords(unsigned long*, unsigned long const*, unsigned long) (words.h:109)
==20955== by 0x1A3E2F: Integer::And(Integer const&) const (integer.cpp:3809)
==20955== by 0x188246: operator&(Integer const&, Integer const&) (integer.h:798)
==20955== by 0x187F93: main (integer_error.cxx:51)
==20955== Address 0x4dbf510 is 0 bytes after a block of size 32 alloc'd
==20955== at 0x483E340: memalign (in /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so)
==20955== by 0x1BA501: AlignedAllocate(unsigned long) (allocate.cpp:49)
==20955== by 0x1B4A9C: AllocatorWithCleanup<unsigned long, true>::allocate(unsigned long, void const*) (secblock.h:215)
==20955== by 0x1B35BD: SecBlock<unsigned long, AllocatorWithCleanup<unsigned long, true> >::SecBlock(unsigned long) (secblock.h:767)
==20955== by 0x19EB3B: Integer::Integer(Integer const&) (integer.cpp:2973)
==20955== by 0x1A3DEB: Integer::And(Integer const&) const (integer.cpp:3808)
==20955== by 0x188246: operator&(Integer const&, Integer const&) (integer.h:798)
==20955== by 0x187F93: main (integer_error.cxx:51)
==20955==
==20955== Invalid write of size 8
==20955== at 0x1B15B2: AndWords(unsigned long*, unsigned long const*, unsigned long) (words.h:109)
==20955== by 0x1A3E2F: Integer::And(Integer const&) const (integer.cpp:3809)
==20955== by 0x188246: operator&(Integer const&, Integer const&) (integer.h:798)
==20955== by 0x187F93: main (integer_error.cxx:51)
==20955== Address 0x4dbf510 is 0 bytes after a block of size 32 alloc'd
==20955== at 0x483E340: memalign (in /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so)
==20955== by 0x1BA501: AlignedAllocate(unsigned long) (allocate.cpp:49)
==20955== by 0x1B4A9C: AllocatorWithCleanup<unsigned long, true>::allocate(unsigned long, void const*) (secblock.h:215)
==20955== by 0x1B35BD: SecBlock<unsigned long, AllocatorWithCleanup<unsigned long, true> >::SecBlock(unsigned long) (secblock.h:767)
==20955== by 0x19EB3B: Integer::Integer(Integer const&) (integer.cpp:2973)
==20955== by 0x1A3DEB: Integer::And(Integer const&) const (integer.cpp:3808)
==20955== by 0x188246: operator&(Integer const&, Integer const&) (integer.h:798)
==20955== by 0x187F93: main (integer_error.cxx:51)
==20955==
==20955==
==20955== HEAP SUMMARY:
==20955== in use at exit: 0 bytes in 0 blocks
==20955== total heap usage: 14 allocs, 14 frees, 74,200 bytes allocated
==20955==
==20955== All heap blocks were freed -- no leaks are possible
==20955==
==20955== For lists of detected and suppressed errors, rerun with: -s
==20955== ERROR SUMMARY: 8 errors from 2 contexts (suppressed: 0 from 0)
``` | Memory errors in Integer when performing bit operations after the size of the SecBlock changes | https://api.github.com/repos/weidai11/cryptopp/issues/1072/comments | 1 | 2021-10-08T17:41:41Z | 2021-10-08T19:54:04Z | https://github.com/weidai11/cryptopp/issues/1072 | 1,021,332,517 | 1,072 |
[
"weidai11",
"cryptopp"
] | I recently installed gcc-11.1 and tried to build an old project that uses crypto++ but it failed saying:
```
/vcpkg/installed/x64-linux/include/cryptopp/filters.h:1369:49: error: expected ‘)’ before ‘*’ token
1369 | SourceTemplate<T>(BufferedTransformation *attachment)
| ~ ^~
| )
/vcpkg/installed/x64-linux/include/cryptopp/filters.h: In constructor ‘CryptoPP::StringSource::StringSource(CryptoPP::BufferedTransformation*)’:
/home/userlinux/vcpkg/installed/x64-linux/include/cryptopp/filters.h:1398:57: error: no matching function for call to ‘CryptoPP::SourceTemplate<CryptoPP::StringStore>::SourceTemplate(CryptoPP::BufferedTransformation*&)’
1398 | : SourceTemplate<StringStore>(attachment) {}
```
it was working well with gcc-10 in std=c++20 mode also I tried with gcc-11 in std=c++17 and it compiles well
I'm using crypto++ installed by vcpkg. | g++-11 compiler error in c++ 20 mode | https://api.github.com/repos/weidai11/cryptopp/issues/1070/comments | 1 | 2021-09-23T18:46:41Z | 2021-09-23T23:30:21Z | https://github.com/weidai11/cryptopp/issues/1070 | 1,005,740,428 | 1,070 |
[
"weidai11",
"cryptopp"
] | Reported on the mailing list at [Flipped bit in chacha encrypted file, avx vs sse](https://groups.google.com/g/cryptopp-users/c/07GHmO6UOEk). The following test script produces different results pivoting around AVX2. The test data file `run_459_file_76.bin` is significant.
```bash
#!/usr/bin/env bash
make distclean &>/dev/null
CXXFLAGS="-DNDEBUG -g2 -O3 -std=c++17" make -j 5
wget -O main.cxx --quiet https://raw.githubusercontent.com/austin-clifton/cryptopp-chacha-asm-test/main/src/main.cpp
wget -O run_459_file_76.bin --quiet https://github.com/austin-clifton/cryptopp-chacha-asm-test/blob/main/run/run_459_file_76.bin?raw=true
sed -i 's/cryptopp\///g' main.cxx
g++ -DNDEBUG -g2 -O3 -std=c++17 -I. main.cxx ./libcryptopp.a -o main.exe
./main.exe
```
Here are the results from several different machines. I believe the C++ and SSE2 one `8F16077454F8477594CAD4304126B0A6F30C8C4D2536E2441FFFD320656E1DF1` is correct. The AVX2 one is incorrect.
```txt
Core i7-8700 (Intel, AVX2, no SHA):
sha256: 0FC0FADCDF82770086C9DA8513A16FC785620D7B1C187CDD828E433EB0979847
encsha: 6FBEE484EE64A2AB02235DDF29CA0B61EE3B811D227C2729836D3BD6161C9B18
Celeron J3455 (Intel, no AVX, SHA):
sha256: 0FC0FADCDF82770086C9DA8513A16FC785620D7B1C187CDD828E433EB0979847
encsha: 8F16077454F8477594CAD4304126B0A6F30C8C4D2536E2441FFFD320656E1DF1
Ryzen 3 3300U (AMD, AVX2, SHA)
sha256: 0FC0FADCDF82770086C9DA8513A16FC785620D7B1C187CDD828E433EB0979847
encsha: 6FBEE484EE64A2AB02235DDF29CA0B61EE3B811D227C2729836D3BD6161C9B18
CRYPTOPP_DISABLE_ASM:
sha256: 0FC0FADCDF82770086C9DA8513A16FC785620D7B1C187CDD828E433EB0979847
encsha: 8F16077454F8477594CAD4304126B0A6F30C8C4D2536E2441FFFD320656E1DF1
``` | ChaCha and incorrect result when using AVX2 | https://api.github.com/repos/weidai11/cryptopp/issues/1069/comments | 3 | 2021-09-18T00:15:30Z | 2021-09-20T22:06:32Z | https://github.com/weidai11/cryptopp/issues/1069 | 999,801,314 | 1,069 |
[
"weidai11",
"cryptopp"
] | Anyone can how to build or compile this cryptopp in windows | How to build in windows | https://api.github.com/repos/weidai11/cryptopp/issues/1068/comments | 1 | 2021-08-25T07:13:25Z | 2021-08-25T07:33:54Z | https://github.com/weidai11/cryptopp/issues/1068 | 978,800,432 | 1,068 |
[
"weidai11",
"cryptopp"
] | ### Crypto++ Issue Report
Thanks for taking the time to report an issue. Reporting issues helps us improve stability and reliability for all users, so it is a valuable contribution.
Please do not ask questions in the bug tracker. Please ask questions on the Crypto++ Users List at http://groups.google.com/forum/#!forum/cryptopp-users.
Please _do not_ ask questions at Stack Overflow. We may not be able to answer your question.
There is a wiki page with information on filing useful bug reports. If you have some time please visit http://www.cryptopp.com/wiki/Bug_Report on the wiki. The executive summary is:
* State the operating system and version (Ubutnu 17 x86_64, Windows 7 Professional x64, etc)
* State the version of the Crypto++ library (Crypto++ 7.0, Master, etc)
* State how you built the library (Makefile, Cmake, distro, etc)
* Show a typical command line (the output of the compiler for cryptlib.cpp)
* Show the link command (the output of the linker for libcryptopp.so or cryptest.exe)
* Show the exact error message you are receiving (copy and paste it); or
* Clearly state the undesired behavior (and state the expected behavior)
Hello! I am having a small issue whenever I try to build my application with anything that includes crypto. I have everything on the linker set up correctly.
My project is set to std:c++17

| c++17 build error | https://api.github.com/repos/weidai11/cryptopp/issues/1067/comments | 1 | 2021-08-24T21:10:19Z | 2021-08-24T21:26:19Z | https://github.com/weidai11/cryptopp/issues/1067 | 978,489,121 | 1,067 |
[
"weidai11",
"cryptopp"
] | I was using a ConstByteArrayParameter with
`AlgorithmParameters params = MakeParameters(Name::FeedbackSize(), 1)( Name::IV(), ConstByteArrayParameter(
buf, len, /*deepCopy*/ true));`
Using that with AES CFB encryption, it was encrypting to a different value with the same key and iv as another library. Eventually, I found that changing deepCopy from true to false fixed it.
I looked more into it and this appears to be because with deepCopy it sets m_mark to ELEMS_MAX, while without deepCopy it doesn't. I don't understand the code enough to understand what that actually effects.
Script showing this behavior:
```
bool deepCopy = true;
string_view key = "0123456789abcdef";
const byte* buf = (const byte*)(&key[0]);
CFB_Mode<AES>::Encryption cipher;
AlgorithmParameters params = MakeParameters(Name::FeedbackSize(), 1)
(Name::IV(), ConstByteArrayParameter(buf, key.size(), deepCopy));
cipher.SetKey(buf, key.size(), params);
string inout = "Test Message";
cipher.ProcessString((byte*)(&inout[0]), inout.size());
for(unsigned char c : inout) {
cout << (unsigned int)c << " ";
}
```
Output:
deepCopy = true: 54 212 37 247 60 195 31 237 151 174 121 229
deepCopy = false: 38 139 250 34 92 236 75 111 42 125 55 140
Other libraries give, for the same key, the result with deepCopy false.
Even if the deepCopy true behavior is correct and the other libraries are just wrong, a copy flag still shouldn't affect the end behavior, right? | Unexpected behavior from ConstByteArrayParameter with deepCopy true | https://api.github.com/repos/weidai11/cryptopp/issues/1066/comments | 8 | 2021-08-14T09:20:06Z | 2021-09-26T23:42:38Z | https://github.com/weidai11/cryptopp/issues/1066 | 970,870,974 | 1,066 |
[
"weidai11",
"cryptopp"
] | I'm currently using Visual Studio 2019 to compile and test cryptopp, but always failed.
The error information is,
Testing Integer operations...
Assertion failed: xxx\cryptopp\integer.cpp(4399): CryptoPP::a_times_b_mod_c | Testing Integer operations error in VS2019 | https://api.github.com/repos/weidai11/cryptopp/issues/1065/comments | 1 | 2021-08-07T03:59:54Z | 2021-08-24T21:26:09Z | https://github.com/weidai11/cryptopp/issues/1065 | 963,148,271 | 1,065 |
[
"weidai11",
"cryptopp"
] | I think I stumbled upon a bug in the `StringSinkTemplate`. It seems it is not reserving enough space in the output string.
It tried, but I think the condition is wrong.
I look at `filters.h` line 1145, the if-statement in method Put2: `if (length < size && size + length > m_output->capacity())`.
Program to reproduce:
```
#include <cryptopp/dll.h>
#include <cryptopp/hex.h>
#include <string>
int main(int argc, const char* argv[]) {
std::cout << "START OF PROGRAM" << std::endl;
{
std::string encoded="";
//encoded.reserve(32); // ==> If you uncomment this line, the program does not crash any more.
CryptoPP::byte decoded[] = { 0xFF, 0xEE, 0xDD, 0xCC, 0xBB, 0xAA, 0x99, 0x88, 0x77, 0x66, 0x55, 0x44, 0x33, 0x22, 0x11, 0x00 };
CryptoPP::HexEncoder encoder2;
encoder2.Attach(new CryptoPP::StringSink(encoded));
encoder2.Put(decoded, sizeof(decoded));
encoder2.MessageEnd();
std::cout << "Encoded: " << encoded << std::endl;
}
std::cout << "END OF PROGRAM" << std::endl;
}
```
So if I don't reserve enough space in the string myself, the program ends up in undefined behavior since it writes outside the reserved memory for the string.
It seems like it is not required for the end-user to do this since it is also never noted in the e.g. [docs of the HexEncoder](https://www.cryptopp.com/wiki/HexEncoder).
This code looks weird to me:
```
typename T::size_type size = m_output->size();
if (length < size && size + length > m_output->capacity())
m_output->reserve(2*size);
```
I think it should be:
```
typename T::size_type size = m_output->size();
if (size + length > m_output->capacity()) // <= changed this line
m_output->reserve(size + length); // <= changed this line
```
First, since the `length` being smaller or greater then the current `size` has nothing to do with the required capacity.
Second, basing the new capacity on the `2*size` seems unlogical, it should be what we check for: `size + length`.
I test this using Visual Studio 2019. And I changed the Runtime Library from `\MTd` to `\MDd` and `\MT` to `\MD` for respectively `Debug` and `Release` build-config. I only tried `x64`. I tested on the released Cryptopp version 8.5.0.
If you agree with the proposed solution I will create a pull request in the up-coming few days.
| Bug in StringSinkTemplate not reserving enough space in output string. | https://api.github.com/repos/weidai11/cryptopp/issues/1064/comments | 3 | 2021-07-23T16:58:32Z | 2021-08-03T16:45:40Z | https://github.com/weidai11/cryptopp/issues/1064 | 951,748,004 | 1,064 |
[
"weidai11",
"cryptopp"
] |
It took me a while to narrow it down to these two things: (each cause a crash independently from each other)
1. If you call GenerateRandomWithKeySize() from a constructor. (creating void init method solves it)
2. This one is weirder, GenerateRandomWithKeySize() crashes if std::this_thread::sleep_for(std::chrono::seconds(2)); is called before it. If you call std::this_thread::sleep_for(std::chrono::microseconds(1));, it DOES NOT crash. I'm not sure at which x std::chrono::seconds(x) it doesn't crash or crash, I just tried the 2 above and the first crashes and the second doesn't!!!!
In my case, the call to sleep was even in a different function not even directly before GenerateRandomWithKeySize()
Compiler: msvc LLVM - clang-cl x64 for and on Windows 10 my windows and compiler are up to date
Using Visual Studio 2019 (v142) instead of LLVM does not solve the problem
Cheers | GenerateRandomWithKeySize() crashing | https://api.github.com/repos/weidai11/cryptopp/issues/1063/comments | 3 | 2021-07-23T13:19:54Z | 2021-07-23T21:18:19Z | https://github.com/weidai11/cryptopp/issues/1063 | 951,574,568 | 1,063 |
[
"weidai11",
"cryptopp"
] |
E:\GitHub\cryptopp-CRYPTOPP_8_5_0\Win32\DLL_Output\Debug>dlltest.exe
0. Automatic power-up self test passed.
1. Caught expected exception when simulating self test failure. Exception message follows: Cryptographic algorithms are disabled after a power-up self test failed.
2. Re-do power-up self test passed.
3. DES-EDE3-CFB Encryption/decryption succeeded.
4. SHA-1 hash succeeded.
5. DSA key generation succeeded.
6. DSA key encode/decode succeeded.
7. DSA signature and verification succeeded.
8. DSA signature verification successfully detected bad signature.
9. Caught expected exception when using invalid key length. Exception message follows: DES-EDE3: 5 is not a valid key length
FIPS 140-2 Sample Application completed normally.
E:\GitHub\cryptopp-CRYPTOPP_8_5_0\Win32\DLL_Output\Debug>
| run test failed | https://api.github.com/repos/weidai11/cryptopp/issues/1060/comments | 0 | 2021-07-12T07:31:56Z | 2021-07-12T07:35:53Z | https://github.com/weidai11/cryptopp/issues/1060 | 941,760,515 | 1,060 |
[
"weidai11",
"cryptopp"
] | https://eprint.iacr.org/2021/923 illustrates a message recovery attack in a scenario where Crypto++ encrypts a message to ElGamal public keys generated according to different conventions than those used in Crypto++. This is an issue in interoperable scenarios, such as OpenPGP.
Concretely, ElGamal ciphertexts generated by Crypto++ have the form (g^y, h^y·M) where the bitlength of y is much shorter than that of the ElGamal modulus (see https://github.com/weidai11/cryptopp/blob/434e3189/nbtheory.cpp#L1045-L1050). The attack recovers y in cases where g generates a group of composite order N, where N = q·f₁·f₂··· with f_i small.
The fix is to change the way y is sampled during encryption: sampling y with as many bits as the modulus p prevents all attacks, and is the only safe option. | Message recovery vulnerability in ElGamal | https://api.github.com/repos/weidai11/cryptopp/issues/1059/comments | 5 | 2021-07-09T23:42:57Z | 2021-09-24T04:49:01Z | https://github.com/weidai11/cryptopp/issues/1059 | 941,123,117 | 1,059 |
[
"weidai11",
"cryptopp"
] | https://eprint.iacr.org/2021/923, Sections 5-6, reports that the finite field exponentiation implementation in https://github.com/weidai11/cryptopp/blob/45de5c6c/algebra.cpp#L255-L314 leaks secret exponents.
The suggested fix is to rewrite the implementation using fixed-window exponentiation with secure table lookups. | Side-channel leakage in finite field exponentiation | https://api.github.com/repos/weidai11/cryptopp/issues/1058/comments | 0 | 2021-07-09T23:34:07Z | 2021-07-09T23:34:07Z | https://github.com/weidai11/cryptopp/issues/1058 | 941,121,004 | 1,058 |
[
"weidai11",
"cryptopp"
] | bug in : get byte of a cipher variable and send it to a server | https://api.github.com/repos/weidai11/cryptopp/issues/1056/comments | 2 | 2021-07-05T12:52:11Z | 2021-07-05T16:21:41Z | https://github.com/weidai11/cryptopp/issues/1056 | 937,060,962 | 1,056 | |
[
"weidai11",
"cryptopp"
] | I am unable to compile version 8.5.0 on my linux machine unless I alter GNUmakefile by adding `CRYPTOPP_CXXFLAGS += -DCRYPTOPP_DISABLE_SHANI` to the cases where the CRYPTOPP_DISABLE_AVX flag is set:
```
ifeq ($(AVX_FLAG),)
CRYPTOPP_CXXFLAGS += -DCRYPTOPP_DISABLE_AVX
CRYPTOPP_CXXFLAGS += -DCRYPTOPP_DISABLE_SHANI
else ifeq ($(AVX2_FLAG),)
CRYPTOPP_CXXFLAGS += -DCRYPTOPP_DISABLE_AVX2
CRYPTOPP_CXXFLAGS += -DCRYPTOPP_DISABLE_SHANI
else ifeq ($(SHANI_FLAG),)
CRYPTOPP_CXXFLAGS += -DCRYPTOPP_DISABLE_SHANI
endif
```
On a side note, I believe the AVX test may be unreliable; the following line in GNUmakefile sets HAVE_OPT=0 (compiles without producing output), even though the AVX instruction is not available:
`HAVE_OPT = $(shell $(CXX) $(TCXXFLAGS) $(ZOPT) $(TOPT) $(TPROG) -o $(TOUT) 2>&1 | wc -w)`
However, if you execute this compiled test binary on a machine without AVX, it will produce the following:
`Illegal instruction (core dumped)`
Perhaps the test could alternatively check if `__AVX__` is defined?
Version 5.6.5 is able to compile OK by simply running make.
CentOS release 6.7 (Final)
Intel(R) Xeon(R) CPU X5560 @ 2.80GHz
```
cat /proc/cpuinfo | fold -w 80
processor : 0
vendor_id : GenuineIntel
cpu family : 6
model : 26
model name : Intel(R) Xeon(R) CPU X5560 @ 2.80GHz
stepping : 5
microcode : 25
cpu MHz : 2793.130
cache size : 8192 KB
physical id : 1
siblings : 4
core id : 0
cpu cores : 4
apicid : 16
initial apicid : 16
fpu : yes
fpu_exception : yes
cpuid level : 11
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov
pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx rdtscp lm c
onstant_tsc arch_perfmon pebs bts rep_good xtopology nonstop_tsc aperfmperf pni
dtes64 monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr pdcm dca sse4_1 sse4_2 popcnt
lahf_lm ida dts tpr_shadow vnmi flexpriority ept vpid
bogomips : 5586.26
clflush size : 64
cache_alignment : 64
address sizes : 40 bits physical, 48 bits virtual
power management:
...
```
```
which g++; g++ -v
/usr/local/gcc/bin/g++
Using built-in specs.
COLLECT_GCC=g++
COLLECT_LTO_WRAPPER=/usr/local/gcc-9.4.0/libexec/gcc/x86_64-pc-linux-gnu/9.4.0/lto-wrapper
Target: x86_64-pc-linux-gnu
Configured with: ../gcc-9.4.0/configure --prefix=/usr/local/gcc-9.4.0 --enable-languages=c,c++,fortran
Thread model: posix
gcc version 9.4.0 (GCC)
```
I have tested with several versions of the GNU g++ compiler (versions 4.9.4, 5.50, 7.5.0, 8.5.0, 9.4.0, 10.3.0, 11.1.0), and none of them have been successful.
From within the extracted cryptopp-CRYPTOPP_8_5_0 directory, I am simply running `make`; below are the errors produced:
```
g++ -DNDEBUG -g2 -O3 -DCRYPTOPP_DISABLE_AVX2 -fPIC -pthread -pipe -c sha_simd.cpp
In file included from /usr/local/gcc-9.4.0/lib/gcc/x86_64-pc-linux-gnu/9.4.0/include/immintrin.h:99,
from sha_simd.cpp:23:
/usr/local/gcc-9.4.0/lib/gcc/x86_64-pc-linux-gnu/9.4.0/include/shaintrin.h: In function ‘void CryptoPP::SHA1_HashMultipleBlocks_SHANI(CryptoPP::word32*, const word32*, size_t, CryptoPP::ByteOrder)’:
/usr/local/gcc-9.4.0/lib/gcc/x86_64-pc-linux-gnu/9.4.0/include/shaintrin.h:53:1: error: inlining failed in call to always_inline ‘__m128i _mm_sha1nexte_epu32(__m128i, __m128i)’: target specific option mismatch
53 | _mm_sha1nexte_epu32 (__m128i __A, __m128i __B)
| ^~~~~~~~~~~~~~~~~~~
sha_simd.cpp:410:33: note: called from here
410 | E0 = _mm_sha1nexte_epu32(E0, E0_SAVE);
| ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~
In file included from /usr/local/gcc-9.4.0/lib/gcc/x86_64-pc-linux-gnu/9.4.0/include/immintrin.h:99,
from sha_simd.cpp:23:
/usr/local/gcc-9.4.0/lib/gcc/x86_64-pc-linux-gnu/9.4.0/include/shaintrin.h:61:1: error: inlining failed in call to always_inline ‘__m128i _mm_sha1rnds4_epu32(__m128i, __m128i, int)’: target specific option mismatch
61 | _mm_sha1rnds4_epu32 (__m128i __A, __m128i __B, const int __I)
| ^~~~~~~~~~~~~~~~~~~
sha_simd.cpp:407:35: note: called from here
407 | ABCD = _mm_sha1rnds4_epu32(ABCD, E1, 3);
| ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~
In file included from /usr/local/gcc-9.4.0/lib/gcc/x86_64-pc-linux-gnu/9.4.0/include/immintrin.h:99,
from sha_simd.cpp:23:
/usr/local/gcc-9.4.0/lib/gcc/x86_64-pc-linux-gnu/9.4.0/include/shaintrin.h:53:1: error: inlining failed in call to always_inline ‘__m128i _mm_sha1nexte_epu32(__m128i, __m128i)’: target specific option mismatch
53 | _mm_sha1nexte_epu32 (__m128i __A, __m128i __B)
| ^~~~~~~~~~~~~~~~~~~
sha_simd.cpp:405:33: note: called from here
405 | E1 = _mm_sha1nexte_epu32(E1, MSG3);
| ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~
In file included from /usr/local/gcc-9.4.0/lib/gcc/x86_64-pc-linux-gnu/9.4.0/include/immintrin.h:99,
from sha_simd.cpp:23:
/usr/local/gcc-9.4.0/lib/gcc/x86_64-pc-linux-gnu/9.4.0/include/shaintrin.h:61:1: error: inlining failed in call to always_inline ‘__m128i _mm_sha1rnds4_epu32(__m128i, __m128i, int)’: target specific option mismatch
61 | _mm_sha1rnds4_epu32 (__m128i __A, __m128i __B, const int __I)
| ^~~~~~~~~~~~~~~~~~~
sha_simd.cpp:402:35: note: called from here
402 | ABCD = _mm_sha1rnds4_epu32(ABCD, E0, 3);
| ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~
In file included from /usr/local/gcc-9.4.0/lib/gcc/x86_64-pc-linux-gnu/9.4.0/include/immintrin.h:99,
from sha_simd.cpp:23:
/usr/local/gcc-9.4.0/lib/gcc/x86_64-pc-linux-gnu/9.4.0/include/shaintrin.h:46:1: error: inlining failed in call to always_inline ‘__m128i _mm_sha1msg2_epu32(__m128i, __m128i)’: target specific option mismatch
46 | _mm_sha1msg2_epu32 (__m128i __A, __m128i __B)
| ^~~~~~~~~~~~~~~~~~
sha_simd.cpp:401:34: note: called from here
401 | MSG3 = _mm_sha1msg2_epu32(MSG3, MSG2);
| ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~
In file included from /usr/local/gcc-9.4.0/lib/gcc/x86_64-pc-linux-gnu/9.4.0/include/immintrin.h:99,
from sha_simd.cpp:23:
/usr/local/gcc-9.4.0/lib/gcc/x86_64-pc-linux-gnu/9.4.0/include/shaintrin.h:53:1: error: inlining failed in call to always_inline ‘__m128i _mm_sha1nexte_epu32(__m128i, __m128i)’: target specific option mismatch
53 | _mm_sha1nexte_epu32 (__m128i __A, __m128i __B)
| ^~~~~~~~~~~~~~~~~~~
sha_simd.cpp:399:33: note: called from here
399 | E0 = _mm_sha1nexte_epu32(E0, MSG2);
| ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~
In file included from /usr/local/gcc-9.4.0/lib/gcc/x86_64-pc-linux-gnu/9.4.0/include/immintrin.h:99,
from sha_simd.cpp:23:
/usr/local/gcc-9.4.0/lib/gcc/x86_64-pc-linux-gnu/9.4.0/include/shaintrin.h:61:1: error: inlining failed in call to always_inline ‘__m128i _mm_sha1rnds4_epu32(__m128i, __m128i, int)’: target specific option mismatch
61 | _mm_sha1rnds4_epu32 (__m128i __A, __m128i __B, const int __I)
| ^~~~~~~~~~~~~~~~~~~
sha_simd.cpp:395:35: note: called from here
395 | ABCD = _mm_sha1rnds4_epu32(ABCD, E1, 3);
| ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~
In file included from /usr/local/gcc-9.4.0/lib/gcc/x86_64-pc-linux-gnu/9.4.0/include/immintrin.h:99,
from sha_simd.cpp:23:
/usr/local/gcc-9.4.0/lib/gcc/x86_64-pc-linux-gnu/9.4.0/include/shaintrin.h:46:1: error: inlining failed in call to always_inline ‘__m128i _mm_sha1msg2_epu32(__m128i, __m128i)’: target specific option mismatch
46 | _mm_sha1msg2_epu32 (__m128i __A, __m128i __B)
| ^~~~~~~~~~~~~~~~~~
sha_simd.cpp:394:34: note: called from here
394 | MSG2 = _mm_sha1msg2_epu32(MSG2, MSG1);
| ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~
In file included from /usr/local/gcc-9.4.0/lib/gcc/x86_64-pc-linux-gnu/9.4.0/include/immintrin.h:99,
from sha_simd.cpp:23:
/usr/local/gcc-9.4.0/lib/gcc/x86_64-pc-linux-gnu/9.4.0/include/shaintrin.h:53:1: error: inlining failed in call to always_inline ‘__m128i _mm_sha1nexte_epu32(__m128i, __m128i)’: target specific option mismatch
53 | _mm_sha1nexte_epu32 (__m128i __A, __m128i __B)
| ^~~~~~~~~~~~~~~~~~~
sha_simd.cpp:392:33: note: called from here
392 | E1 = _mm_sha1nexte_epu32(E1, MSG1);
| ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~
In file included from /usr/local/gcc-9.4.0/lib/gcc/x86_64-pc-linux-gnu/9.4.0/include/immintrin.h:99,
from sha_simd.cpp:23:
/usr/local/gcc-9.4.0/lib/gcc/x86_64-pc-linux-gnu/9.4.0/include/shaintrin.h:39:1: error: inlining failed in call to always_inline ‘__m128i _mm_sha1msg1_epu32(__m128i, __m128i)’: target specific option mismatch
39 | _mm_sha1msg1_epu32 (__m128i __A, __m128i __B)
| ^~~~~~~~~~~~~~~~~~
sha_simd.cpp:388:34: note: called from here
388 | MSG3 = _mm_sha1msg1_epu32(MSG3, MSG0);
| ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~
In file included from /usr/local/gcc-9.4.0/lib/gcc/x86_64-pc-linux-gnu/9.4.0/include/immintrin.h:99,
from sha_simd.cpp:23:
/usr/local/gcc-9.4.0/lib/gcc/x86_64-pc-linux-gnu/9.4.0/include/shaintrin.h:61:1: error: inlining failed in call to always_inline ‘__m128i _mm_sha1rnds4_epu32(__m128i, __m128i, int)’: target specific option mismatch
61 | _mm_sha1rnds4_epu32 (__m128i __A, __m128i __B, const int __I)
| ^~~~~~~~~~~~~~~~~~~
sha_simd.cpp:387:35: note: called from here
387 | ABCD = _mm_sha1rnds4_epu32(ABCD, E0, 3);
| ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~
In file included from /usr/local/gcc-9.4.0/lib/gcc/x86_64-pc-linux-gnu/9.4.0/include/immintrin.h:99,
from sha_simd.cpp:23:
/usr/local/gcc-9.4.0/lib/gcc/x86_64-pc-linux-gnu/9.4.0/include/shaintrin.h:46:1: error: inlining failed in call to always_inline ‘__m128i _mm_sha1msg2_epu32(__m128i, __m128i)’: target specific option mismatch
46 | _mm_sha1msg2_epu32 (__m128i __A, __m128i __B)
| ^~~~~~~~~~~~~~~~~~
sha_simd.cpp:386:34: note: called from here
386 | MSG1 = _mm_sha1msg2_epu32(MSG1, MSG0);
| ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~
In file included from /usr/local/gcc-9.4.0/lib/gcc/x86_64-pc-linux-gnu/9.4.0/include/immintrin.h:99,
from sha_simd.cpp:23:
/usr/local/gcc-9.4.0/lib/gcc/x86_64-pc-linux-gnu/9.4.0/include/shaintrin.h:53:1: error: inlining failed in call to always_inline ‘__m128i _mm_sha1nexte_epu32(__m128i, __m128i)’: target specific option mismatch
53 | _mm_sha1nexte_epu32 (__m128i __A, __m128i __B)
| ^~~~~~~~~~~~~~~~~~~
sha_simd.cpp:384:33: note: called from here
384 | E0 = _mm_sha1nexte_epu32(E0, MSG0);
| ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~
In file included from /usr/local/gcc-9.4.0/lib/gcc/x86_64-pc-linux-gnu/9.4.0/include/immintrin.h:99,
from sha_simd.cpp:23:
/usr/local/gcc-9.4.0/lib/gcc/x86_64-pc-linux-gnu/9.4.0/include/shaintrin.h:39:1: error: inlining failed in call to always_inline ‘__m128i _mm_sha1msg1_epu32(__m128i, __m128i)’: target specific option mismatch
39 | _mm_sha1msg1_epu32 (__m128i __A, __m128i __B)
| ^~~~~~~~~~~~~~~~~~
sha_simd.cpp:380:34: note: called from here
380 | MSG2 = _mm_sha1msg1_epu32(MSG2, MSG3);
| ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~
In file included from /usr/local/gcc-9.4.0/lib/gcc/x86_64-pc-linux-gnu/9.4.0/include/immintrin.h:99,
from sha_simd.cpp:23:
/usr/local/gcc-9.4.0/lib/gcc/x86_64-pc-linux-gnu/9.4.0/include/shaintrin.h:61:1: error: inlining failed in call to always_inline ‘__m128i _mm_sha1rnds4_epu32(__m128i, __m128i, int)’: target specific option mismatch
61 | _mm_sha1rnds4_epu32 (__m128i __A, __m128i __B, const int __I)
| ^~~~~~~~~~~~~~~~~~~
sha_simd.cpp:379:35: note: called from here
379 | ABCD = _mm_sha1rnds4_epu32(ABCD, E1, 3);
| ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~
In file included from /usr/local/gcc-9.4.0/lib/gcc/x86_64-pc-linux-gnu/9.4.0/include/immintrin.h:99,
from sha_simd.cpp:23:
/usr/local/gcc-9.4.0/lib/gcc/x86_64-pc-linux-gnu/9.4.0/include/shaintrin.h:46:1: error: inlining failed in call to always_inline ‘__m128i _mm_sha1msg2_epu32(__m128i, __m128i)’: target specific option mismatch
46 | _mm_sha1msg2_epu32 (__m128i __A, __m128i __B)
| ^~~~~~~~~~~~~~~~~~
sha_simd.cpp:378:34: note: called from here
378 | MSG0 = _mm_sha1msg2_epu32(MSG0, MSG3);
| ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~
In file included from /usr/local/gcc-9.4.0/lib/gcc/x86_64-pc-linux-gnu/9.4.0/include/immintrin.h:99,
from sha_simd.cpp:23:
/usr/local/gcc-9.4.0/lib/gcc/x86_64-pc-linux-gnu/9.4.0/include/shaintrin.h:53:1: error: inlining failed in call to always_inline ‘__m128i _mm_sha1nexte_epu32(__m128i, __m128i)’: target specific option mismatch
53 | _mm_sha1nexte_epu32 (__m128i __A, __m128i __B)
| ^~~~~~~~~~~~~~~~~~~
sha_simd.cpp:376:33: note: called from here
376 | E1 = _mm_sha1nexte_epu32(E1, MSG3);
| ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~
In file included from /usr/local/gcc-9.4.0/lib/gcc/x86_64-pc-linux-gnu/9.4.0/include/immintrin.h:99,
from sha_simd.cpp:23:
/usr/local/gcc-9.4.0/lib/gcc/x86_64-pc-linux-gnu/9.4.0/include/shaintrin.h:39:1: error: inlining failed in call to always_inline ‘__m128i _mm_sha1msg1_epu32(__m128i, __m128i)’: target specific option mismatch
39 | _mm_sha1msg1_epu32 (__m128i __A, __m128i __B)
| ^~~~~~~~~~~~~~~~~~
sha_simd.cpp:372:34: note: called from here
372 | MSG1 = _mm_sha1msg1_epu32(MSG1, MSG2);
| ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~
In file included from /usr/local/gcc-9.4.0/lib/gcc/x86_64-pc-linux-gnu/9.4.0/include/immintrin.h:99,
from sha_simd.cpp:23:
/usr/local/gcc-9.4.0/lib/gcc/x86_64-pc-linux-gnu/9.4.0/include/shaintrin.h:61:1: error: inlining failed in call to always_inline ‘__m128i _mm_sha1rnds4_epu32(__m128i, __m128i, int)’: target specific option mismatch
61 | _mm_sha1rnds4_epu32 (__m128i __A, __m128i __B, const int __I)
| ^~~~~~~~~~~~~~~~~~~
sha_simd.cpp:371:35: note: called from here
371 | ABCD = _mm_sha1rnds4_epu32(ABCD, E0, 2);
| ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~
In file included from /usr/local/gcc-9.4.0/lib/gcc/x86_64-pc-linux-gnu/9.4.0/include/immintrin.h:99,
from sha_simd.cpp:23:
/usr/local/gcc-9.4.0/lib/gcc/x86_64-pc-linux-gnu/9.4.0/include/shaintrin.h:46:1: error: inlining failed in call to always_inline ‘__m128i _mm_sha1msg2_epu32(__m128i, __m128i)’: target specific option mismatch
46 | _mm_sha1msg2_epu32 (__m128i __A, __m128i __B)
| ^~~~~~~~~~~~~~~~~~
sha_simd.cpp:370:34: note: called from here
370 | MSG3 = _mm_sha1msg2_epu32(MSG3, MSG2);
| ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~
In file included from /usr/local/gcc-9.4.0/lib/gcc/x86_64-pc-linux-gnu/9.4.0/include/immintrin.h:99,
from sha_simd.cpp:23:
/usr/local/gcc-9.4.0/lib/gcc/x86_64-pc-linux-gnu/9.4.0/include/shaintrin.h:53:1: error: inlining failed in call to always_inline ‘__m128i _mm_sha1nexte_epu32(__m128i, __m128i)’: target specific option mismatch
53 | _mm_sha1nexte_epu32 (__m128i __A, __m128i __B)
| ^~~~~~~~~~~~~~~~~~~
sha_simd.cpp:368:33: note: called from here
368 | E0 = _mm_sha1nexte_epu32(E0, MSG2);
| ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~
In file included from /usr/local/gcc-9.4.0/lib/gcc/x86_64-pc-linux-gnu/9.4.0/include/immintrin.h:99,
from sha_simd.cpp:23:
/usr/local/gcc-9.4.0/lib/gcc/x86_64-pc-linux-gnu/9.4.0/include/shaintrin.h:39:1: error: inlining failed in call to always_inline ‘__m128i _mm_sha1msg1_epu32(__m128i, __m128i)’: target specific option mismatch
39 | _mm_sha1msg1_epu32 (__m128i __A, __m128i __B)
| ^~~~~~~~~~~~~~~~~~
sha_simd.cpp:364:34: note: called from here
364 | MSG0 = _mm_sha1msg1_epu32(MSG0, MSG1);
| ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~
In file included from /usr/local/gcc-9.4.0/lib/gcc/x86_64-pc-linux-gnu/9.4.0/include/immintrin.h:99,
from sha_simd.cpp:23:
/usr/local/gcc-9.4.0/lib/gcc/x86_64-pc-linux-gnu/9.4.0/include/shaintrin.h:61:1: error: inlining failed in call to always_inline ‘__m128i _mm_sha1rnds4_epu32(__m128i, __m128i, int)’: target specific option mismatch
61 | _mm_sha1rnds4_epu32 (__m128i __A, __m128i __B, const int __I)
| ^~~~~~~~~~~~~~~~~~~
sha_simd.cpp:363:35: note: called from here
363 | ABCD = _mm_sha1rnds4_epu32(ABCD, E1, 2);
| ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~
In file included from /usr/local/gcc-9.4.0/lib/gcc/x86_64-pc-linux-gnu/9.4.0/include/immintrin.h:99,
from sha_simd.cpp:23:
/usr/local/gcc-9.4.0/lib/gcc/x86_64-pc-linux-gnu/9.4.0/include/shaintrin.h:46:1: error: inlining failed in call to always_inline ‘__m128i _mm_sha1msg2_epu32(__m128i, __m128i)’: target specific option mismatch
46 | _mm_sha1msg2_epu32 (__m128i __A, __m128i __B)
| ^~~~~~~~~~~~~~~~~~
sha_simd.cpp:362:34: note: called from here
362 | MSG2 = _mm_sha1msg2_epu32(MSG2, MSG1);
| ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~
In file included from /usr/local/gcc-9.4.0/lib/gcc/x86_64-pc-linux-gnu/9.4.0/include/immintrin.h:99,
from sha_simd.cpp:23:
/usr/local/gcc-9.4.0/lib/gcc/x86_64-pc-linux-gnu/9.4.0/include/shaintrin.h:53:1: error: inlining failed in call to always_inline ‘__m128i _mm_sha1nexte_epu32(__m128i, __m128i)’: target specific option mismatch
53 | _mm_sha1nexte_epu32 (__m128i __A, __m128i __B)
| ^~~~~~~~~~~~~~~~~~~
sha_simd.cpp:360:33: note: called from here
360 | E1 = _mm_sha1nexte_epu32(E1, MSG1);
| ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~
In file included from /usr/local/gcc-9.4.0/lib/gcc/x86_64-pc-linux-gnu/9.4.0/include/immintrin.h:99,
from sha_simd.cpp:23:
/usr/local/gcc-9.4.0/lib/gcc/x86_64-pc-linux-gnu/9.4.0/include/shaintrin.h:39:1: error: inlining failed in call to always_inline ‘__m128i _mm_sha1msg1_epu32(__m128i, __m128i)’: target specific option mismatch
39 | _mm_sha1msg1_epu32 (__m128i __A, __m128i __B)
| ^~~~~~~~~~~~~~~~~~
sha_simd.cpp:356:34: note: called from here
356 | MSG3 = _mm_sha1msg1_epu32(MSG3, MSG0);
| ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~
In file included from /usr/local/gcc-9.4.0/lib/gcc/x86_64-pc-linux-gnu/9.4.0/include/immintrin.h:99,
from sha_simd.cpp:23:
/usr/local/gcc-9.4.0/lib/gcc/x86_64-pc-linux-gnu/9.4.0/include/shaintrin.h:61:1: error: inlining failed in call to always_inline ‘__m128i _mm_sha1rnds4_epu32(__m128i, __m128i, int)’: target specific option mismatch
61 | _mm_sha1rnds4_epu32 (__m128i __A, __m128i __B, const int __I)
| ^~~~~~~~~~~~~~~~~~~
sha_simd.cpp:355:35: note: called from here
355 | ABCD = _mm_sha1rnds4_epu32(ABCD, E0, 2);
| ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~
In file included from /usr/local/gcc-9.4.0/lib/gcc/x86_64-pc-linux-gnu/9.4.0/include/immintrin.h:99,
from sha_simd.cpp:23:
/usr/local/gcc-9.4.0/lib/gcc/x86_64-pc-linux-gnu/9.4.0/include/shaintrin.h:46:1: error: inlining failed in call to always_inline ‘__m128i _mm_sha1msg2_epu32(__m128i, __m128i)’: target specific option mismatch
46 | _mm_sha1msg2_epu32 (__m128i __A, __m128i __B)
| ^~~~~~~~~~~~~~~~~~
sha_simd.cpp:354:34: note: called from here
354 | MSG1 = _mm_sha1msg2_epu32(MSG1, MSG0);
| ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~
In file included from /usr/local/gcc-9.4.0/lib/gcc/x86_64-pc-linux-gnu/9.4.0/include/immintrin.h:99,
from sha_simd.cpp:23:
/usr/local/gcc-9.4.0/lib/gcc/x86_64-pc-linux-gnu/9.4.0/include/shaintrin.h:53:1: error: inlining failed in call to always_inline ‘__m128i _mm_sha1nexte_epu32(__m128i, __m128i)’: target specific option mismatch
53 | _mm_sha1nexte_epu32 (__m128i __A, __m128i __B)
| ^~~~~~~~~~~~~~~~~~~
sha_simd.cpp:352:33: note: called from here
352 | E0 = _mm_sha1nexte_epu32(E0, MSG0);
| ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~
In file included from /usr/local/gcc-9.4.0/lib/gcc/x86_64-pc-linux-gnu/9.4.0/include/immintrin.h:99,
from sha_simd.cpp:23:
/usr/local/gcc-9.4.0/lib/gcc/x86_64-pc-linux-gnu/9.4.0/include/shaintrin.h:39:1: error: inlining failed in call to always_inline ‘__m128i _mm_sha1msg1_epu32(__m128i, __m128i)’: target specific option mismatch
39 | _mm_sha1msg1_epu32 (__m128i __A, __m128i __B)
| ^~~~~~~~~~~~~~~~~~
sha_simd.cpp:348:34: note: called from here
348 | MSG2 = _mm_sha1msg1_epu32(MSG2, MSG3);
| ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~
In file included from /usr/local/gcc-9.4.0/lib/gcc/x86_64-pc-linux-gnu/9.4.0/include/immintrin.h:99,
from sha_simd.cpp:23:
/usr/local/gcc-9.4.0/lib/gcc/x86_64-pc-linux-gnu/9.4.0/include/shaintrin.h:61:1: error: inlining failed in call to always_inline ‘__m128i _mm_sha1rnds4_epu32(__m128i, __m128i, int)’: target specific option mismatch
61 | _mm_sha1rnds4_epu32 (__m128i __A, __m128i __B, const int __I)
| ^~~~~~~~~~~~~~~~~~~
sha_simd.cpp:347:35: note: called from here
347 | ABCD = _mm_sha1rnds4_epu32(ABCD, E1, 2);
| ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~
In file included from /usr/local/gcc-9.4.0/lib/gcc/x86_64-pc-linux-gnu/9.4.0/include/immintrin.h:99,
from sha_simd.cpp:23:
/usr/local/gcc-9.4.0/lib/gcc/x86_64-pc-linux-gnu/9.4.0/include/shaintrin.h:46:1: error: inlining failed in call to always_inline ‘__m128i _mm_sha1msg2_epu32(__m128i, __m128i)’: target specific option mismatch
46 | _mm_sha1msg2_epu32 (__m128i __A, __m128i __B)
| ^~~~~~~~~~~~~~~~~~
sha_simd.cpp:346:34: note: called from here
346 | MSG0 = _mm_sha1msg2_epu32(MSG0, MSG3);
| ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~
In file included from /usr/local/gcc-9.4.0/lib/gcc/x86_64-pc-linux-gnu/9.4.0/include/immintrin.h:99,
from sha_simd.cpp:23:
/usr/local/gcc-9.4.0/lib/gcc/x86_64-pc-linux-gnu/9.4.0/include/shaintrin.h:53:1: error: inlining failed in call to always_inline ‘__m128i _mm_sha1nexte_epu32(__m128i, __m128i)’: target specific option mismatch
53 | _mm_sha1nexte_epu32 (__m128i __A, __m128i __B)
| ^~~~~~~~~~~~~~~~~~~
sha_simd.cpp:344:33: note: called from here
344 | E1 = _mm_sha1nexte_epu32(E1, MSG3);
| ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~
In file included from /usr/local/gcc-9.4.0/lib/gcc/x86_64-pc-linux-gnu/9.4.0/include/immintrin.h:99,
from sha_simd.cpp:23:
/usr/local/gcc-9.4.0/lib/gcc/x86_64-pc-linux-gnu/9.4.0/include/shaintrin.h:39:1: error: inlining failed in call to always_inline ‘__m128i _mm_sha1msg1_epu32(__m128i, __m128i)’: target specific option mismatch
39 | _mm_sha1msg1_epu32 (__m128i __A, __m128i __B)
| ^~~~~~~~~~~~~~~~~~
sha_simd.cpp:340:34: note: called from here
340 | MSG1 = _mm_sha1msg1_epu32(MSG1, MSG2);
| ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~
In file included from /usr/local/gcc-9.4.0/lib/gcc/x86_64-pc-linux-gnu/9.4.0/include/immintrin.h:99,
from sha_simd.cpp:23:
/usr/local/gcc-9.4.0/lib/gcc/x86_64-pc-linux-gnu/9.4.0/include/shaintrin.h:61:1: error: inlining failed in call to always_inline ‘__m128i _mm_sha1rnds4_epu32(__m128i, __m128i, int)’: target specific option mismatch
61 | _mm_sha1rnds4_epu32 (__m128i __A, __m128i __B, const int __I)
| ^~~~~~~~~~~~~~~~~~~
sha_simd.cpp:339:35: note: called from here
339 | ABCD = _mm_sha1rnds4_epu32(ABCD, E0, 2);
| ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~
In file included from /usr/local/gcc-9.4.0/lib/gcc/x86_64-pc-linux-gnu/9.4.0/include/immintrin.h:99,
from sha_simd.cpp:23:
/usr/local/gcc-9.4.0/lib/gcc/x86_64-pc-linux-gnu/9.4.0/include/shaintrin.h:46:1: error: inlining failed in call to always_inline ‘__m128i _mm_sha1msg2_epu32(__m128i, __m128i)’: target specific option mismatch
46 | _mm_sha1msg2_epu32 (__m128i __A, __m128i __B)
| ^~~~~~~~~~~~~~~~~~
sha_simd.cpp:338:34: note: called from here
338 | MSG3 = _mm_sha1msg2_epu32(MSG3, MSG2);
| ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~
In file included from /usr/local/gcc-9.4.0/lib/gcc/x86_64-pc-linux-gnu/9.4.0/include/immintrin.h:99,
from sha_simd.cpp:23:
/usr/local/gcc-9.4.0/lib/gcc/x86_64-pc-linux-gnu/9.4.0/include/shaintrin.h:53:1: error: inlining failed in call to always_inline ‘__m128i _mm_sha1nexte_epu32(__m128i, __m128i)’: target specific option mismatch
53 | _mm_sha1nexte_epu32 (__m128i __A, __m128i __B)
| ^~~~~~~~~~~~~~~~~~~
sha_simd.cpp:336:33: note: called from here
336 | E0 = _mm_sha1nexte_epu32(E0, MSG2);
| ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~
In file included from /usr/local/gcc-9.4.0/lib/gcc/x86_64-pc-linux-gnu/9.4.0/include/immintrin.h:99,
from sha_simd.cpp:23:
/usr/local/gcc-9.4.0/lib/gcc/x86_64-pc-linux-gnu/9.4.0/include/shaintrin.h:39:1: error: inlining failed in call to always_inline ‘__m128i _mm_sha1msg1_epu32(__m128i, __m128i)’: target specific option mismatch
39 | _mm_sha1msg1_epu32 (__m128i __A, __m128i __B)
| ^~~~~~~~~~~~~~~~~~
sha_simd.cpp:332:34: note: called from here
332 | MSG0 = _mm_sha1msg1_epu32(MSG0, MSG1);
| ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~
In file included from /usr/local/gcc-9.4.0/lib/gcc/x86_64-pc-linux-gnu/9.4.0/include/immintrin.h:99,
from sha_simd.cpp:23:
/usr/local/gcc-9.4.0/lib/gcc/x86_64-pc-linux-gnu/9.4.0/include/shaintrin.h:61:1: error: inlining failed in call to always_inline ‘__m128i _mm_sha1rnds4_epu32(__m128i, __m128i, int)’: target specific option mismatch
61 | _mm_sha1rnds4_epu32 (__m128i __A, __m128i __B, const int __I)
| ^~~~~~~~~~~~~~~~~~~
sha_simd.cpp:331:35: note: called from here
331 | ABCD = _mm_sha1rnds4_epu32(ABCD, E1, 1);
| ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~
In file included from /usr/local/gcc-9.4.0/lib/gcc/x86_64-pc-linux-gnu/9.4.0/include/immintrin.h:99,
from sha_simd.cpp:23:
/usr/local/gcc-9.4.0/lib/gcc/x86_64-pc-linux-gnu/9.4.0/include/shaintrin.h:46:1: error: inlining failed in call to always_inline ‘__m128i _mm_sha1msg2_epu32(__m128i, __m128i)’: target specific option mismatch
46 | _mm_sha1msg2_epu32 (__m128i __A, __m128i __B)
| ^~~~~~~~~~~~~~~~~~
sha_simd.cpp:330:34: note: called from here
330 | MSG2 = _mm_sha1msg2_epu32(MSG2, MSG1);
| ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~
In file included from /usr/local/gcc-9.4.0/lib/gcc/x86_64-pc-linux-gnu/9.4.0/include/immintrin.h:99,
from sha_simd.cpp:23:
/usr/local/gcc-9.4.0/lib/gcc/x86_64-pc-linux-gnu/9.4.0/include/shaintrin.h:53:1: error: inlining failed in call to always_inline ‘__m128i _mm_sha1nexte_epu32(__m128i, __m128i)’: target specific option mismatch
53 | _mm_sha1nexte_epu32 (__m128i __A, __m128i __B)
| ^~~~~~~~~~~~~~~~~~~
sha_simd.cpp:328:33: note: called from here
328 | E1 = _mm_sha1nexte_epu32(E1, MSG1);
| ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~
In file included from /usr/local/gcc-9.4.0/lib/gcc/x86_64-pc-linux-gnu/9.4.0/include/immintrin.h:99,
from sha_simd.cpp:23:
/usr/local/gcc-9.4.0/lib/gcc/x86_64-pc-linux-gnu/9.4.0/include/shaintrin.h:39:1: error: inlining failed in call to always_inline ‘__m128i _mm_sha1msg1_epu32(__m128i, __m128i)’: target specific option mismatch
39 | _mm_sha1msg1_epu32 (__m128i __A, __m128i __B)
| ^~~~~~~~~~~~~~~~~~
sha_simd.cpp:324:34: note: called from here
324 | MSG3 = _mm_sha1msg1_epu32(MSG3, MSG0);
| ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~
In file included from /usr/local/gcc-9.4.0/lib/gcc/x86_64-pc-linux-gnu/9.4.0/include/immintrin.h:99,
from sha_simd.cpp:23:
/usr/local/gcc-9.4.0/lib/gcc/x86_64-pc-linux-gnu/9.4.0/include/shaintrin.h:61:1: error: inlining failed in call to always_inline ‘__m128i _mm_sha1rnds4_epu32(__m128i, __m128i, int)’: target specific option mismatch
61 | _mm_sha1rnds4_epu32 (__m128i __A, __m128i __B, const int __I)
| ^~~~~~~~~~~~~~~~~~~
sha_simd.cpp:323:35: note: called from here
323 | ABCD = _mm_sha1rnds4_epu32(ABCD, E0, 1);
| ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~
In file included from /usr/local/gcc-9.4.0/lib/gcc/x86_64-pc-linux-gnu/9.4.0/include/immintrin.h:99,
from sha_simd.cpp:23:
/usr/local/gcc-9.4.0/lib/gcc/x86_64-pc-linux-gnu/9.4.0/include/shaintrin.h:46:1: error: inlining failed in call to always_inline ‘__m128i _mm_sha1msg2_epu32(__m128i, __m128i)’: target specific option mismatch
46 | _mm_sha1msg2_epu32 (__m128i __A, __m128i __B)
| ^~~~~~~~~~~~~~~~~~
sha_simd.cpp:322:34: note: called from here
322 | MSG1 = _mm_sha1msg2_epu32(MSG1, MSG0);
| ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~
In file included from /usr/local/gcc-9.4.0/lib/gcc/x86_64-pc-linux-gnu/9.4.0/include/immintrin.h:99,
from sha_simd.cpp:23:
/usr/local/gcc-9.4.0/lib/gcc/x86_64-pc-linux-gnu/9.4.0/include/shaintrin.h:53:1: error: inlining failed in call to always_inline ‘__m128i _mm_sha1nexte_epu32(__m128i, __m128i)’: target specific option mismatch
53 | _mm_sha1nexte_epu32 (__m128i __A, __m128i __B)
| ^~~~~~~~~~~~~~~~~~~
sha_simd.cpp:320:33: note: called from here
320 | E0 = _mm_sha1nexte_epu32(E0, MSG0);
| ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~
In file included from /usr/local/gcc-9.4.0/lib/gcc/x86_64-pc-linux-gnu/9.4.0/include/immintrin.h:99,
from sha_simd.cpp:23:
/usr/local/gcc-9.4.0/lib/gcc/x86_64-pc-linux-gnu/9.4.0/include/shaintrin.h:39:1: error: inlining failed in call to always_inline ‘__m128i _mm_sha1msg1_epu32(__m128i, __m128i)’: target specific option mismatch
39 | _mm_sha1msg1_epu32 (__m128i __A, __m128i __B)
| ^~~~~~~~~~~~~~~~~~
sha_simd.cpp:316:34: note: called from here
316 | MSG2 = _mm_sha1msg1_epu32(MSG2, MSG3);
| ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~
In file included from /usr/local/gcc-9.4.0/lib/gcc/x86_64-pc-linux-gnu/9.4.0/include/immintrin.h:99,
from sha_simd.cpp:23:
/usr/local/gcc-9.4.0/lib/gcc/x86_64-pc-linux-gnu/9.4.0/include/shaintrin.h:61:1: error: inlining failed in call to always_inline ‘__m128i _mm_sha1rnds4_epu32(__m128i, __m128i, int)’: target specific option mismatch
61 | _mm_sha1rnds4_epu32 (__m128i __A, __m128i __B, const int __I)
| ^~~~~~~~~~~~~~~~~~~
sha_simd.cpp:315:35: note: called from here
315 | ABCD = _mm_sha1rnds4_epu32(ABCD, E1, 1);
| ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~
In file included from /usr/local/gcc-9.4.0/lib/gcc/x86_64-pc-linux-gnu/9.4.0/include/immintrin.h:99,
from sha_simd.cpp:23:
/usr/local/gcc-9.4.0/lib/gcc/x86_64-pc-linux-gnu/9.4.0/include/shaintrin.h:46:1: error: inlining failed in call to always_inline ‘__m128i _mm_sha1msg2_epu32(__m128i, __m128i)’: target specific option mismatch
46 | _mm_sha1msg2_epu32 (__m128i __A, __m128i __B)
| ^~~~~~~~~~~~~~~~~~
sha_simd.cpp:314:34: note: called from here
314 | MSG0 = _mm_sha1msg2_epu32(MSG0, MSG3);
| ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~
In file included from /usr/local/gcc-9.4.0/lib/gcc/x86_64-pc-linux-gnu/9.4.0/include/immintrin.h:99,
from sha_simd.cpp:23:
/usr/local/gcc-9.4.0/lib/gcc/x86_64-pc-linux-gnu/9.4.0/include/shaintrin.h:53:1: error: inlining failed in call to always_inline ‘__m128i _mm_sha1nexte_epu32(__m128i, __m128i)’: target specific option mismatch
53 | _mm_sha1nexte_epu32 (__m128i __A, __m128i __B)
| ^~~~~~~~~~~~~~~~~~~
sha_simd.cpp:312:33: note: called from here
312 | E1 = _mm_sha1nexte_epu32(E1, MSG3);
| ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~
In file included from /usr/local/gcc-9.4.0/lib/gcc/x86_64-pc-linux-gnu/9.4.0/include/immintrin.h:99,
from sha_simd.cpp:23:
/usr/local/gcc-9.4.0/lib/gcc/x86_64-pc-linux-gnu/9.4.0/include/shaintrin.h:39:1: error: inlining failed in call to always_inline ‘__m128i _mm_sha1msg1_epu32(__m128i, __m128i)’: target specific option mismatch
39 | _mm_sha1msg1_epu32 (__m128i __A, __m128i __B)
| ^~~~~~~~~~~~~~~~~~
sha_simd.cpp:308:34: note: called from here
308 | MSG1 = _mm_sha1msg1_epu32(MSG1, MSG2);
| ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~
In file included from /usr/local/gcc-9.4.0/lib/gcc/x86_64-pc-linux-gnu/9.4.0/include/immintrin.h:99,
from sha_simd.cpp:23:
/usr/local/gcc-9.4.0/lib/gcc/x86_64-pc-linux-gnu/9.4.0/include/shaintrin.h:61:1: error: inlining failed in call to always_inline ‘__m128i _mm_sha1rnds4_epu32(__m128i, __m128i, int)’: target specific option mismatch
61 | _mm_sha1rnds4_epu32 (__m128i __A, __m128i __B, const int __I)
| ^~~~~~~~~~~~~~~~~~~
sha_simd.cpp:307:35: note: called from here
307 | ABCD = _mm_sha1rnds4_epu32(ABCD, E0, 1);
| ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~
In file included from /usr/local/gcc-9.4.0/lib/gcc/x86_64-pc-linux-gnu/9.4.0/include/immintrin.h:99,
from sha_simd.cpp:23:
/usr/local/gcc-9.4.0/lib/gcc/x86_64-pc-linux-gnu/9.4.0/include/shaintrin.h:46:1: error: inlining failed in call to always_inline ‘__m128i _mm_sha1msg2_epu32(__m128i, __m128i)’: target specific option mismatch
46 | _mm_sha1msg2_epu32 (__m128i __A, __m128i __B)
| ^~~~~~~~~~~~~~~~~~
sha_simd.cpp:306:34: note: called from here
306 | MSG3 = _mm_sha1msg2_epu32(MSG3, MSG2);
| ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~
In file included from /usr/local/gcc-9.4.0/lib/gcc/x86_64-pc-linux-gnu/9.4.0/include/immintrin.h:99,
from sha_simd.cpp:23:
/usr/local/gcc-9.4.0/lib/gcc/x86_64-pc-linux-gnu/9.4.0/include/shaintrin.h:53:1: error: inlining failed in call to always_inline ‘__m128i _mm_sha1nexte_epu32(__m128i, __m128i)’: target specific option mismatch
53 | _mm_sha1nexte_epu32 (__m128i __A, __m128i __B)
| ^~~~~~~~~~~~~~~~~~~
sha_simd.cpp:304:33: note: called from here
304 | E0 = _mm_sha1nexte_epu32(E0, MSG2);
| ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~
In file included from /usr/local/gcc-9.4.0/lib/gcc/x86_64-pc-linux-gnu/9.4.0/include/immintrin.h:99,
from sha_simd.cpp:23:
/usr/local/gcc-9.4.0/lib/gcc/x86_64-pc-linux-gnu/9.4.0/include/shaintrin.h:39:1: error: inlining failed in call to always_inline ‘__m128i _mm_sha1msg1_epu32(__m128i, __m128i)’: target specific option mismatch
39 | _mm_sha1msg1_epu32 (__m128i __A, __m128i __B)
| ^~~~~~~~~~~~~~~~~~
sha_simd.cpp:300:34: note: called from here
300 | MSG0 = _mm_sha1msg1_epu32(MSG0, MSG1);
| ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~
In file included from /usr/local/gcc-9.4.0/lib/gcc/x86_64-pc-linux-gnu/9.4.0/include/immintrin.h:99,
from sha_simd.cpp:23:
/usr/local/gcc-9.4.0/lib/gcc/x86_64-pc-linux-gnu/9.4.0/include/shaintrin.h:61:1: error: inlining failed in call to always_inline ‘__m128i _mm_sha1rnds4_epu32(__m128i, __m128i, int)’: target specific option mismatch
61 | _mm_sha1rnds4_epu32 (__m128i __A, __m128i __B, const int __I)
| ^~~~~~~~~~~~~~~~~~~
sha_simd.cpp:299:35: note: called from here
299 | ABCD = _mm_sha1rnds4_epu32(ABCD, E1, 1);
| ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~
In file included from /usr/local/gcc-9.4.0/lib/gcc/x86_64-pc-linux-gnu/9.4.0/include/immintrin.h:99,
from sha_simd.cpp:23:
/usr/local/gcc-9.4.0/lib/gcc/x86_64-pc-linux-gnu/9.4.0/include/shaintrin.h:46:1: error: inlining failed in call to always_inline ‘__m128i _mm_sha1msg2_epu32(__m128i, __m128i)’: target specific option mismatch
46 | _mm_sha1msg2_epu32 (__m128i __A, __m128i __B)
| ^~~~~~~~~~~~~~~~~~
sha_simd.cpp:298:34: note: called from here
298 | MSG2 = _mm_sha1msg2_epu32(MSG2, MSG1);
| ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~
In file included from /usr/local/gcc-9.4.0/lib/gcc/x86_64-pc-linux-gnu/9.4.0/include/immintrin.h:99,
from sha_simd.cpp:23:
/usr/local/gcc-9.4.0/lib/gcc/x86_64-pc-linux-gnu/9.4.0/include/shaintrin.h:53:1: error: inlining failed in call to always_inline ‘__m128i _mm_sha1nexte_epu32(__m128i, __m128i)’: target specific option mismatch
53 | _mm_sha1nexte_epu32 (__m128i __A, __m128i __B)
| ^~~~~~~~~~~~~~~~~~~
sha_simd.cpp:296:33: note: called from here
296 | E1 = _mm_sha1nexte_epu32(E1, MSG1);
| ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~
In file included from /usr/local/gcc-9.4.0/lib/gcc/x86_64-pc-linux-gnu/9.4.0/include/immintrin.h:99,
from sha_simd.cpp:23:
/usr/local/gcc-9.4.0/lib/gcc/x86_64-pc-linux-gnu/9.4.0/include/shaintrin.h:39:1: error: inlining failed in call to always_inline ‘__m128i _mm_sha1msg1_epu32(__m128i, __m128i)’: target specific option mismatch
39 | _mm_sha1msg1_epu32 (__m128i __A, __m128i __B)
| ^~~~~~~~~~~~~~~~~~
sha_simd.cpp:292:34: note: called from here
292 | MSG3 = _mm_sha1msg1_epu32(MSG3, MSG0);
| ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~
In file included from /usr/local/gcc-9.4.0/lib/gcc/x86_64-pc-linux-gnu/9.4.0/include/immintrin.h:99,
from sha_simd.cpp:23:
/usr/local/gcc-9.4.0/lib/gcc/x86_64-pc-linux-gnu/9.4.0/include/shaintrin.h:61:1: error: inlining failed in call to always_inline ‘__m128i _mm_sha1rnds4_epu32(__m128i, __m128i, int)’: target specific option mismatch
61 | _mm_sha1rnds4_epu32 (__m128i __A, __m128i __B, const int __I)
| ^~~~~~~~~~~~~~~~~~~
sha_simd.cpp:291:35: note: called from here
291 | ABCD = _mm_sha1rnds4_epu32(ABCD, E0, 0);
| ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~
In file included from /usr/local/gcc-9.4.0/lib/gcc/x86_64-pc-linux-gnu/9.4.0/include/immintrin.h:99,
from sha_simd.cpp:23:
/usr/local/gcc-9.4.0/lib/gcc/x86_64-pc-linux-gnu/9.4.0/include/shaintrin.h:46:1: error: inlining failed in call to always_inline ‘__m128i _mm_sha1msg2_epu32(__m128i, __m128i)’: target specific option mismatch
46 | _mm_sha1msg2_epu32 (__m128i __A, __m128i __B)
| ^~~~~~~~~~~~~~~~~~
sha_simd.cpp:290:34: note: called from here
290 | MSG1 = _mm_sha1msg2_epu32(MSG1, MSG0);
| ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~
In file included from /usr/local/gcc-9.4.0/lib/gcc/x86_64-pc-linux-gnu/9.4.0/include/immintrin.h:99,
from sha_simd.cpp:23:
/usr/local/gcc-9.4.0/lib/gcc/x86_64-pc-linux-gnu/9.4.0/include/shaintrin.h:53:1: error: inlining failed in call to always_inline ‘__m128i _mm_sha1nexte_epu32(__m128i, __m128i)’: target specific option mismatch
53 | _mm_sha1nexte_epu32 (__m128i __A, __m128i __B)
| ^~~~~~~~~~~~~~~~~~~
sha_simd.cpp:288:33: note: called from here
288 | E0 = _mm_sha1nexte_epu32(E0, MSG0);
| ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~
In file included from /usr/local/gcc-9.4.0/lib/gcc/x86_64-pc-linux-gnu/9.4.0/include/immintrin.h:99,
from sha_simd.cpp:23:
/usr/local/gcc-9.4.0/lib/gcc/x86_64-pc-linux-gnu/9.4.0/include/shaintrin.h:39:1: error: inlining failed in call to always_inline ‘__m128i _mm_sha1msg1_epu32(__m128i, __m128i)’: target specific option mismatch
39 | _mm_sha1msg1_epu32 (__m128i __A, __m128i __B)
| ^~~~~~~~~~~~~~~~~~
sha_simd.cpp:284:34: note: called from here
284 | MSG2 = _mm_sha1msg1_epu32(MSG2, MSG3);
| ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~
In file included from /usr/local/gcc-9.4.0/lib/gcc/x86_64-pc-linux-gnu/9.4.0/include/immintrin.h:99,
from sha_simd.cpp:23:
/usr/local/gcc-9.4.0/lib/gcc/x86_64-pc-linux-gnu/9.4.0/include/shaintrin.h:61:1: error: inlining failed in call to always_inline ‘__m128i _mm_sha1rnds4_epu32(__m128i, __m128i, int)’: target specific option mismatch
61 | _mm_sha1rnds4_epu32 (__m128i __A, __m128i __B, const int __I)
| ^~~~~~~~~~~~~~~~~~~
sha_simd.cpp:283:35: note: called from here
283 | ABCD = _mm_sha1rnds4_epu32(ABCD, E1, 0);
| ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~
In file included from /usr/local/gcc-9.4.0/lib/gcc/x86_64-pc-linux-gnu/9.4.0/include/immintrin.h:99,
from sha_simd.cpp:23:
/usr/local/gcc-9.4.0/lib/gcc/x86_64-pc-linux-gnu/9.4.0/include/shaintrin.h:46:1: error: inlining failed in call to always_inline ‘__m128i _mm_sha1msg2_epu32(__m128i, __m128i)’: target specific option mismatch
46 | _mm_sha1msg2_epu32 (__m128i __A, __m128i __B)
| ^~~~~~~~~~~~~~~~~~
sha_simd.cpp:282:34: note: called from here
282 | MSG0 = _mm_sha1msg2_epu32(MSG0, MSG3);
| ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~
In file included from /usr/local/gcc-9.4.0/lib/gcc/x86_64-pc-linux-gnu/9.4.0/include/immintrin.h:99,
from sha_simd.cpp:23:
/usr/local/gcc-9.4.0/lib/gcc/x86_64-pc-linux-gnu/9.4.0/include/shaintrin.h:53:1: error: inlining failed in call to always_inline ‘__m128i _mm_sha1nexte_epu32(__m128i, __m128i)’: target specific option mismatch
53 | _mm_sha1nexte_epu32 (__m128i __A, __m128i __B)
| ^~~~~~~~~~~~~~~~~~~
sha_simd.cpp:280:33: note: called from here
280 | E1 = _mm_sha1nexte_epu32(E1, MSG3);
| ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~
In file included from /usr/local/gcc-9.4.0/lib/gcc/x86_64-pc-linux-gnu/9.4.0/include/smmintrin.h:32,
from /usr/local/gcc-9.4.0/lib/gcc/x86_64-pc-linux-gnu/9.4.0/include/nmmintrin.h:31,
from sha_simd.cpp:22:
/usr/local/gcc-9.4.0/lib/gcc/x86_64-pc-linux-gnu/9.4.0/include/tmmintrin.h:136:1: error: inlining failed in call to always_inline ‘__m128i _mm_shuffle_epi8(__m128i, __m128i)’: target specific option mismatch
136 | _mm_shuffle_epi8 (__m128i __X, __m128i __Y)
| ^~~~~~~~~~~~~~~~
sha_simd.cpp:279:32: note: called from here
279 | MSG3 = _mm_shuffle_epi8(MSG3, MASK);
| ~~~~~~~~~~~~~~~~^~~~~~~~~~~~
In file included from /usr/local/gcc-9.4.0/lib/gcc/x86_64-pc-linux-gnu/9.4.0/include/immintrin.h:99,
from sha_simd.cpp:23:
/usr/local/gcc-9.4.0/lib/gcc/x86_64-pc-linux-gnu/9.4.0/include/shaintrin.h:39:1: error: inlining failed in call to always_inline ‘__m128i _mm_sha1msg1_epu32(__m128i, __m128i)’: target specific option mismatch
39 | _mm_sha1msg1_epu32 (__m128i __A, __m128i __B)
| ^~~~~~~~~~~~~~~~~~
sha_simd.cpp:274:34: note: called from here
274 | MSG1 = _mm_sha1msg1_epu32(MSG1, MSG2);
| ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~
In file included from /usr/local/gcc-9.4.0/lib/gcc/x86_64-pc-linux-gnu/9.4.0/include/immintrin.h:99,
from sha_simd.cpp:23:
/usr/local/gcc-9.4.0/lib/gcc/x86_64-pc-linux-gnu/9.4.0/include/shaintrin.h:61:1: error: inlining failed in call to always_inline ‘__m128i _mm_sha1rnds4_epu32(__m128i, __m128i, int)’: target specific option mismatch
61 | _mm_sha1rnds4_epu32 (__m128i __A, __m128i __B, const int __I)
| ^~~~~~~~~~~~~~~~~~~
sha_simd.cpp:273:35: note: called from here
273 | ABCD = _mm_sha1rnds4_epu32(ABCD, E0, 0);
| ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~
In file included from /usr/local/gcc-9.4.0/lib/gcc/x86_64-pc-linux-gnu/9.4.0/include/immintrin.h:99,
from sha_simd.cpp:23:
/usr/local/gcc-9.4.0/lib/gcc/x86_64-pc-linux-gnu/9.4.0/include/shaintrin.h:53:1: error: inlining failed in call to always_inline ‘__m128i _mm_sha1nexte_epu32(__m128i, __m128i)’: target specific option mismatch
53 | _mm_sha1nexte_epu32 (__m128i __A, __m128i __B)
| ^~~~~~~~~~~~~~~~~~~
sha_simd.cpp:271:33: note: called from here
271 | E0 = _mm_sha1nexte_epu32(E0, MSG2);
| ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~
In file included from /usr/local/gcc-9.4.0/lib/gcc/x86_64-pc-linux-gnu/9.4.0/include/smmintrin.h:32,
from /usr/local/gcc-9.4.0/lib/gcc/x86_64-pc-linux-gnu/9.4.0/include/nmmintrin.h:31,
from sha_simd.cpp:22:
/usr/local/gcc-9.4.0/lib/gcc/x86_64-pc-linux-gnu/9.4.0/include/tmmintrin.h:136:1: error: inlining failed in call to always_inline ‘__m128i _mm_shuffle_epi8(__m128i, __m128i)’: target specific option mismatch
136 | _mm_shuffle_epi8 (__m128i __X, __m128i __Y)
| ^~~~~~~~~~~~~~~~
sha_simd.cpp:270:32: note: called from here
270 | MSG2 = _mm_shuffle_epi8(MSG2, MASK);
| ~~~~~~~~~~~~~~~~^~~~~~~~~~~~
In file included from /usr/local/gcc-9.4.0/lib/gcc/x86_64-pc-linux-gnu/9.4.0/include/immintrin.h:99,
from sha_simd.cpp:23:
/usr/local/gcc-9.4.0/lib/gcc/x86_64-pc-linux-gnu/9.4.0/include/shaintrin.h:39:1: error: inlining failed in call to always_inline ‘__m128i _mm_sha1msg1_epu32(__m128i, __m128i)’: target specific option mismatch
39 | _mm_sha1msg1_epu32 (__m128i __A, __m128i __B)
| ^~~~~~~~~~~~~~~~~~
sha_simd.cpp:266:34: note: called from here
266 | MSG0 = _mm_sha1msg1_epu32(MSG0, MSG1);
| ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~
In file included from /usr/local/gcc-9.4.0/lib/gcc/x86_64-pc-linux-gnu/9.4.0/include/immintrin.h:99,
from sha_simd.cpp:23:
/usr/local/gcc-9.4.0/lib/gcc/x86_64-pc-linux-gnu/9.4.0/include/shaintrin.h:61:1: error: inlining failed in call to always_inline ‘__m128i _mm_sha1rnds4_epu32(__m128i, __m128i, int)’: target specific option mismatch
61 | _mm_sha1rnds4_epu32 (__m128i __A, __m128i __B, const int __I)
| ^~~~~~~~~~~~~~~~~~~
sha_simd.cpp:265:35: note: called from here
265 | ABCD = _mm_sha1rnds4_epu32(ABCD, E1, 0);
| ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~
In file included from /usr/local/gcc-9.4.0/lib/gcc/x86_64-pc-linux-gnu/9.4.0/include/immintrin.h:99,
from sha_simd.cpp:23:
/usr/local/gcc-9.4.0/lib/gcc/x86_64-pc-linux-gnu/9.4.0/include/shaintrin.h:53:1: error: inlining failed in call to always_inline ‘__m128i _mm_sha1nexte_epu32(__m128i, __m128i)’: target specific option mismatch
53 | _mm_sha1nexte_epu32 (__m128i __A, __m128i __B)
| ^~~~~~~~~~~~~~~~~~~
sha_simd.cpp:263:33: note: called from here
263 | E1 = _mm_sha1nexte_epu32(E1, MSG1);
| ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~
In file included from /usr/local/gcc-9.4.0/lib/gcc/x86_64-pc-linux-gnu/9.4.0/include/smmintrin.h:32,
from /usr/local/gcc-9.4.0/lib/gcc/x86_64-pc-linux-gnu/9.4.0/include/nmmintrin.h:31,
from sha_simd.cpp:22:
/usr/local/gcc-9.4.0/lib/gcc/x86_64-pc-linux-gnu/9.4.0/include/tmmintrin.h:136:1: error: inlining failed in call to always_inline ‘__m128i _mm_shuffle_epi8(__m128i, __m128i)’: target specific option mismatch
136 | _mm_shuffle_epi8 (__m128i __X, __m128i __Y)
| ^~~~~~~~~~~~~~~~
sha_simd.cpp:262:32: note: called from here
262 | MSG1 = _mm_shuffle_epi8(MSG1, MASK);
| ~~~~~~~~~~~~~~~~^~~~~~~~~~~~
In file included from /usr/local/gcc-9.4.0/lib/gcc/x86_64-pc-linux-gnu/9.4.0/include/immintrin.h:99,
from sha_simd.cpp:23:
/usr/local/gcc-9.4.0/lib/gcc/x86_64-pc-linux-gnu/9.4.0/include/shaintrin.h:61:1: error: inlining failed in call to always_inline ‘__m128i _mm_sha1rnds4_epu32(__m128i, __m128i, int)’: target specific option mismatch
61 | _mm_sha1rnds4_epu32 (__m128i __A, __m128i __B, const int __I)
| ^~~~~~~~~~~~~~~~~~~
sha_simd.cpp:258:35: note: called from here
258 | ABCD = _mm_sha1rnds4_epu32(ABCD, E0, 0);
| ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~
In file included from /usr/local/gcc-9.4.0/lib/gcc/x86_64-pc-linux-gnu/9.4.0/include/smmintrin.h:32,
from /usr/local/gcc-9.4.0/lib/gcc/x86_64-pc-linux-gnu/9.4.0/include/nmmintrin.h:31,
from sha_simd.cpp:22:
/usr/local/gcc-9.4.0/lib/gcc/x86_64-pc-linux-gnu/9.4.0/include/tmmintrin.h:136:1: error: inlining failed in call to always_inline ‘__m128i _mm_shuffle_epi8(__m128i, __m128i)’: target specific option mismatch
136 | _mm_shuffle_epi8 (__m128i __X, __m128i __Y)
| ^~~~~~~~~~~~~~~~
sha_simd.cpp:255:32: note: called from here
255 | MSG0 = _mm_shuffle_epi8(MSG0, MASK);
| ~~~~~~~~~~~~~~~~^~~~~~~~~~~~
In file included from /usr/local/gcc-9.4.0/lib/gcc/x86_64-pc-linux-gnu/9.4.0/include/smmintrin.h:32,
from /usr/local/gcc-9.4.0/lib/gcc/x86_64-pc-linux-gnu/9.4.0/include/nmmintrin.h:31,
from sha_simd.cpp:22:
/usr/local/gcc-9.4.0/lib/gcc/x86_64-pc-linux-gnu/9.4.0/include/tmmintrin.h:136:1: error: inlining failed in call to always_inline ‘__m128i _mm_shuffle_epi8(__m128i, __m128i)’: target specific option mismatch
136 | _mm_shuffle_epi8 (__m128i __X, __m128i __Y)
| ^~~~~~~~~~~~~~~~
sha_simd.cpp:255:32: note: called from here
255 | MSG0 = _mm_shuffle_epi8(MSG0, MASK);
| ~~~~~~~~~~~~~~~~^~~~~~~~~~~~
In file included from /usr/local/gcc-9.4.0/lib/gcc/x86_64-pc-linux-gnu/9.4.0/include/immintrin.h:99,
from sha_simd.cpp:23:
/usr/local/gcc-9.4.0/lib/gcc/x86_64-pc-linux-gnu/9.4.0/include/shaintrin.h:61:1: error: inlining failed in call to always_inline ‘__m128i _mm_sha1rnds4_epu32(__m128i, __m128i, int)’: target specific option mismatch
61 | _mm_sha1rnds4_epu32 (__m128i __A, __m128i __B, const int __I)
| ^~~~~~~~~~~~~~~~~~~
sha_simd.cpp:258:35: note: called from here
258 | ABCD = _mm_sha1rnds4_epu32(ABCD, E0, 0);
| ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~
In file included from /usr/local/gcc-9.4.0/lib/gcc/x86_64-pc-linux-gnu/9.4.0/include/immintrin.h:99,
from sha_simd.cpp:23:
/usr/local/gcc-9.4.0/lib/gcc/x86_64-pc-linux-gnu/9.4.0/include/shaintrin.h:39:1: error: inlining failed in call to always_inline ‘__m128i _mm_sha1msg1_epu32(__m128i, __m128i)’: target specific option mismatch
39 | _mm_sha1msg1_epu32 (__m128i __A, __m128i __B)
| ^~~~~~~~~~~~~~~~~~
sha_simd.cpp:266:34: note: called from here
266 | MSG0 = _mm_sha1msg1_epu32(MSG0, MSG1);
| ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~
In file included from /usr/local/gcc-9.4.0/lib/gcc/x86_64-pc-linux-gnu/9.4.0/include/immintrin.h:99,
from sha_simd.cpp:23:
/usr/local/gcc-9.4.0/lib/gcc/x86_64-pc-linux-gnu/9.4.0/include/shaintrin.h:61:1: error: inlining failed in call to always_inline ‘__m128i _mm_sha1rnds4_epu32(__m128i, __m128i, int)’: target specific option mismatch
61 | _mm_sha1rnds4_epu32 (__m128i __A, __m128i __B, const int __I)
| ^~~~~~~~~~~~~~~~~~~
sha_simd.cpp:265:35: note: called from here
265 | ABCD = _mm_sha1rnds4_epu32(ABCD, E1, 0);
| ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~
In file included from /usr/local/gcc-9.4.0/lib/gcc/x86_64-pc-linux-gnu/9.4.0/include/immintrin.h:99,
from sha_simd.cpp:23:
/usr/local/gcc-9.4.0/lib/gcc/x86_64-pc-linux-gnu/9.4.0/include/shaintrin.h:53:1: error: inlining failed in call to always_inline ‘__m128i _mm_sha1nexte_epu32(__m128i, __m128i)’: target specific option mismatch
53 | _mm_sha1nexte_epu32 (__m128i __A, __m128i __B)
| ^~~~~~~~~~~~~~~~~~~
sha_simd.cpp:263:33: note: called from here
263 | E1 = _mm_sha1nexte_epu32(E1, MSG1);
| ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~
In file included from /usr/local/gcc-9.4.0/lib/gcc/x86_64-pc-linux-gnu/9.4.0/include/smmintrin.h:32,
from /usr/local/gcc-9.4.0/lib/gcc/x86_64-pc-linux-gnu/9.4.0/include/nmmintrin.h:31,
from sha_simd.cpp:22:
/usr/local/gcc-9.4.0/lib/gcc/x86_64-pc-linux-gnu/9.4.0/include/tmmintrin.h:136:1: error: inlining failed in call to always_inline ‘__m128i _mm_shuffle_epi8(__m128i, __m128i)’: target specific option mismatch
136 | _mm_shuffle_epi8 (__m128i __X, __m128i __Y)
| ^~~~~~~~~~~~~~~~
sha_simd.cpp:262:32: note: called from here
262 | MSG1 = _mm_shuffle_epi8(MSG1, MASK);
| ~~~~~~~~~~~~~~~~^~~~~~~~~~~~
In file included from /usr/local/gcc-9.4.0/lib/gcc/x86_64-pc-linux-gnu/9.4.0/include/immintrin.h:99,
from sha_simd.cpp:23:
/usr/local/gcc-9.4.0/lib/gcc/x86_64-pc-linux-gnu/9.4.0/include/shaintrin.h:39:1: error: inlining failed in call to always_inline ‘__m128i _mm_sha1msg1_epu32(__m128i, __m128i)’: target specific option mismatch
39 | _mm_sha1msg1_epu32 (__m128i __A, __m128i __B)
| ^~~~~~~~~~~~~~~~~~
sha_simd.cpp:274:34: note: called from here
274 | MSG1 = _mm_sha1msg1_epu32(MSG1, MSG2);
| ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~
In file included from /usr/local/gcc-9.4.0/lib/gcc/x86_64-pc-linux-gnu/9.4.0/include/immintrin.h:99,
from sha_simd.cpp:23:
/usr/local/gcc-9.4.0/lib/gcc/x86_64-pc-linux-gnu/9.4.0/include/shaintrin.h:61:1: error: inlining failed in call to always_inline ‘__m128i _mm_sha1rnds4_epu32(__m128i, __m128i, int)’: target specific option mismatch
61 | _mm_sha1rnds4_epu32 (__m128i __A, __m128i __B, const int __I)
| ^~~~~~~~~~~~~~~~~~~
sha_simd.cpp:273:35: note: called from here
273 | ABCD = _mm_sha1rnds4_epu32(ABCD, E0, 0);
| ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~
In file included from /usr/local/gcc-9.4.0/lib/gcc/x86_64-pc-linux-gnu/9.4.0/include/immintrin.h:99,
from sha_simd.cpp:23:
/usr/local/gcc-9.4.0/lib/gcc/x86_64-pc-linux-gnu/9.4.0/include/shaintrin.h:53:1: error: inlining failed in call to always_inline ‘__m128i _mm_sha1nexte_epu32(__m128i, __m128i)’: target specific option mismatch
53 | _mm_sha1nexte_epu32 (__m128i __A, __m128i __B)
| ^~~~~~~~~~~~~~~~~~~
sha_simd.cpp:271:33: note: called from here
271 | E0 = _mm_sha1nexte_epu32(E0, MSG2);
| ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~
In file included from /usr/local/gcc-9.4.0/lib/gcc/x86_64-pc-linux-gnu/9.4.0/include/smmintrin.h:32,
from /usr/local/gcc-9.4.0/lib/gcc/x86_64-pc-linux-gnu/9.4.0/include/nmmintrin.h:31,
from sha_simd.cpp:22:
/usr/local/gcc-9.4.0/lib/gcc/x86_64-pc-linux-gnu/9.4.0/include/tmmintrin.h:136:1: error: inlining failed in call to always_inline ‘__m128i _mm_shuffle_epi8(__m128i, __m128i)’: target specific option mismatch
136 | _mm_shuffle_epi8 (__m128i __X, __m128i __Y)
| ^~~~~~~~~~~~~~~~
sha_simd.cpp:270:32: note: called from here
270 | MSG2 = _mm_shuffle_epi8(MSG2, MASK);
| ~~~~~~~~~~~~~~~~^~~~~~~~~~~~
In file included from /usr/local/gcc-9.4.0/lib/gcc/x86_64-pc-linux-gnu/9.4.0/include/immintrin.h:99,
from sha_simd.cpp:23:
/usr/local/gcc-9.4.0/lib/gcc/x86_64-pc-linux-gnu/9.4.0/include/shaintrin.h:39:1: error: inlining failed in call to always_inline ‘__m128i _mm_sha1msg1_epu32(__m128i, __m128i)’: target specific option mismatch
39 | _mm_sha1msg1_epu32 (__m128i __A, __m128i __B)
| ^~~~~~~~~~~~~~~~~~
sha_simd.cpp:284:34: note: called from here
284 | MSG2 = _mm_sha1msg1_epu32(MSG2, MSG3);
| ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~
In file included from /usr/local/gcc-9.4.0/lib/gcc/x86_64-pc-linux-gnu/9.4.0/include/immintrin.h:99,
from sha_simd.cpp:23:
/usr/local/gcc-9.4.0/lib/gcc/x86_64-pc-linux-gnu/9.4.0/include/shaintrin.h:61:1: error: inlining failed in call to always_inline ‘__m128i _mm_sha1rnds4_epu32(__m128i, __m128i, int)’: target specific option mismatch
61 | _mm_sha1rnds4_epu32 (__m128i __A, __m128i __B, const int __I)
| ^~~~~~~~~~~~~~~~~~~
sha_simd.cpp:283:35: note: called from here
283 | ABCD = _mm_sha1rnds4_epu32(ABCD, E1, 0);
| ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~
In file included from /usr/local/gcc-9.4.0/lib/gcc/x86_64-pc-linux-gnu/9.4.0/include/immintrin.h:99,
from sha_simd.cpp:23:
/usr/local/gcc-9.4.0/lib/gcc/x86_64-pc-linux-gnu/9.4.0/include/shaintrin.h:46:1: error: inlining failed in call to always_inline ‘__m128i _mm_sha1msg2_epu32(__m128i, __m128i)’: target specific option mismatch
46 | _mm_sha1msg2_epu32 (__m128i __A, __m128i __B)
| ^~~~~~~~~~~~~~~~~~
sha_simd.cpp:282:34: note: called from here
282 | MSG0 = _mm_sha1msg2_epu32(MSG0, MSG3);
| ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~
In file included from /usr/local/gcc-9.4.0/lib/gcc/x86_64-pc-linux-gnu/9.4.0/include/immintrin.h:99,
from sha_simd.cpp:23:
/usr/local/gcc-9.4.0/lib/gcc/x86_64-pc-linux-gnu/9.4.0/include/shaintrin.h:53:1: error: inlining failed in call to always_inline ‘__m128i _mm_sha1nexte_epu32(__m128i, __m128i)’: target specific option mismatch
53 | _mm_sha1nexte_epu32 (__m128i __A, __m128i __B)
| ^~~~~~~~~~~~~~~~~~~
sha_simd.cpp:280:33: note: called from here
280 | E1 = _mm_sha1nexte_epu32(E1, MSG3);
| ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~
In file included from /usr/local/gcc-9.4.0/lib/gcc/x86_64-pc-linux-gnu/9.4.0/include/smmintrin.h:32,
from /usr/local/gcc-9.4.0/lib/gcc/x86_64-pc-linux-gnu/9.4.0/include/nmmintrin.h:31,
from sha_simd.cpp:22:
/usr/local/gcc-9.4.0/lib/gcc/x86_64-pc-linux-gnu/9.4.0/include/tmmintrin.h:136:1: error: inlining failed in call to always_inline ‘__m128i _mm_shuffle_epi8(__m128i, __m128i)’: target specific option mismatch
136 | _mm_shuffle_epi8 (__m128i __X, __m128i __Y)
| ^~~~~~~~~~~~~~~~
sha_simd.cpp:279:32: note: called from here
279 | MSG3 = _mm_shuffle_epi8(MSG3, MASK);
| ~~~~~~~~~~~~~~~~^~~~~~~~~~~~
In file included from /usr/local/gcc-9.4.0/lib/gcc/x86_64-pc-linux-gnu/9.4.0/include/immintrin.h:99,
from sha_simd.cpp:23:
/usr/local/gcc-9.4.0/lib/gcc/x86_64-pc-linux-gnu/9.4.0/include/shaintrin.h:39:1: error: inlining failed in call to always_inline ‘__m128i _mm_sha1msg1_epu32(__m128i, __m128i)’: target specific option mismatch
39 | _mm_sha1msg1_epu32 (__m128i __A, __m128i __B)
| ^~~~~~~~~~~~~~~~~~
sha_simd.cpp:292:34: note: called from here
292 | MSG3 = _mm_sha1msg1_epu32(MSG3, MSG0);
| ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~
In file included from /usr/local/gcc-9.4.0/lib/gcc/x86_64-pc-linux-gnu/9.4.0/include/immintrin.h:99,
from sha_simd.cpp:23:
/usr/local/gcc-9.4.0/lib/gcc/x86_64-pc-linux-gnu/9.4.0/include/shaintrin.h:61:1: error: inlining failed in call to always_inline ‘__m128i _mm_sha1rnds4_epu32(__m128i, __m128i, int)’: target specific option mismatch
61 | _mm_sha1rnds4_epu32 (__m128i __A, __m128i __B, const int __I)
| ^~~~~~~~~~~~~~~~~~~
sha_simd.cpp:291:35: note: called from here
291 | ABCD = _mm_sha1rnds4_epu32(ABCD, E0, 0);
| ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~
In file included from /usr/local/gcc-9.4.0/lib/gcc/x86_64-pc-linux-gnu/9.4.0/include/immintrin.h:99,
from sha_simd.cpp:23:
/usr/local/gcc-9.4.0/lib/gcc/x86_64-pc-linux-gnu/9.4.0/include/shaintrin.h:46:1: error: inlining failed in call to always_inline ‘__m128i _mm_sha1msg2_epu32(__m128i, __m128i)’: target specific option mismatch
46 | _mm_sha1msg2_epu32 (__m128i __A, __m128i __B)
| ^~~~~~~~~~~~~~~~~~
sha_simd.cpp:290:34: note: called from here
290 | MSG1 = _mm_sha1msg2_epu32(MSG1, MSG0);
| ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~
In file included from /usr/local/gcc-9.4.0/lib/gcc/x86_64-pc-linux-gnu/9.4.0/include/immintrin.h:99,
from sha_simd.cpp:23:
/usr/local/gcc-9.4.0/lib/gcc/x86_64-pc-linux-gnu/9.4.0/include/shaintrin.h:53:1: error: inlining failed in call to always_inline ‘__m128i _mm_sha1nexte_epu32(__m128i, __m128i)’: target specific option mismatch
53 | _mm_sha1nexte_epu32 (__m128i __A, __m128i __B)
| ^~~~~~~~~~~~~~~~~~~
sha_simd.cpp:288:33: note: called from here
288 | E0 = _mm_sha1nexte_epu32(E0, MSG0);
| ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~
In file included from /usr/local/gcc-9.4.0/lib/gcc/x86_64-pc-linux-gnu/9.4.0/include/immintrin.h:99,
from sha_simd.cpp:23:
/usr/local/gcc-9.4.0/lib/gcc/x86_64-pc-linux-gnu/9.4.0/include/shaintrin.h:39:1: error: inlining failed in call to always_inline ‘__m128i _mm_sha1msg1_epu32(__m128i, __m128i)’: target specific option mismatch
39 | _mm_sha1msg1_epu32 (__m128i __A, __m128i __B)
| ^~~~~~~~~~~~~~~~~~
sha_simd.cpp:300:34: note: called from here
300 | MSG0 = _mm_sha1msg1_epu32(MSG0, MSG1);
| ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~
In file included from /usr/local/gcc-9.4.0/lib/gcc/x86_64-pc-linux-gnu/9.4.0/include/immintrin.h:99,
from sha_simd.cpp:23:
/usr/local/gcc-9.4.0/lib/gcc/x86_64-pc-linux-gnu/9.4.0/include/shaintrin.h:61:1: error: inlining failed in call to always_inline ‘__m128i _mm_sha1rnds4_epu32(__m128i, __m128i, int)’: target specific option mismatch
61 | _mm_sha1rnds4_epu32 (__m128i __A, __m128i __B, const int __I)
| ^~~~~~~~~~~~~~~~~~~
sha_simd.cpp:299:35: note: called from here
299 | ABCD = _mm_sha1rnds4_epu32(ABCD, E1, 1);
| ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~
In file included from /usr/local/gcc-9.4.0/lib/gcc/x86_64-pc-linux-gnu/9.4.0/include/immintrin.h:99,
from sha_simd.cpp:23:
/usr/local/gcc-9.4.0/lib/gcc/x86_64-pc-linux-gnu/9.4.0/include/shaintrin.h:46:1: error: inlining failed in call to always_inline ‘__m128i _mm_sha1msg2_epu32(__m128i, __m128i)’: target specific option mismatch
46 | _mm_sha1msg2_epu32 (__m128i __A, __m128i __B)
| ^~~~~~~~~~~~~~~~~~
sha_simd.cpp:298:34: note: called from here
298 | MSG2 = _mm_sha1msg2_epu32(MSG2, MSG1);
| ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~
In file included from /usr/local/gcc-9.4.0/lib/gcc/x86_64-pc-linux-gnu/9.4.0/include/immintrin.h:99,
from sha_simd.cpp:23:
/usr/local/gcc-9.4.0/lib/gcc/x86_64-pc-linux-gnu/9.4.0/include/shaintrin.h:53:1: error: inlining failed in call to always_inline ‘__m128i _mm_sha1nexte_epu32(__m128i, __m128i)’: target specific option mismatch
53 | _mm_sha1nexte_epu32 (__m128i __A, __m128i __B)
| ^~~~~~~~~~~~~~~~~~~
sha_simd.cpp:296:33: note: called from here
296 | E1 = _mm_sha1nexte_epu32(E1, MSG1);
| ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~
In file included from /usr/local/gcc-9.4.0/lib/gcc/x86_64-pc-linux-gnu/9.4.0/include/immintrin.h:99,
from sha_simd.cpp:23:
/usr/local/gcc-9.4.0/lib/gcc/x86_64-pc-linux-gnu/9.4.0/include/shaintrin.h:39:1: error: inlining failed in call to always_inline ‘__m128i _mm_sha1msg1_epu32(__m128i, __m128i)’: target specific option mismatch
39 | _mm_sha1msg1_epu32 (__m128i __A, __m128i __B)
| ^~~~~~~~~~~~~~~~~~
sha_simd.cpp:308:34: note: called from here
308 | MSG1 = _mm_sha1msg1_epu32(MSG1, MSG2);
| ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~
In file included from /usr/local/gcc-9.4.0/lib/gcc/x86_64-pc-linux-gnu/9.4.0/include/immintrin.h:99,
from sha_simd.cpp:23:
/usr/local/gcc-9.4.0/lib/gcc/x86_64-pc-linux-gnu/9.4.0/include/shaintrin.h:61:1: error: inlining failed in call to always_inline ‘__m128i _mm_sha1rnds4_epu32(__m128i, __m128i, int)’: target specific option mismatch
61 | _mm_sha1rnds4_epu32 (__m128i __A, __m128i __B, const int __I)
| ^~~~~~~~~~~~~~~~~~~
sha_simd.cpp:307:35: note: called from here
307 | ABCD = _mm_sha1rnds4_epu32(ABCD, E0, 1);
| ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~
In file included from /usr/local/gcc-9.4.0/lib/gcc/x86_64-pc-linux-gnu/9.4.0/include/immintrin.h:99,
from sha_simd.cpp:23:
/usr/local/gcc-9.4.0/lib/gcc/x86_64-pc-linux-gnu/9.4.0/include/shaintrin.h:46:1: error: inlining failed in call to always_inline ‘__m128i _mm_sha1msg2_epu32(__m128i, __m128i)’: target specific option mismatch
46 | _mm_sha1msg2_epu32 (__m128i __A, __m128i __B)
| ^~~~~~~~~~~~~~~~~~
sha_simd.cpp:306:34: note: called from here
306 | MSG3 = _mm_sha1msg2_epu32(MSG3, MSG2);
| ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~
In file included from /usr/local/gcc-9.4.0/lib/gcc/x86_64-pc-linux-gnu/9.4.0/include/immintrin.h:99,
from sha_simd.cpp:23:
/usr/local/gcc-9.4.0/lib/gcc/x86_64-pc-linux-gnu/9.4.0/include/shaintrin.h:53:1: error: inlining failed in call to always_inline ‘__m128i _mm_sha1nexte_epu32(__m128i, __m128i)’: target specific option mismatch
53 | _mm_sha1nexte_epu32 (__m128i __A, __m128i __B)
| ^~~~~~~~~~~~~~~~~~~
sha_simd.cpp:304:33: note: called from here
304 | E0 = _mm_sha1nexte_epu32(E0, MSG2);
| ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~
In file included from /usr/local/gcc-9.4.0/lib/gcc/x86_64-pc-linux-gnu/9.4.0/include/immintrin.h:99,
from sha_simd.cpp:23:
/usr/local/gcc-9.4.0/lib/gcc/x86_64-pc-linux-gnu/9.4.0/include/shaintrin.h:39:1: error: inlining failed in call to always_inline ‘__m128i _mm_sha1msg1_epu32(__m128i, __m128i)’: target specific option mismatch
39 | _mm_sha1msg1_epu32 (__m128i __A, __m128i __B)
| ^~~~~~~~~~~~~~~~~~
sha_simd.cpp:316:34: note: called from here
316 | MSG2 = _mm_sha1msg1_epu32(MSG2, MSG3);
| ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~
In file included from /usr/local/gcc-9.4.0/lib/gcc/x86_64-pc-linux-gnu/9.4.0/include/immintrin.h:99,
from sha_simd.cpp:23:
/usr/local/gcc-9.4.0/lib/gcc/x86_64-pc-linux-gnu/9.4.0/include/shaintrin.h:61:1: error: inlining failed in call to always_inline ‘__m128i _mm_sha1rnds4_epu32(__m128i, __m128i, int)’: target specific option mismatch
61 | _mm_sha1rnds4_epu32 (__m128i __A, __m128i __B, const int __I)
| ^~~~~~~~~~~~~~~~~~~
sha_simd.cpp:315:35: note: called from here
315 | ABCD = _mm_sha1rnds4_epu32(ABCD, E1, 1);
| ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~
In file included from /usr/local/gcc-9.4.0/lib/gcc/x86_64-pc-linux-gnu/9.4.0/include/immintrin.h:99,
from sha_simd.cpp:23:
/usr/local/gcc-9.4.0/lib/gcc/x86_64-pc-linux-gnu/9.4.0/include/shaintrin.h:46:1: error: inlining failed in call to always_inline ‘__m128i _mm_sha1msg2_epu32(__m128i, __m128i)’: target specific option mismatch
46 | _mm_sha1msg2_epu32 (__m128i __A, __m128i __B)
| ^~~~~~~~~~~~~~~~~~
sha_simd.cpp:314:34: note: called from here
314 | MSG0 = _mm_sha1msg2_epu32(MSG0, MSG3);
| ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~
In file included from /usr/local/gcc-9.4.0/lib/gcc/x86_64-pc-linux-gnu/9.4.0/include/immintrin.h:99,
from sha_simd.cpp:23:
/usr/local/gcc-9.4.0/lib/gcc/x86_64-pc-linux-gnu/9.4.0/include/shaintrin.h:53:1: error: inlining failed in call to always_inline ‘__m128i _mm_sha1nexte_epu32(__m128i, __m128i)’: target specific option mismatch
53 | _mm_sha1nexte_epu32 (__m128i __A, __m128i __B)
| ^~~~~~~~~~~~~~~~~~~
sha_simd.cpp:312:33: note: called from here
312 | E1 = _mm_sha1nexte_epu32(E1, MSG3);
| ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~
In file included from /usr/local/gcc-9.4.0/lib/gcc/x86_64-pc-linux-gnu/9.4.0/include/immintrin.h:99,
from sha_simd.cpp:23:
/usr/local/gcc-9.4.0/lib/gcc/x86_64-pc-linux-gnu/9.4.0/include/shaintrin.h:39:1: error: inlining failed in call to always_inline ‘__m128i _mm_sha1msg1_epu32(__m128i, __m128i)’: target specific option mismatch
39 | _mm_sha1msg1_epu32 (__m128i __A, __m128i __B)
| ^~~~~~~~~~~~~~~~~~
sha_simd.cpp:324:34: note: called from here
324 | MSG3 = _mm_sha1msg1_epu32(MSG3, MSG0);
| ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~
In file included from /usr/local/gcc-9.4.0/lib/gcc/x86_64-pc-linux-gnu/9.4.0/include/immintrin.h:99,
from sha_simd.cpp:23:
/usr/local/gcc-9.4.0/lib/gcc/x86_64-pc-linux-gnu/9.4.0/include/shaintrin.h:61:1: error: inlining failed in call to always_inline ‘__m128i _mm_sha1rnds4_epu32(__m128i, __m128i, int)’: target specific option mismatch
61 | _mm_sha1rnds4_epu32 (__m128i __A, __m128i __B, const int __I)
| ^~~~~~~~~~~~~~~~~~~
sha_simd.cpp:323:35: note: called from here
323 | ABCD = _mm_sha1rnds4_epu32(ABCD, E0, 1);
| ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~
In file included from /usr/local/gcc-9.4.0/lib/gcc/x86_64-pc-linux-gnu/9.4.0/include/immintrin.h:99,
from sha_simd.cpp:23:
/usr/local/gcc-9.4.0/lib/gcc/x86_64-pc-linux-gnu/9.4.0/include/shaintrin.h:46:1: error: inlining failed in call to always_inline ‘__m128i _mm_sha1msg2_epu32(__m128i, __m128i)’: target specific option mismatch
46 | _mm_sha1msg2_epu32 (__m128i __A, __m128i __B)
| ^~~~~~~~~~~~~~~~~~
sha_simd.cpp:322:34: note: called from here
322 | MSG1 = _mm_sha1msg2_epu32(MSG1, MSG0);
| ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~
In file included from /usr/local/gcc-9.4.0/lib/gcc/x86_64-pc-linux-gnu/9.4.0/include/immintrin.h:99,
from sha_simd.cpp:23:
/usr/local/gcc-9.4.0/lib/gcc/x86_64-pc-linux-gnu/9.4.0/include/shaintrin.h:53:1: error: inlining failed in call to always_inline ‘__m128i _mm_sha1nexte_epu32(__m128i, __m128i)’: target specific option mismatch
53 | _mm_sha1nexte_epu32 (__m128i __A, __m128i __B)
| ^~~~~~~~~~~~~~~~~~~
sha_simd.cpp:320:33: note: called from here
320 | E0 = _mm_sha1nexte_epu32(E0, MSG0);
| ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~
In file included from /usr/local/gcc-9.4.0/lib/gcc/x86_64-pc-linux-gnu/9.4.0/include/immintrin.h:99,
from sha_simd.cpp:23:
/usr/local/gcc-9.4.0/lib/gcc/x86_64-pc-linux-gnu/9.4.0/include/shaintrin.h:39:1: error: inlining failed in call to always_inline ‘__m128i _mm_sha1msg1_epu32(__m128i, __m128i)’: target specific option mismatch
39 | _mm_sha1msg1_epu32 (__m128i __A, __m128i __B)
| ^~~~~~~~~~~~~~~~~~
sha_simd.cpp:332:34: note: called from here
332 | MSG0 = _mm_sha1msg1_epu32(MSG0, MSG1);
| ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~
In file included from /usr/local/gcc-9.4.0/lib/gcc/x86_64-pc-linux-gnu/9.4.0/include/immintrin.h:99,
from sha_simd.cpp:23:
/usr/local/gcc-9.4.0/lib/gcc/x86_64-pc-linux-gnu/9.4.0/include/shaintrin.h:61:1: error: inlining failed in call to always_inline ‘__m128i _mm_sha1rnds4_epu32(__m128i, __m128i, int)’: target specific option mismatch
61 | _mm_sha1rnds4_epu32 (__m128i __A, __m128i __B, const int __I)
| ^~~~~~~~~~~~~~~~~~~
sha_simd.cpp:331:35: note: called from here
331 | ABCD = _mm_sha1rnds4_epu32(ABCD, E1, 1);
| ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~
In file included from /usr/local/gcc-9.4.0/lib/gcc/x86_64-pc-linux-gnu/9.4.0/include/immintrin.h:99,
from sha_simd.cpp:23:
/usr/local/gcc-9.4.0/lib/gcc/x86_64-pc-linux-gnu/9.4.0/include/shaintrin.h:46:1: error: inlining failed in call to always_inline ‘__m128i _mm_sha1msg2_epu32(__m128i, __m128i)’: target specific option mismatch
46 | _mm_sha1msg2_epu32 (__m128i __A, __m128i __B)
| ^~~~~~~~~~~~~~~~~~
sha_simd.cpp:330:34: note: called from here
330 | MSG2 = _mm_sha1msg2_epu32(MSG2, MSG1);
| ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~
In file included from /usr/local/gcc-9.4.0/lib/gcc/x86_64-pc-linux-gnu/9.4.0/include/immintrin.h:99,
from sha_simd.cpp:23:
/usr/local/gcc-9.4.0/lib/gcc/x86_64-pc-linux-gnu/9.4.0/include/shaintrin.h:53:1: error: inlining failed in call to always_inline ‘__m128i _mm_sha1nexte_epu32(__m128i, __m128i)’: target specific option mismatch
53 | _mm_sha1nexte_epu32 (__m128i __A, __m128i __B)
| ^~~~~~~~~~~~~~~~~~~
sha_simd.cpp:328:33: note: called from here
328 | E1 = _mm_sha1nexte_epu32(E1, MSG1);
| ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~
In file included from /usr/local/gcc-9.4.0/lib/gcc/x86_64-pc-linux-gnu/9.4.0/include/immintrin.h:99,
from sha_simd.cpp:23:
/usr/local/gcc-9.4.0/lib/gcc/x86_64-pc-linux-gnu/9.4.0/include/shaintrin.h:39:1: error: inlining failed in call to always_inline ‘__m128i _mm_sha1msg1_epu32(__m128i, __m128i)’: target specific option mismatch
39 | _mm_sha1msg1_epu32 (__m128i __A, __m128i __B)
| ^~~~~~~~~~~~~~~~~~
sha_simd.cpp:340:34: note: called from here
340 | MSG1 = _mm_sha1msg1_epu32(MSG1, MSG2);
| ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~
In file included from /usr/local/gcc-9.4.0/lib/gcc/x86_64-pc-linux-gnu/9.4.0/include/immintrin.h:99,
from sha_simd.cpp:23:
/usr/local/gcc-9.4.0/lib/gcc/x86_64-pc-linux-gnu/9.4.0/include/shaintrin.h:61:1: error: inlining failed in call to always_inline ‘__m128i _mm_sha1rnds4_epu32(__m128i, __m128i, int)’: target specific option mismatch
61 | _mm_sha1rnds4_epu32 (__m128i __A, __m128i __B, const int __I)
| ^~~~~~~~~~~~~~~~~~~
sha_simd.cpp:339:35: note: called from here
339 | ABCD = _mm_sha1rnds4_epu32(ABCD, E0, 2);
| ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~
In file included from /usr/local/gcc-9.4.0/lib/gcc/x86_64-pc-linux-gnu/9.4.0/include/immintrin.h:99,
from sha_simd.cpp:23:
/usr/local/gcc-9.4.0/lib/gcc/x86_64-pc-linux-gnu/9.4.0/include/shaintrin.h:46:1: error: inlining failed in call to always_inline ‘__m128i _mm_sha1msg2_epu32(__m128i, __m128i)’: target specific option mismatch
46 | _mm_sha1msg2_epu32 (__m128i __A, __m128i __B)
| ^~~~~~~~~~~~~~~~~~
sha_simd.cpp:338:34: note: called from here
338 | MSG3 = _mm_sha1msg2_epu32(MSG3, MSG2);
| ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~
In file included from /usr/local/gcc-9.4.0/lib/gcc/x86_64-pc-linux-gnu/9.4.0/include/immintrin.h:99,
from sha_simd.cpp:23:
/usr/local/gcc-9.4.0/lib/gcc/x86_64-pc-linux-gnu/9.4.0/include/shaintrin.h:53:1: error: inlining failed in call to always_inline ‘__m128i _mm_sha1nexte_epu32(__m128i, __m128i)’: target specific option mismatch
53 | _mm_sha1nexte_epu32 (__m128i __A, __m128i __B)
| ^~~~~~~~~~~~~~~~~~~
sha_simd.cpp:336:33: note: called from here
336 | E0 = _mm_sha1nexte_epu32(E0, MSG2);
| ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~
In file included from /usr/local/gcc-9.4.0/lib/gcc/x86_64-pc-linux-gnu/9.4.0/include/immintrin.h:99,
from sha_simd.cpp:23:
/usr/local/gcc-9.4.0/lib/gcc/x86_64-pc-linux-gnu/9.4.0/include/shaintrin.h:39:1: error: inlining failed in call to always_inline ‘__m128i _mm_sha1msg1_epu32(__m128i, __m128i)’: target specific option mismatch
39 | _mm_sha1msg1_epu32 (__m128i __A, __m128i __B)
| ^~~~~~~~~~~~~~~~~~
sha_simd.cpp:348:34: note: called from here
348 | MSG2 = _mm_sha1msg1_epu32(MSG2, MSG3);
| ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~
In file included from /usr/local/gcc-9.4.0/lib/gcc/x86_64-pc-linux-gnu/9.4.0/include/immintrin.h:99,
from sha_simd.cpp:23:
/usr/local/gcc-9.4.0/lib/gcc/x86_64-pc-linux-gnu/9.4.0/include/shaintrin.h:61:1: error: inlining failed in call to always_inline ‘__m128i _mm_sha1rnds4_epu32(__m128i, __m128i, int)’: target specific option mismatch
61 | _mm_sha1rnds4_epu32 (__m128i __A, __m128i __B, const int __I)
| ^~~~~~~~~~~~~~~~~~~
sha_simd.cpp:347:35: note: called from here
347 | ABCD = _mm_sha1rnds4_epu32(ABCD, E1, 2);
| ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~
In file included from /usr/local/gcc-9.4.0/lib/gcc/x86_64-pc-linux-gnu/9.4.0/include/immintrin.h:99,
from sha_simd.cpp:23:
/usr/local/gcc-9.4.0/lib/gcc/x86_64-pc-linux-gnu/9.4.0/include/shaintrin.h:46:1: error: inlining failed in call to always_inline ‘__m128i _mm_sha1msg2_epu32(__m128i, __m128i)’: target specific option mismatch
46 | _mm_sha1msg2_epu32 (__m128i __A, __m128i __B)
| ^~~~~~~~~~~~~~~~~~
sha_simd.cpp:346:34: note: called from here
346 | MSG0 = _mm_sha1msg2_epu32(MSG0, MSG3);
| ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~
In file included from /usr/local/gcc-9.4.0/lib/gcc/x86_64-pc-linux-gnu/9.4.0/include/immintrin.h:99,
from sha_simd.cpp:23:
/usr/local/gcc-9.4.0/lib/gcc/x86_64-pc-linux-gnu/9.4.0/include/shaintrin.h:53:1: error: inlining failed in call to always_inline ‘__m128i _mm_sha1nexte_epu32(__m128i, __m128i)’: target specific option mismatch
53 | _mm_sha1nexte_epu32 (__m128i __A, __m128i __B)
| ^~~~~~~~~~~~~~~~~~~
sha_simd.cpp:344:33: note: called from here
344 | E1 = _mm_sha1nexte_epu32(E1, MSG3);
| ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~
In file included from /usr/local/gcc-9.4.0/lib/gcc/x86_64-pc-linux-gnu/9.4.0/include/immintrin.h:99,
from sha_simd.cpp:23:
/usr/local/gcc-9.4.0/lib/gcc/x86_64-pc-linux-gnu/9.4.0/include/shaintrin.h:39:1: error: inlining failed in call to always_inline ‘__m128i _mm_sha1msg1_epu32(__m128i, __m128i)’: target specific option mismatch
39 | _mm_sha1msg1_epu32 (__m128i __A, __m128i __B)
| ^~~~~~~~~~~~~~~~~~
sha_simd.cpp:356:34: note: called from here
356 | MSG3 = _mm_sha1msg1_epu32(MSG3, MSG0);
| ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~
In file included from /usr/local/gcc-9.4.0/lib/gcc/x86_64-pc-linux-gnu/9.4.0/include/immintrin.h:99,
from sha_simd.cpp:23:
/usr/local/gcc-9.4.0/lib/gcc/x86_64-pc-linux-gnu/9.4.0/include/shaintrin.h:61:1: error: inlining failed in call to always_inline ‘__m128i _mm_sha1rnds4_epu32(__m128i, __m128i, int)’: target specific option mismatch
61 | _mm_sha1rnds4_epu32 (__m128i __A, __m128i __B, const int __I)
| ^~~~~~~~~~~~~~~~~~~
sha_simd.cpp:355:35: note: called from here
355 | ABCD = _mm_sha1rnds4_epu32(ABCD, E0, 2);
| ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~
In file included from /usr/local/gcc-9.4.0/lib/gcc/x86_64-pc-linux-gnu/9.4.0/include/immintrin.h:99,
from sha_simd.cpp:23:
/usr/local/gcc-9.4.0/lib/gcc/x86_64-pc-linux-gnu/9.4.0/include/shaintrin.h:46:1: error: inlining failed in call to always_inline ‘__m128i _mm_sha1msg2_epu32(__m128i, __m128i)’: target specific option mismatch
46 | _mm_sha1msg2_epu32 (__m128i __A, __m128i __B)
| ^~~~~~~~~~~~~~~~~~
sha_simd.cpp:354:34: note: called from here
354 | MSG1 = _mm_sha1msg2_epu32(MSG1, MSG0);
| ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~
In file included from /usr/local/gcc-9.4.0/lib/gcc/x86_64-pc-linux-gnu/9.4.0/include/immintrin.h:99,
from sha_simd.cpp:23:
/usr/local/gcc-9.4.0/lib/gcc/x86_64-pc-linux-gnu/9.4.0/include/shaintrin.h:53:1: error: inlining failed in call to always_inline ‘__m128i _mm_sha1nexte_epu32(__m128i, __m128i)’: target specific option mismatch
53 | _mm_sha1nexte_epu32 (__m128i __A, __m128i __B)
| ^~~~~~~~~~~~~~~~~~~
sha_simd.cpp:352:33: note: called from here
352 | E0 = _mm_sha1nexte_epu32(E0, MSG0);
| ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~
In file included from /usr/local/gcc-9.4.0/lib/gcc/x86_64-pc-linux-gnu/9.4.0/include/immintrin.h:99,
from sha_simd.cpp:23:
/usr/local/gcc-9.4.0/lib/gcc/x86_64-pc-linux-gnu/9.4.0/include/shaintrin.h:39:1: error: inlining failed in call to always_inline ‘__m128i _mm_sha1msg1_epu32(__m128i, __m128i)’: target specific option mismatch
39 | _mm_sha1msg1_epu32 (__m128i __A, __m128i __B)
| ^~~~~~~~~~~~~~~~~~
sha_simd.cpp:364:34: note: called from here
364 | MSG0 = _mm_sha1msg1_epu32(MSG0, MSG1);
| ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~
In file included from /usr/local/gcc-9.4.0/lib/gcc/x86_64-pc-linux-gnu/9.4.0/include/immintrin.h:99,
from sha_simd.cpp:23:
/usr/local/gcc-9.4.0/lib/gcc/x86_64-pc-linux-gnu/9.4.0/include/shaintrin.h:61:1: error: inlining failed in call to always_inline ‘__m128i _mm_sha1rnds4_epu32(__m128i, __m128i, int)’: target specific option mismatch
61 | _mm_sha1rnds4_epu32 (__m128i __A, __m128i __B, const int __I)
| ^~~~~~~~~~~~~~~~~~~
sha_simd.cpp:363:35: note: called from here
363 | ABCD = _mm_sha1rnds4_epu32(ABCD, E1, 2);
| ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~
In file included from /usr/local/gcc-9.4.0/lib/gcc/x86_64-pc-linux-gnu/9.4.0/include/immintrin.h:99,
from sha_simd.cpp:23:
/usr/local/gcc-9.4.0/lib/gcc/x86_64-pc-linux-gnu/9.4.0/include/shaintrin.h:46:1: error: inlining failed in call to always_inline ‘__m128i _mm_sha1msg2_epu32(__m128i, __m128i)’: target specific option mismatch
46 | _mm_sha1msg2_epu32 (__m128i __A, __m128i __B)
| ^~~~~~~~~~~~~~~~~~
sha_simd.cpp:362:34: note: called from here
362 | MSG2 = _mm_sha1msg2_epu32(MSG2, MSG1);
| ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~
In file included from /usr/local/gcc-9.4.0/lib/gcc/x86_64-pc-linux-gnu/9.4.0/include/immintrin.h:99,
from sha_simd.cpp:23:
/usr/local/gcc-9.4.0/lib/gcc/x86_64-pc-linux-gnu/9.4.0/include/shaintrin.h:53:1: error: inlining failed in call to always_inline ‘__m128i _mm_sha1nexte_epu32(__m128i, __m128i)’: target specific option mismatch
53 | _mm_sha1nexte_epu32 (__m128i __A, __m128i __B)
| ^~~~~~~~~~~~~~~~~~~
sha_simd.cpp:360:33: note: called from here
360 | E1 = _mm_sha1nexte_epu32(E1, MSG1);
| ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~
In file included from /usr/local/gcc-9.4.0/lib/gcc/x86_64-pc-linux-gnu/9.4.0/include/immintrin.h:99,
from sha_simd.cpp:23:
/usr/local/gcc-9.4.0/lib/gcc/x86_64-pc-linux-gnu/9.4.0/include/shaintrin.h:39:1: error: inlining failed in call to always_inline ‘__m128i _mm_sha1msg1_epu32(__m128i, __m128i)’: target specific option mismatch
39 | _mm_sha1msg1_epu32 (__m128i __A, __m128i __B)
| ^~~~~~~~~~~~~~~~~~
sha_simd.cpp:372:34: note: called from here
372 | MSG1 = _mm_sha1msg1_epu32(MSG1, MSG2);
| ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~
In file included from /usr/local/gcc-9.4.0/lib/gcc/x86_64-pc-linux-gnu/9.4.0/include/immintrin.h:99,
from sha_simd.cpp:23:
/usr/local/gcc-9.4.0/lib/gcc/x86_64-pc-linux-gnu/9.4.0/include/shaintrin.h:61:1: error: inlining failed in call to always_inline ‘__m128i _mm_sha1rnds4_epu32(__m128i, __m128i, int)’: target specific option mismatch
61 | _mm_sha1rnds4_epu32 (__m128i __A, __m128i __B, const int __I)
| ^~~~~~~~~~~~~~~~~~~
sha_simd.cpp:371:35: note: called from here
371 | ABCD = _mm_sha1rnds4_epu32(ABCD, E0, 2);
| ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~
In file included from /usr/local/gcc-9.4.0/lib/gcc/x86_64-pc-linux-gnu/9.4.0/include/immintrin.h:99,
from sha_simd.cpp:23:
/usr/local/gcc-9.4.0/lib/gcc/x86_64-pc-linux-gnu/9.4.0/include/shaintrin.h:46:1: error: inlining failed in call to always_inline ‘__m128i _mm_sha1msg2_epu32(__m128i, __m128i)’: target specific option mismatch
46 | _mm_sha1msg2_epu32 (__m128i __A, __m128i __B)
| ^~~~~~~~~~~~~~~~~~
sha_simd.cpp:370:34: note: called from here
370 | MSG3 = _mm_sha1msg2_epu32(MSG3, MSG2);
| ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~
In file included from /usr/local/gcc-9.4.0/lib/gcc/x86_64-pc-linux-gnu/9.4.0/include/immintrin.h:99,
from sha_simd.cpp:23:
/usr/local/gcc-9.4.0/lib/gcc/x86_64-pc-linux-gnu/9.4.0/include/shaintrin.h:53:1: error: inlining failed in call to always_inline ‘__m128i _mm_sha1nexte_epu32(__m128i, __m128i)’: target specific option mismatch
53 | _mm_sha1nexte_epu32 (__m128i __A, __m128i __B)
| ^~~~~~~~~~~~~~~~~~~
sha_simd.cpp:368:33: note: called from here
368 | E0 = _mm_sha1nexte_epu32(E0, MSG2);
| ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~
In file included from /usr/local/gcc-9.4.0/lib/gcc/x86_64-pc-linux-gnu/9.4.0/include/immintrin.h:99,
from sha_simd.cpp:23:
/usr/local/gcc-9.4.0/lib/gcc/x86_64-pc-linux-gnu/9.4.0/include/shaintrin.h:39:1: error: inlining failed in call to always_inline ‘__m128i _mm_sha1msg1_epu32(__m128i, __m128i)’: target specific option mismatch
39 | _mm_sha1msg1_epu32 (__m128i __A, __m128i __B)
| ^~~~~~~~~~~~~~~~~~
sha_simd.cpp:380:34: note: called from here
380 | MSG2 = _mm_sha1msg1_epu32(MSG2, MSG3);
| ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~
In file included from /usr/local/gcc-9.4.0/lib/gcc/x86_64-pc-linux-gnu/9.4.0/include/immintrin.h:99,
from sha_simd.cpp:23:
/usr/local/gcc-9.4.0/lib/gcc/x86_64-pc-linux-gnu/9.4.0/include/shaintrin.h:61:1: error: inlining failed in call to always_inline ‘__m128i _mm_sha1rnds4_epu32(__m128i, __m128i, int)’: target specific option mismatch
61 | _mm_sha1rnds4_epu32 (__m128i __A, __m128i __B, const int __I)
| ^~~~~~~~~~~~~~~~~~~
sha_simd.cpp:379:35: note: called from here
379 | ABCD = _mm_sha1rnds4_epu32(ABCD, E1, 3);
| ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~
In file included from /usr/local/gcc-9.4.0/lib/gcc/x86_64-pc-linux-gnu/9.4.0/include/immintrin.h:99,
from sha_simd.cpp:23:
/usr/local/gcc-9.4.0/lib/gcc/x86_64-pc-linux-gnu/9.4.0/include/shaintrin.h:46:1: error: inlining failed in call to always_inline ‘__m128i _mm_sha1msg2_epu32(__m128i, __m128i)’: target specific option mismatch
46 | _mm_sha1msg2_epu32 (__m128i __A, __m128i __B)
| ^~~~~~~~~~~~~~~~~~
sha_simd.cpp:378:34: note: called from here
378 | MSG0 = _mm_sha1msg2_epu32(MSG0, MSG3);
| ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~
In file included from /usr/local/gcc-9.4.0/lib/gcc/x86_64-pc-linux-gnu/9.4.0/include/immintrin.h:99,
from sha_simd.cpp:23:
/usr/local/gcc-9.4.0/lib/gcc/x86_64-pc-linux-gnu/9.4.0/include/shaintrin.h:53:1: error: inlining failed in call to always_inline ‘__m128i _mm_sha1nexte_epu32(__m128i, __m128i)’: target specific option mismatch
53 | _mm_sha1nexte_epu32 (__m128i __A, __m128i __B)
| ^~~~~~~~~~~~~~~~~~~
sha_simd.cpp:376:33: note: called from here
376 | E1 = _mm_sha1nexte_epu32(E1, MSG3);
| ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~
In file included from /usr/local/gcc-9.4.0/lib/gcc/x86_64-pc-linux-gnu/9.4.0/include/immintrin.h:99,
from sha_simd.cpp:23:
/usr/local/gcc-9.4.0/lib/gcc/x86_64-pc-linux-gnu/9.4.0/include/shaintrin.h:39:1: error: inlining failed in call to always_inline ‘__m128i _mm_sha1msg1_epu32(__m128i, __m128i)’: target specific option mismatch
39 | _mm_sha1msg1_epu32 (__m128i __A, __m128i __B)
| ^~~~~~~~~~~~~~~~~~
sha_simd.cpp:388:34: note: called from here
388 | MSG3 = _mm_sha1msg1_epu32(MSG3, MSG0);
| ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~
In file included from /usr/local/gcc-9.4.0/lib/gcc/x86_64-pc-linux-gnu/9.4.0/include/immintrin.h:99,
from sha_simd.cpp:23:
/usr/local/gcc-9.4.0/lib/gcc/x86_64-pc-linux-gnu/9.4.0/include/shaintrin.h:61:1: error: inlining failed in call to always_inline ‘__m128i _mm_sha1rnds4_epu32(__m128i, __m128i, int)’: target specific option mismatch
61 | _mm_sha1rnds4_epu32 (__m128i __A, __m128i __B, const int __I)
| ^~~~~~~~~~~~~~~~~~~
sha_simd.cpp:387:35: note: called from here
387 | ABCD = _mm_sha1rnds4_epu32(ABCD, E0, 3);
| ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~
In file included from /usr/local/gcc-9.4.0/lib/gcc/x86_64-pc-linux-gnu/9.4.0/include/immintrin.h:99,
from sha_simd.cpp:23:
/usr/local/gcc-9.4.0/lib/gcc/x86_64-pc-linux-gnu/9.4.0/include/shaintrin.h:46:1: error: inlining failed in call to always_inline ‘__m128i _mm_sha1msg2_epu32(__m128i, __m128i)’: target specific option mismatch
46 | _mm_sha1msg2_epu32 (__m128i __A, __m128i __B)
| ^~~~~~~~~~~~~~~~~~
sha_simd.cpp:386:34: note: called from here
386 | MSG1 = _mm_sha1msg2_epu32(MSG1, MSG0);
| ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~
In file included from /usr/local/gcc-9.4.0/lib/gcc/x86_64-pc-linux-gnu/9.4.0/include/immintrin.h:99,
from sha_simd.cpp:23:
/usr/local/gcc-9.4.0/lib/gcc/x86_64-pc-linux-gnu/9.4.0/include/shaintrin.h:53:1: error: inlining failed in call to always_inline ‘__m128i _mm_sha1nexte_epu32(__m128i, __m128i)’: target specific option mismatch
53 | _mm_sha1nexte_epu32 (__m128i __A, __m128i __B)
| ^~~~~~~~~~~~~~~~~~~
sha_simd.cpp:384:33: note: called from here
384 | E0 = _mm_sha1nexte_epu32(E0, MSG0);
| ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~
In file included from /usr/local/gcc-9.4.0/lib/gcc/x86_64-pc-linux-gnu/9.4.0/include/immintrin.h:99,
from sha_simd.cpp:23:
/usr/local/gcc-9.4.0/lib/gcc/x86_64-pc-linux-gnu/9.4.0/include/shaintrin.h:61:1: error: inlining failed in call to always_inline ‘__m128i _mm_sha1rnds4_epu32(__m128i, __m128i, int)’: target specific option mismatch
61 | _mm_sha1rnds4_epu32 (__m128i __A, __m128i __B, const int __I)
| ^~~~~~~~~~~~~~~~~~~
sha_simd.cpp:395:35: note: called from here
395 | ABCD = _mm_sha1rnds4_epu32(ABCD, E1, 3);
| ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~
In file included from /usr/local/gcc-9.4.0/lib/gcc/x86_64-pc-linux-gnu/9.4.0/include/immintrin.h:99,
from sha_simd.cpp:23:
/usr/local/gcc-9.4.0/lib/gcc/x86_64-pc-linux-gnu/9.4.0/include/shaintrin.h:46:1: error: inlining failed in call to always_inline ‘__m128i _mm_sha1msg2_epu32(__m128i, __m128i)’: target specific option mismatch
46 | _mm_sha1msg2_epu32 (__m128i __A, __m128i __B)
| ^~~~~~~~~~~~~~~~~~
sha_simd.cpp:394:34: note: called from here
394 | MSG2 = _mm_sha1msg2_epu32(MSG2, MSG1);
| ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~
In file included from /usr/local/gcc-9.4.0/lib/gcc/x86_64-pc-linux-gnu/9.4.0/include/immintrin.h:99,
from sha_simd.cpp:23:
/usr/local/gcc-9.4.0/lib/gcc/x86_64-pc-linux-gnu/9.4.0/include/shaintrin.h:53:1: error: inlining failed in call to always_inline ‘__m128i _mm_sha1nexte_epu32(__m128i, __m128i)’: target specific option mismatch
53 | _mm_sha1nexte_epu32 (__m128i __A, __m128i __B)
| ^~~~~~~~~~~~~~~~~~~
sha_simd.cpp:392:33: note: called from here
392 | E1 = _mm_sha1nexte_epu32(E1, MSG1);
| ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~
In file included from /usr/local/gcc-9.4.0/lib/gcc/x86_64-pc-linux-gnu/9.4.0/include/immintrin.h:99,
from sha_simd.cpp:23:
/usr/local/gcc-9.4.0/lib/gcc/x86_64-pc-linux-gnu/9.4.0/include/shaintrin.h:53:1: error: inlining failed in call to always_inline ‘__m128i _mm_sha1nexte_epu32(__m128i, __m128i)’: target specific option mismatch
53 | _mm_sha1nexte_epu32 (__m128i __A, __m128i __B)
| ^~~~~~~~~~~~~~~~~~~
sha_simd.cpp:410:33: note: called from here
410 | E0 = _mm_sha1nexte_epu32(E0, E0_SAVE);
| ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~
In file included from /usr/local/gcc-9.4.0/lib/gcc/x86_64-pc-linux-gnu/9.4.0/include/immintrin.h:99,
from sha_simd.cpp:23:
/usr/local/gcc-9.4.0/lib/gcc/x86_64-pc-linux-gnu/9.4.0/include/shaintrin.h:61:1: error: inlining failed in call to always_inline ‘__m128i _mm_sha1rnds4_epu32(__m128i, __m128i, int)’: target specific option mismatch
61 | _mm_sha1rnds4_epu32 (__m128i __A, __m128i __B, const int __I)
| ^~~~~~~~~~~~~~~~~~~
sha_simd.cpp:407:35: note: called from here
407 | ABCD = _mm_sha1rnds4_epu32(ABCD, E1, 3);
| ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~
In file included from /usr/local/gcc-9.4.0/lib/gcc/x86_64-pc-linux-gnu/9.4.0/include/immintrin.h:99,
from sha_simd.cpp:23:
/usr/local/gcc-9.4.0/lib/gcc/x86_64-pc-linux-gnu/9.4.0/include/shaintrin.h:53:1: error: inlining failed in call to always_inline ‘__m128i _mm_sha1nexte_epu32(__m128i, __m128i)’: target specific option mismatch
53 | _mm_sha1nexte_epu32 (__m128i __A, __m128i __B)
| ^~~~~~~~~~~~~~~~~~~
sha_simd.cpp:405:33: note: called from here
405 | E1 = _mm_sha1nexte_epu32(E1, MSG3);
| ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~
In file included from /usr/local/gcc-9.4.0/lib/gcc/x86_64-pc-linux-gnu/9.4.0/include/immintrin.h:99,
from sha_simd.cpp:23:
/usr/local/gcc-9.4.0/lib/gcc/x86_64-pc-linux-gnu/9.4.0/include/shaintrin.h:61:1: error: inlining failed in call to always_inline ‘__m128i _mm_sha1rnds4_epu32(__m128i, __m128i, int)’: target specific option mismatch
61 | _mm_sha1rnds4_epu32 (__m128i __A, __m128i __B, const int __I)
| ^~~~~~~~~~~~~~~~~~~
sha_simd.cpp:402:35: note: called from here
402 | ABCD = _mm_sha1rnds4_epu32(ABCD, E0, 3);
| ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~
In file included from /usr/local/gcc-9.4.0/lib/gcc/x86_64-pc-linux-gnu/9.4.0/include/immintrin.h:99,
from sha_simd.cpp:23:
/usr/local/gcc-9.4.0/lib/gcc/x86_64-pc-linux-gnu/9.4.0/include/shaintrin.h:46:1: error: inlining failed in call to always_inline ‘__m128i _mm_sha1msg2_epu32(__m128i, __m128i)’: target specific option mismatch
46 | _mm_sha1msg2_epu32 (__m128i __A, __m128i __B)
| ^~~~~~~~~~~~~~~~~~
sha_simd.cpp:401:34: note: called from here
401 | MSG3 = _mm_sha1msg2_epu32(MSG3, MSG2);
| ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~
In file included from /usr/local/gcc-9.4.0/lib/gcc/x86_64-pc-linux-gnu/9.4.0/include/immintrin.h:99,
from sha_simd.cpp:23:
/usr/local/gcc-9.4.0/lib/gcc/x86_64-pc-linux-gnu/9.4.0/include/shaintrin.h:53:1: error: inlining failed in call to always_inline ‘__m128i _mm_sha1nexte_epu32(__m128i, __m128i)’: target specific option mismatch
53 | _mm_sha1nexte_epu32 (__m128i __A, __m128i __B)
| ^~~~~~~~~~~~~~~~~~~
sha_simd.cpp:399:33: note: called from here
399 | E0 = _mm_sha1nexte_epu32(E0, MSG2);
| ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~
In file included from /usr/local/gcc-9.4.0/lib/gcc/x86_64-pc-linux-gnu/9.4.0/include/nmmintrin.h:31,
from sha_simd.cpp:22:
/usr/local/gcc-9.4.0/lib/gcc/x86_64-pc-linux-gnu/9.4.0/include/smmintrin.h:447:1: error: inlining failed in call to always_inline ‘int _mm_extract_epi32(__m128i, int)’: target specific option mismatch
447 | _mm_extract_epi32 (__m128i __X, const int __N)
| ^~~~~~~~~~~~~~~~~
sha_simd.cpp:420:33: note: called from here
420 | state[4] = _mm_extract_epi32(E0, 3);
| ~~~~~~~~~~~~~~~~~^~~~~~~
In file included from /usr/local/gcc-9.4.0/lib/gcc/x86_64-pc-linux-gnu/9.4.0/include/nmmintrin.h:31,
from sha_simd.cpp:22:
/usr/local/gcc-9.4.0/lib/gcc/x86_64-pc-linux-gnu/9.4.0/include/smmintrin.h:447:1: error: inlining failed in call to always_inline ‘int _mm_extract_epi32(__m128i, int)’: target specific option mismatch
447 | _mm_extract_epi32 (__m128i __X, const int __N)
| ^~~~~~~~~~~~~~~~~
sha_simd.cpp:420:33: note: called from here
420 | state[4] = _mm_extract_epi32(E0, 3);
| ~~~~~~~~~~~~~~~~~^~~~~~~
make: *** [sha_simd.o] Error 1
``` | CRYPTOPP_DISABLE_SHANI may be required with CRYPTOPP_DISABLE_AVX2 | https://api.github.com/repos/weidai11/cryptopp/issues/1054/comments | 11 | 2021-07-02T17:52:23Z | 2021-07-05T13:48:24Z | https://github.com/weidai11/cryptopp/issues/1054 | 935,962,167 | 1,054 |
[
"weidai11",
"cryptopp"
] | - OS BigSur 11.4
- Cryptopp8_5_0
- Building
- IOS_SDK=iPhoneOS IOS_CPU=arm64 source ./TestScripts/setenv-ios.sh
- make -f GNUmakefile-cross
- make install PREFIX=../tmp
Output after last command:
```
➜ cryptopp-CRYPTOPP_8_5_0 make install PREFIX=../tmp
clang++ -DNDEBUG -g2 -O3 -DCRYPTOPP_DISABLE_ASM -fPIC -pipe -c sse_simd.cpp
In file included from sse_simd.cpp:9:
In file included from ./pch.h:14:
In file included from ./config.h:22:
In file included from ./config_align.h:27:
In file included from ./config_cxx.h:37:
In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/
XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/string:506:
In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/
XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/string_view:175:
In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/
XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/__string:57:
In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/
XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/algorithm:641:
In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/
XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/cstring:60:
/Applications/Xcode.app/Contents/Developer/Toolchains/
XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/string.h:60:15: fatal error: 'string.h' file not found
#include_next <string.h>
^~~~~~~~~~
1 error generated.
make: *** [sse_simd.o] Error 1
```
It builds without any problems, but when I run make install it does not behave.
| make install PREFIX=path can't find <string.h> on BigSur 11.4 | https://api.github.com/repos/weidai11/cryptopp/issues/1053/comments | 2 | 2021-07-01T08:03:15Z | 2021-07-01T14:40:15Z | https://github.com/weidai11/cryptopp/issues/1053 | 934,538,083 | 1,053 |
[
"weidai11",
"cryptopp"
] | I don't know if this is the place for this topic, but I recently noticed this Crypto++ wrapper:
https://www.codeproject.com/Articles/89935/SpaceCrypto-A-Simple-Crypto-Wrapper
and I must agree the code in this library is fairly complicated for a beginner to use. For example,
```
CryptoPP::SHA1 sha1;
std::string source = "ABC123";
std::string hash = "";
CryptoPP::StringSource(source, true, new CryptoPP::HashFilter(sha1, new CryptoPP::HexEncoder(new CryptoPP::StringSink(hash))));
```
This is just way to much for a simple hash function to use as there are so many types and functions involved (`CryptoPP::SHA1`, `CryptoPP::StringSource`, `CryptoPP::HashFilter`, `CryptoPP::HexEncoder`, `CryptoPP::StringSink`).
I would suggest you to try and simplify the usage of this library with more direct methods like:
```
sha1.HashString("input string");
sha1.HashFile("inputFile.dat");
sha1.HashBytes(&someData);
```
where you can eventually have default arguments or many different overloads of these methods. Similarly with the symetric and asimetric algorithms, providing direct methods to Encrypt/Decrypt strings, files and bytes (streams), create key pairs etc. In essence, a base class with these virtual functions could probably do the trick. | Can you simplify the use of the library? | https://api.github.com/repos/weidai11/cryptopp/issues/1051/comments | 1 | 2021-06-23T13:22:20Z | 2021-06-23T14:10:13Z | https://github.com/weidai11/cryptopp/issues/1051 | 928,254,443 | 1,051 |
[
"weidai11",
"cryptopp"
] | Please add support for C++ Builder (Static Library and Dynamic Link Library projects), as it is supported for Visual Studio. | Add support for C++ Builder | https://api.github.com/repos/weidai11/cryptopp/issues/1050/comments | 17 | 2021-06-22T12:35:13Z | 2022-09-29T10:05:15Z | https://github.com/weidai11/cryptopp/issues/1050 | 927,185,213 | 1,050 |
[
"weidai11",
"cryptopp"
] | Assert in test program | https://api.github.com/repos/weidai11/cryptopp/issues/1049/comments | 2 | 2021-06-20T10:19:56Z | 2021-06-23T08:17:46Z | https://github.com/weidai11/cryptopp/issues/1049 | 925,566,829 | 1,049 | |
[
"weidai11",
"cryptopp"
] | `OldRandomPool::GenerateWord32` does not provide the same behavior as Crypto++ 5.4. It creates an endian-swapped stream of words on little-endian machines.
`OldRandomPool::GenerateWord32` uses an algorithm provided around Crypto++ 5.5. Unfortunately, it is not the same algorithm [from Crypto++ 5.4](https://github.com/weidai11/cryptopp/blob/b696b90551981ac71e8982bd9a86f3800400438b/cryptlib.cpp), which is shown below.
```c++
word32 RandomNumberGenerator::GenerateWord32(word32 min, word32 max)
{
word32 range = max-min;
const int maxBytes = BytePrecision(range);
const int maxBits = BitPrecision(range);
word32 value;
do
{
value = 0;
for (int i=0; i<maxBytes; i++)
value = (value << 8) | GenerateByte();
value = Crop(value, maxBits);
} while (value > range);
return value+min;
}
```
This report will track the change. | Fix OldRandomPool::GenerateWord32 | https://api.github.com/repos/weidai11/cryptopp/issues/1048/comments | 1 | 2021-06-17T22:02:36Z | 2021-06-18T17:57:11Z | https://github.com/weidai11/cryptopp/issues/1048 | 924,371,933 | 1,048 |
[
"weidai11",
"cryptopp"
] | I download recently Crypto++ 8.5. I think its the latest version. Library was build on Linux Ubuntu 20.04 via `make`.
I was trying to build [Elliptic Curve DH example](https://www.cryptopp.com/wiki/Elliptic_Curve_Diffie-Hellman) from the website like this:
```
g++ -DNDEBUG -g3 -O2 -Wall -Wextra -o ecdh-agree.exe ecdh-agree.cpp -l:libcryptopp.a (static lib)
```
or
```
g++ -g -O2 -DNDEBUG ecdh-agree.cpp -o ecdh-agree.exe -lcryptopp -lpthread
```
but when i tried to run output exe, i get this issue:

can you help me with this ?
Thank you for your time
| Issue with running ECDH example | https://api.github.com/repos/weidai11/cryptopp/issues/1047/comments | 3 | 2021-06-14T14:37:12Z | 2021-06-14T16:11:44Z | https://github.com/weidai11/cryptopp/issues/1047 | 920,480,114 | 1,047 |
[
"weidai11",
"cryptopp"
] | ### Crypto++ Issue Report
Thanks for taking the time to report an issue. Reporting issues helps us improve stability and reliability for all users, so it is a valuable contribution.
Please do not ask questions in the bug tracker. Please ask questions on the Crypto++ Users List at http://groups.google.com/forum/#!forum/cryptopp-users.
Please _do not_ ask questions at Stack Overflow. We may not be able to answer your question.
There is a wiki page with information on filing useful bug reports. If you have some time please visit http://www.cryptopp.com/wiki/Bug_Report on the wiki. The executive summary is:
* State the operating system and version (Ubutnu 17 x86_64, Windows 7 Professional x64, etc)
* State the version of the Crypto++ library (Crypto++ 7.0, Master, etc)
* State how you built the library (Makefile, Cmake, distro, etc)
* Show a typical command line (the output of the compiler for cryptlib.cpp)
* Show the link command (the output of the linker for libcryptopp.so or cryptest.exe)
* Show the exact error message you are receiving (copy and paste it); or
* Clearly state the undesired behavior (and state the expected behavior)
| which cryptopp version supports v141 platform tool set ? | https://api.github.com/repos/weidai11/cryptopp/issues/1046/comments | 1 | 2021-06-14T06:05:18Z | 2021-06-14T06:14:59Z | https://github.com/weidai11/cryptopp/issues/1046 | 920,039,105 | 1,046 |
[
"weidai11",
"cryptopp"
] | ### Crypto++ Issue Report
Thanks for taking the time to report an issue. Reporting issues helps us improve stability and reliability for all users, so it is a valuable contribution.
Please do not ask questions in the bug tracker. Please ask questions on the Crypto++ Users List at http://groups.google.com/forum/#!forum/cryptopp-users.
Please _do not_ ask questions at Stack Overflow. We may not be able to answer your question.
There is a wiki page with information on filing useful bug reports. If you have some time please visit http://www.cryptopp.com/wiki/Bug_Report on the wiki. The executive summary is:
* State the operating system and version (Ubutnu 17 x86_64, Windows 7 Professional x64, etc)
* State the version of the Crypto++ library (Crypto++ 7.0, Master, etc)
* State how you built the library (Makefile, Cmake, distro, etc)
* Show a typical command line (the output of the compiler for cryptlib.cpp)
* Show the link command (the output of the linker for libcryptopp.so or cryptest.exe)
* Show the exact error message you are receiving (copy and paste it); or
* Clearly state the undesired behavior (and state the expected behavior)
| why there is only header files in the cryptopp packages(5.6.5.4) , where do I find .lib files ? Do I need to add lib file as an additional dependency under linker tab while running the code in visual studio? | https://api.github.com/repos/weidai11/cryptopp/issues/1045/comments | 1 | 2021-06-10T08:44:45Z | 2021-06-10T10:18:21Z | https://github.com/weidai11/cryptopp/issues/1045 | 917,080,264 | 1,045 |
[
"weidai11",
"cryptopp"
] | ### Crypto++ Issue Report
Thanks for taking the time to report an issue. Reporting issues helps us improve stability and reliability for all users, so it is a valuable contribution.
Please do not ask questions in the bug tracker. Please ask questions on the Crypto++ Users List at http://groups.google.com/forum/#!forum/cryptopp-users.
Please _do not_ ask questions at Stack Overflow. We may not be able to answer your question.
There is a wiki page with information on filing useful bug reports. If you have some time please visit http://www.cryptopp.com/wiki/Bug_Report on the wiki. The executive summary is:
* State the operating system and version (Ubutnu 17 x86_64, Windows 7 Professional x64, etc)
* State the version of the Crypto++ library (Crypto++ 7.0, Master, etc)
* State how you built the library (Makefile, Cmake, distro, etc)
* Show a typical command line (the output of the compiler for cryptlib.cpp)
* Show the link command (the output of the linker for libcryptopp.so or cryptest.exe)
* Show the exact error message you are receiving (copy and paste it); or
* Clearly state the undesired behavior (and state the expected behavior)
| I have downloaded cryptopp 5.6.5.4 packages. It worked for Visual studio 2015 . But the same application did not run in visual studio 2017. Can you please add the latest cryptopp version in nuget packages | https://api.github.com/repos/weidai11/cryptopp/issues/1044/comments | 1 | 2021-06-10T04:35:16Z | 2021-06-10T08:28:35Z | https://github.com/weidai11/cryptopp/issues/1044 | 916,884,746 | 1,044 |
[
"weidai11",
"cryptopp"
] | Its happens because use(1) pointer to IV key, that was obtained from the function(2). This(2) function return(3) a pointer to the data in a local variable(4), which was destroyed after exit from function(2).
At this moment(1), the pointer already indicates data different from the set IV key.
Code snippet:
```
using namespace CryptoPP;
SecByteBlock key(ChaCha::KEYLENGTH_MULTIPLE), iv(ChaCha::IV_LENGTH);
AutoSeededRandomPool prng;
prng.GenerateBlock(key, key.size());
prng.GenerateBlock(iv, iv.size());
const AlgorithmParameters params = MakeParameters(Name::Rounds(), 8)
(Name::IV(), ConstByteArrayParameter(iv, 8, true));
ChaCha::Encryption encryptor;
encryptor.SetKey(key, key.size(), params);
```
(1) https://github.com/weidai11/cryptopp/blob/1124a3d1fe8ac0c59acaf75f087ee4bd44a8b0bf/strciphr.cpp#L39
(2) https://github.com/weidai11/cryptopp/blob/1124a3d1fe8ac0c59acaf75f087ee4bd44a8b0bf/cryptlib.cpp#L107
(3) https://github.com/weidai11/cryptopp/blob/1124a3d1fe8ac0c59acaf75f087ee4bd44a8b0bf/cryptlib.cpp#L118
(4) https://github.com/weidai11/cryptopp/blob/1124a3d1fe8ac0c59acaf75f087ee4bd44a8b0bf/cryptlib.cpp#L109
Operating system and version: Windows 7/Windows 10. x86/64 both.
Version of the Crypto++ library: master
Built the library: CMake
| ChaCha20 IV key is not installed correctly | https://api.github.com/repos/weidai11/cryptopp/issues/1042/comments | 2 | 2021-06-05T21:26:55Z | 2023-10-02T06:55:07Z | https://github.com/weidai11/cryptopp/issues/1042 | 912,453,123 | 1,042 |
[
"weidai11",
"cryptopp"
] | closed | https://api.github.com/repos/weidai11/cryptopp/issues/1041/comments | 1 | 2021-06-04T16:27:54Z | 2021-06-04T16:33:22Z | https://github.com/weidai11/cryptopp/issues/1041 | 911,667,877 | 1,041 | |
[
"weidai11",
"cryptopp"
] | ### Crypto++ 8.6 does not pass building tests when compiled with g++ -O0 -m32
* State the operating system and version (Ubuntu 17 x86_64, Windows 7 Professional x64, etc)
```
$ uname -a
Linux rdp05 4.19.0-10-amd64 #1 SMP Debian 4.19.132-1 (2020-07-24) x86_64 GNU/Linux
$ lsb_release -a
Distributor ID: Debian
Description: Debian GNU/Linux 10 (buster)
Release: 10
Codename: buster
$ lscpu
Architecture: x86_64
CPU op-mode(s): 32-bit, 64-bit
Byte Order: Little Endian
Address sizes: 36 bits physical, 48 bits virtual
CPU(s): 4
On-line CPU(s) list: 0-3
Thread(s) per core: 1
Core(s) per socket: 4
Socket(s): 1
NUMA node(s): 1
Vendor ID: GenuineIntel
CPU family: 6
Model: 58
Model name: Intel(R) Core(TM) i5-3470 CPU @ 3.20GHz
Stepping: 9
CPU MHz: 2892.725
CPU max MHz: 3200.0000
CPU min MHz: 1600.0000
BogoMIPS: 6385.53
Virtualization: VT-x
L1d cache: 32K
L1i cache: 32K
L2 cache: 256K
L3 cache: 6144K
NUMA node0 CPU(s): 0-3
Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx rdtscp lm constant_tsc arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc cpuid aperfmperf pni pclmulqdq dtes64 monitor ds_cpl vmx smx est tm2 ssse3 cx16 xtpr pdcm pcid sse4_1 sse4_2 x2apic popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm cpuid_fault epb pti tpr_shadow vnmi flexpriority ept vpid fsgsbase smep erms xsaveopt dtherm arat pln pts
```
* Version of GCC
```
$ g++ -v
Using built-in specs.
COLLECT_GCC=g++
COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/8/lto-wrapper
OFFLOAD_TARGET_NAMES=nvptx-none
OFFLOAD_TARGET_DEFAULT=1
Target: x86_64-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Debian 8.3.0-6' --with-bugurl=file:///usr/share/doc/gcc-8/README.Bugs --enable-languages=c,ada,c++,go,brig,d,fortran,objc,obj-c++ --prefix=/usr --with-gcc-major-version-only --program-suffix=-8 --program-prefix=x86_64-linux-gnu- --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --libdir=/usr/lib --enable-nls --enable-bootstrap --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --with-default-libstdcxx-abi=new --enable-gnu-unique-object --disable-vtable-verify --enable-libmpx --enable-plugin --enable-default-pie --with-system-zlib --with-target-system-zlib --enable-objc-gc=auto --enable-multiarch --disable-werror --with-arch-32=i686 --with-abi=m64 --with-multilib-list=m32,m64,mx32 --enable-multilib --with-tune=generic --enable-offload-targets=nvptx-none --without-cuda-driver --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu
Thread model: posix
gcc version 8.3.0 (Debian 8.3.0-6)
```
* State the version of the Crypto++ library (Crypto++ 7.0, Master, etc)
I'm using Crypto++ 8.5 (https://github.com/weidai11/cryptopp/commit/d4975aa6081947b3bbdd73818bc9825550574dd3))
* State how you built the library (Makefile, Cmake, distro, etc)
The commands I use to build and compile the library are:
```
$ export CXXFLAGS="-DNDEBUG -g2 -O0"
$ export CXX="g++ -m32"
$ make -j 4
$ make test (<- this one fails)
```
* Show the exact error message you are receiving (copy and paste it)
```
$ make test
[...]
Oops! Not all tests passed.
Seed used was 1621409054
```
```
$ ./cryptext.exe tv all
[...]
Tests complete. Total tests = 11260. Failed tests = 23.
SOME TESTS FAILED!
```
```
$ ./cryptext.exe tv lea
[...]
Test FAILED.
Skipping to next test.
Tests complete. Total tests = 90. Failed tests = 21.
SOME TESTS FAILED!
```
* Clearly state the undesired behavior (and state the expected behavior)
There are several tests that fail when I build and compile the library with g++ -m32 -O0. Surprisingly enough, there are no problems, that is, all the tests are passing, when I build and compile it with any other optimization flag g++ -m32 -O{1|2|3|s|fast}. As stated above, I'm using a x86_64 machine and the target is x86_32 (-m32).
| Crypto++ 8.6 fails tests with g++ -O0 -m32 (GCC version 8.3.0) | https://api.github.com/repos/weidai11/cryptopp/issues/1040/comments | 6 | 2021-05-19T07:34:52Z | 2021-05-20T03:29:26Z | https://github.com/weidai11/cryptopp/issues/1040 | 895,099,563 | 1,040 |
[
"weidai11",
"cryptopp"
] | Segmentation fault occurred during the initialization of this line of code
`CryptoPP::AutoSeededX917RNG<CryptoPP::DES_EDE3> rng;`.
Any pointer?
```
Thread 1 received signal SIGSEGV, Segmentation fault.
0x00007ff823355419 in ?? () from C:\msys64\mingw64\bin\libcryptopp.dll
(gdb) bt
#0 0x00007ff823355419 in ?? () from C:\msys64\mingw64\bin\libcryptopp.dll
#1 0x00007ff823357669 in ?? () from C:\msys64\mingw64\bin\libcryptopp.dll
#2 0x00007ff8233cbcdf in ?? () from C:\msys64\mingw64\bin\libcryptopp.dll
#3 0x00007ff8232ebc53 in ?? () from C:\msys64\mingw64\bin\libcryptopp.dll
#4 0x00007ff8232ebe70 in ?? () from C:\msys64\mingw64\bin\libcryptopp.dll
#5 0x00007ff6336b132b in CryptoPP::HashTransformation::CalculateDigest (
this=0xb6f71fe598,
digest=0x1d88d69ec30 "\r▒\272\r▒\272\r▒\272\r▒\272\r▒\272\r▒\272\r▒\272\r𭺫\253\253\253\253\253\253\253\253\253\253\253\253", <incomplete sequence \253>,
input=0x1d88d69ebe0 "▒h▒▒6▒J▒▒▒䱀\t~\374\256~ǥ}|\245▒H▒▒%sXS▒▒\253\253\253\253\253\253\253\253\253\253\253\253", <incomplete sequence \253>, length=32)
at C:/msys64/mingw64/include/cryptopp/cryptlib.h:1189
#6 0x00007ff6336e0350 in CryptoPP::HKDF<CryptoPP::SHA256>::DeriveKey (
this=0xb6f71fe728,
derived=0x1d88d69eb90 "\r▒\272\r▒\272\r▒\272\r▒\272\r▒\272\r▒\272\r▒\272\r𭺫\253\253\253\253\253\253\253\253\253\253\253\253", <incomplete sequence \253>, derivedLen=32,
secret=0x1d88d69ebe0 "▒h▒▒6▒J▒▒▒䱀\t~\374\256~ǥ}|\245▒H▒▒%sXS▒▒\253\253\253\253\253\253\253\253\253\253\253\253", <incomplete sequence \253>,
secretLen=32,
salt=0x7ff6338340c0 <CryptoPP::HKDF<CryptoPP::SHA256>::GetNullVector()::s_NullVector> "", saltLen=32, info=0xb6f71fe730 "X9.17 key generation",
infoLen=20) at C:/msys64/mingw64/include/cryptopp/hkdf.h:147
#7 0x00007ff6336b0827 in CryptoPP::AutoSeededX917RNG<CryptoPP::DES_EDE3>::Reseed (this=0xb6f71fea70, blocking=false, input=0x0, length=0)
at C:/msys64/mingw64/include/cryptopp/osrng.h:259
#8 0x00007ff6336b09a8 in CryptoPP::AutoSeededX917RNG<CryptoPP::DES_EDE3>::AutoSeededX917RNG (this=0xb6f71fea70, blocking=false, autoSeed=true)
at C:/msys64/mingw64/include/cryptopp/osrng.h:206
#9 0x00007ff6334e02a1 in CClientCreditsList::CreateKeyPair (
this=0x1d88d69ea50)
at C:/msys64/home/eli/git/amule/src/ClientCreditsList.cpp:254
#10 0x00007ff6334e087e in CClientCreditsList::InitalizeCrypting (
this=0x1d88d69ea50)
at C:/msys64/home/eli/git/amule/src/ClientCreditsList.cpp:309
#11 0x00007ff6334dec16 in CClientCreditsList::CClientCreditsList (
this=0x1d88d69ea50)
at C:/msys64/home/eli/git/amule/src/ClientCreditsList.cpp:54
#12 0x00007ff6334c2fcf in CamuleApp::OnInit (this=0x1d88ad3b830)
at C:/msys64/home/eli/git/amule/src/amule.cpp:513
#13 0x00007ff63355d898 in CamuleGuiApp::OnInit (this=0x1d88ad3b830)
at C:/msys64/home/eli/git/amule/src/amule-gui.cpp:288
#14 0x00007ff6336988d2 in wxAppConsoleBase::CallOnInit (this=0x1d88ad3b830)
at C:/msys64/mingw64/include/wx-3.0/wx/app.h:93
#15 0x000000006faff4a2 in wxbase30u_gcc_custom!_Z11wxEntryRealRiPPw ()
from C:\msys64\mingw64\bin\wxbase30u_gcc_custom.dll
#16 0x000000006e74a051 in wxmsw30u_core_gcc_custom!_Z7wxEntryP11HINSTANCE__S0_Pci () from C:\msys64\mingw64\bin\wxmsw30u_core_gcc_custom.dll
#17 0x00007ff63355cce7 in WinMain (hInstance=0x7ff633450000,
hPrevInstance=0x0, nCmdShow=10)
at C:/msys64/home/eli/git/amule/src/amule-gui.cpp:95
#18 0x00007ff6337a1a12 in main (flags=<optimized out>,
cmdline=<optimized out>, inst=<optimized out>)
at C:/_/M/mingw-w64-crt-git/src/mingw-w64/mingw-w64-crt/crt/crt0_c.c:18
#19 0x00007ff6334513c1 in __tmainCRTStartup ()
at C:/_/M/mingw-w64-crt-git/src/mingw-w64/mingw-w64-crt/crt/crtexe.c:321
#20 0x00007ff6334514d6 in WinMainCRTStartup ()
at C:/_/M/mingw-w64-crt-git/src/mingw-w64/mingw-w64-crt/crt/crtexe.c:176
(gdb)
``` | segmentation fault when initializing AutoSeededX917RNG | https://api.github.com/repos/weidai11/cryptopp/issues/1038/comments | 1 | 2021-05-09T08:37:29Z | 2021-05-09T23:08:56Z | https://github.com/weidai11/cryptopp/issues/1038 | 882,008,921 | 1,038 |
[
"weidai11",
"cryptopp"
] | I updated Cryptopp from version 8.0 to 8.5 and some of my tests failed. The result of Speck/Simon 128 with OFB/OCS modes changed.
There's no tests of theses modes in the Speck/Simon tests files. | Changes in Speck/Simon 128 with OFB/OCS mode from Cryptopp8.0 to Cryptopp8.5 | https://api.github.com/repos/weidai11/cryptopp/issues/1037/comments | 1 | 2021-05-06T08:31:20Z | 2023-06-25T23:17:35Z | https://github.com/weidai11/cryptopp/issues/1037 | 877,237,662 | 1,037 |
[
"weidai11",
"cryptopp"
] | Clarify "GPL3" mentioned in `gf2n_simd.cpp`
The file header states that:
> // optimization so the IACR paper is useful. However, the code is GPL3
> // and toxic for some users of the library...
And some lawyers think the cryptopp code is GPL3...
Maybe wording change would be helpful, like
> However, the **IACR** code ... and toxic for some users of the library, **so it was not used here**` | License wording problem | https://api.github.com/repos/weidai11/cryptopp/issues/1036/comments | 1 | 2021-04-30T07:09:08Z | 2021-04-30T13:20:18Z | https://github.com/weidai11/cryptopp/issues/1036 | 872,098,734 | 1,036 |
[
"weidai11",
"cryptopp"
] | `-Wa,-q` enlists the use of the LLVM/Clang Integrated Assembler. It is needed because Apple provides an old version of GAS. To assemble SSE4 and above we need to use LLVM/Clang Integrated Assembler.
Currently the makefile has some gyrations to detect the need/use of `-Wa,-q`. It is not very precise because it misses GCC's built by the user and GCC's built by other port projects.
```Makefile
# Various Port compilers on OS X
MACPORTS_COMPILER := $(shell $(CXX) --version 2>/dev/null | $(GREP) -i -c "macports")
HOMEBREW_COMPILER := $(shell $(CXX) --version 2>/dev/null | $(GREP) -i -c "homebrew")
ifeq ($(GCC_COMPILER)$(OSXPORT_COMPILER)$(IS_PPC32)$(IS_PPC64),1100)
ifeq ($(findstring -Wa,-q,$(CXXFLAGS)),)
CRYPTOPP_CXXFLAGS += -Wa,-q
endif
endif
```
We can simplify the makefile by using a feature test:
```Makefile
# Tell MacPorts and Homebrew GCC to use Clang integrated assembler
# Intel-based Macs. http://github.com/weidai11/cryptopp/issues/190
ifneq ($(IS_DARWIN),0)
ifeq ($(findstring -Wa,-q,$(CXXFLAGS)),)
TPROG = TestPrograms/test_cxx.cpp
TOPT = -Wa,-q
HAVE_OPT = $(shell $(TCOMMAND) 2>&1 | wc -w)
ifeq ($(strip $(HAVE_OPT)),0)
TEXTRA = -Wa,-q
CRYPTOPP_CXXFLAGS += -Wa,-q
endif
endif
endif
```
This report will track the addition of the feature test. | Add feature test for -Wa,-q on Intel-based Macs with GCC | https://api.github.com/repos/weidai11/cryptopp/issues/1033/comments | 1 | 2021-04-26T18:05:59Z | 2021-04-26T19:42:10Z | https://github.com/weidai11/cryptopp/issues/1033 | 867,980,911 | 1,033 |
[
"weidai11",
"cryptopp"
] | ### Crypto++ Issue Report
When updating the [CryFS](https://github.com/cryfs/cryfs) dependency from CryptoPP 8.2 to 8.5, I get a compiler error on Clang 7. It only happens on Clang 7 and only happens when optimizations are enabled.
Error message:
```
Alias must point to a definition
void (%"class.CryptoPP::IteratedHashBase"*)* @_ZN8CryptoPP16IteratedHashBaseImNS_18HashTransformationEED1Ev
Alias must point to a definition
void (%"class.CryptoPP::IteratedHashBase.266"*)* @_ZN8CryptoPP16IteratedHashBaseIjNS_18HashTransformationEED1Ev
LLVM ERROR: Broken module found, compilation aborted!
clang: error: linker command failed with exit code 1 (use -v to see invocation)
ninja: build stopped: subcommand failed.
```
Full build log: https://pastebin.com/BpF3CZP9
CryptoPP version: 8.5
OS: Happens on both Ubuntu 18.04 and 20.04
Compiler: Error happens on Clang 7. Newer versions of Clang don't trigger the error and neither GCC 7 or later. I haven't tested older Clang or GCC versions.
Build settings: Happens with build settings `RelWithDebInfo` and `Release`. Building with `Debug` doesn't trigger the error.
In case this doesn't repro when building only CryptoPP, the steps to repro would be to take the https://github.com/cryfs/cryfs/tree/feature/cryptopp850 branch from CryFS (which is the branch with the CryptoPP upgrade) and build CryFS. | "Broken module found" on Clang 7 | https://api.github.com/repos/weidai11/cryptopp/issues/1031/comments | 6 | 2021-04-25T19:43:18Z | 2021-05-17T07:39:16Z | https://github.com/weidai11/cryptopp/issues/1031 | 867,096,676 | 1,031 |
[
"weidai11",
"cryptopp"
] | ### Crypto++ Issue Report
Could you please reorganize the source code layout so that the core library source files have their own folder? It appears the source code is dumped in with test programs, benchmark programs, and other things that I'm not sure what they are.
Some people want to be able to build the files as part of their project rather than using your provided project files. Shouldn't this be easy to do?
Also, I tried building the library using cryptdll.vcproj that was inside vs2005.zip (using Visual Studio 2019). I got 907 warnings and one error. | Source code organization | https://api.github.com/repos/weidai11/cryptopp/issues/1028/comments | 1 | 2021-04-23T17:05:56Z | 2021-04-23T17:21:48Z | https://github.com/weidai11/cryptopp/issues/1028 | 866,287,552 | 1,028 |
[
"weidai11",
"cryptopp"
] | We have most ciphers from Source Korea, but we are missing LSH-256 and LSH-512.
This issue will track the addition of LSH-256 and LSH-512. | Add LSH-256 and LSH-512 hash functions | https://api.github.com/repos/weidai11/cryptopp/issues/1025/comments | 1 | 2021-04-15T06:02:45Z | 2021-04-16T07:24:38Z | https://github.com/weidai11/cryptopp/issues/1025 | 858,521,355 | 1,025 |
[
"weidai11",
"cryptopp"
] | See https://github.com/noloader/cryptopp-cmake/issues/66
I copied the cryptopp project into a subdirectory of my own project and `add_subdirectory` to crypto++ to use it as a dependency using `cryptopp-cmake`. Probably a somewhat common setup.
When trying to build my project, I got weird errors with missing `test_....cxx` files when trying to build my project. Turns out, this is because the `TestPrograms/**.cxx` files were missing from my repository because the crypto++ .gitignore (https://github.com/weidai11/cryptopp/blob/master/.gitignore#L6 ) prevented them from being added.
I assume other people will run into this issue as well and it's somewhat hard to figure out. Is it possible to remove `*.cxx` from the crypto++ `.gitignore`? | Remove `*.cxx` from `.gitignore` | https://api.github.com/repos/weidai11/cryptopp/issues/1024/comments | 1 | 2021-04-04T17:55:40Z | 2021-04-20T08:49:00Z | https://github.com/weidai11/cryptopp/issues/1024 | 849,926,894 | 1,024 |
[
"weidai11",
"cryptopp"
] | I was testing PKCS#1 v1.5 signature verification as implemented in cryptopp and noticed it rejects valid signature whose encoded message uses an implicit NULL parameter for hash algorithm (where digestAlgorithm ANS.1 der encoded does not have NULL parameter TLV; that is, `0x0500` is absent).
According to [RFC4055, pg.5](https://tools.ietf.org/html/rfc4055) and [RFC8017, pg. 64](https://tools.ietf.org/html/rfc8017), for SHA-1, and the SHA-2 family, the algorithm parameter has to be NULL and both explicit NULL parameter and implicit NULL parameter (ie, absent NULL parameter) are considered to be legal and equivalent. However, this implementation does not accept a valid PKCS input with implicit NULL parameter.
**Reference notation and concrete values**
* `N`: public modulus
* `|N|`: length of public modulus
* `d`: private exponent
* `e`: public exponent
* `H`: hash function
* `m`: message
* `I`: to-be-singed RSA PKCS#1 v1.5 signature scheme input structure
* `S`: signature value obtained by `I^d mod N`
```
N = 0xE932AC92252F585B3A80A4DD76A897C8B7652952FE788F6EC8DD640587A1EE5647670A8AD4C2BE0F9FA6E49C605ADF77B5174230AF7BD50E5D6D6D6D28CCF0A886A514CC72E51D209CC772A52EF419F6A953F3135929588EBE9B351FCA61CED78F346FE00DBB6306E5C2A4C6DFC3779AF85AB417371CF34D8387B9B30AE46D7A5FF5A655B8D8455F1B94AE736989D60A6F2FD5CADBFFBD504C5A756A2E6BB5CECC13BCA7503F6DF8B52ACE5C410997E98809DB4DC30D943DE4E812A47553DCE54844A78E36401D13F77DC650619FED88D8B3926E3D8E319C80C744779AC5D6ABE252896950917476ECE5E8FC27D5F053D6018D91B502C4787558A002B9283DA7
|N| = 256 bytes
d = 0x009b771db6c374e59227006de8f9c5ba85cf98c63754505f9f30939803afc1498eda44b1b1e32c7eb51519edbd9591ea4fce0f8175ca528e09939e48f37088a07059c36332f74368c06884f718c9f8114f1b8d4cb790c63b09d46778bfdc41348fb4cd9feab3d24204992c6dd9ea824fbca591cd64cf68a233ad0526775c9848fafa31528177e1f8df9181a8b945081106fd58bd3d73799b229575c4f3b29101a03ee1f05472b3615784d9244ce0ed639c77e8e212ab52abddf4a928224b6b6f74b7114786dd6071bd9113d7870c6b52c0bc8b9c102cfe321dac357e030ed6c580040ca41c13d6b4967811807ef2a225983ea9f88d67faa42620f42a4f5bdbe03b
e = 3
H = SHA-256 (OID = 0x608648016503040201)
m = "hello world!"
I = 0x0001ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00302f300b060960864801650304020104207509e5bda0c762d2bac7f90d758b5b2263fa01ccbc542ab5e3df163be08e6ca9
S = 0xa0073057133ff3758e7e111b4d7441f1d8cbe4b2dd5ee4316a14264290dee5ed7f175716639bd9bb43a14e4f9fcb9e84dedd35e2205caac04828b2c053f68176d971ea88534dd2eeec903043c3469fc69c206b2a8694fd262488441ed8852280c3d4994e9d42bd1d575c7024095f1a20665925c2175e089c0d731471f6cc145404edf5559fd2276e45e448086f71c78d0cc6628fad394a34e51e8c10bc39bfe09ed2f5f742cc68bee899d0a41e4c75b7b80afd1c321d89ccd9fe8197c44624d91cc935dfa48de3c201099b5b417be748aef29248527e8bbb173cab76b48478d4177b338fe1f1244e64d7d23f07add560d5ad50b68d6649a49d7bc3db686daaa7
```
| RSA PKCS#1 v1.5 signature scheme verification incompatibility issue | https://api.github.com/repos/weidai11/cryptopp/issues/1023/comments | 1 | 2021-04-01T06:02:59Z | 2021-04-05T08:17:01Z | https://github.com/weidai11/cryptopp/issues/1023 | 848,007,528 | 1,023 |
[
"weidai11",
"cryptopp"
] | Hi, just thought I'd notify - it looks like cryptopp.com is down, maybe a DNS issue? | cryptopp.com website is down | https://api.github.com/repos/weidai11/cryptopp/issues/1022/comments | 9 | 2021-03-29T10:23:00Z | 2021-03-31T21:44:51Z | https://github.com/weidai11/cryptopp/issues/1022 | 843,226,234 | 1,022 |
[
"weidai11",
"cryptopp"
] | I am trying to compile library for iOS as mentioned on link https://www.cryptopp.com/wiki/IOS_(Command_Line)
It works as expected when I use `IOS_SDK=iPhoneOS IOS_CPU=arm64 source ./setenv-ios.sh`, but when I try to build for simulator as well as for armv7 then it gives error
```text
$ IOS_SDK=iPhoneSimulator IOS_CPU=i386 source TestScripts/setenv-ios.sh
Configuring for iPhoneSimulator (i386)
XCODE_TOOLCHAIN: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/
IOS_SDK: iPhoneSimulator
IOS_CPU: i386
IOS_SYSROOT: /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk
IOS_CXXFLAGS: -arch i386 -miphonesimulator-version-min=6 -DCRYPTOPP_DISABLE_ASM
*******************************************************************************
It looks the the environment is set correctly. Your next step is build
the library with 'make -f GNUmakefile-cross'.
*******************************************************************************
make -f GNUmakefile-cross
Here's what we found... IS_X86: 1, IS_X64: 0, IS_ARM32: 0, IS_ARMV8: 0
...
clang++ -o cryptest.exe -DNDEBUG -g2 -O3 -fPIC -pipe -Wall -arch i386 -miphonesi
mulator-version-min=6 -DCRYPTOPP_DISABLE_ASM -stdlib=libc++ --sysroot "/Applicat
ions/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/S
DKs/iPhoneSimulator14.4.sdk" adhoc.o test.o bench1.o bench2.o bench3.o datatest.
o dlltest.o fipsalgt.o validat0.o validat1.o validat2.o validat3.o validat4.o va
lidat5.o validat6.o validat7.o validat8.o validat9.o validat10.o regtest1.o regt
est2.o regtest3.o regtest4.o ./libcryptopp.a
ld: warning: ignoring file adhoc.o, building for iOS Simulator-i386 but attempting to link with file built for unknown-arm64
ld: warning: ignoring file test.o, building for iOS Simulator-i386 but attempting to link with file built for unknown-arm64
ld: warning: ignoring file bench1.o, building for iOS Simulator-i386 but attempting to link with file built for unknown-arm64
ld: warning: ignoring file bench2.o, building for iOS Simulator-i386 but attempting to link with file built for unknown-arm64
ld: warning: ignoring file datatest.o, building for iOS Simulator-i386 but attempting to link with file built for unknown-arm64
ld: warning: ignoring file fipsalgt.o, building for iOS Simulator-i386 but attempting to link with file built for unknown-arm64
ld: warning: ignoring file dlltest.o, building for iOS Simulator-i386 but attempting to link with file built for unknown-arm64
ld: warning: ignoring file validat1.o, building for iOS Simulator-i386 but attempting to link with file built for unknown-arm64
ld: warning: ignoring file validat2.o, building for iOS Simulator-i386 but attempting to link with file built for unknown-arm64
ld: warning: ignoring file validat3.o, building for iOS Simulator-i386 but attempting to link with file built for unknown-arm64
ld: warning: ignoring file bench3.o, building for iOS Simulator-i386 but attempting to link with file built for unknown-arm64
ld: warning: ignoring file validat0.o, building for iOS Simulator-i386 but attempting to link with file built for unknown-arm64
ld: warning: ignoring file validat4.o, building for iOS Simulator-i386 but attempting to link with file built for unknown-arm64
ld: warning: ignoring file validat5.o, building for iOS Simulator-i386 but attempting to link with file built for unknown-arm64
ld: warning: ignoring file validat6.o, building for iOS Simulator-i386 but attempting to link with file built for unknown-arm64
ld: warning: ignoring file validat7.o, building for iOS Simulator-i386 but attempting to link with file built for unknown-arm64
ld: warning: ignoring file validat10.o, building for iOS Simulator-i386 but attempting to link with file built for unknown-arm64
ld: warning: ignoring file regtest2.o, building for iOS Simulator-i386 but attempting to link with file built for unknown-arm64
ld: warning: ignoring file regtest3.o, building for iOS Simulator-i386 but attempting to link with file built for unknown-arm64
ld: warning: ignoring file regtest4.o, building for iOS Simulator-i386 but attempting to link with file built for unknown-arm64
ld: warning: ignoring file validat8.o, building for iOS Simulator-i386 but attempting to link with file built for unknown-arm64
ld: warning: ignoring file validat9.o, building for iOS Simulator-i386 but attempting to link with file built for unknown-arm64
ld: warning: ignoring file regtest1.o, building for iOS Simulator-i386 but attempting to link with file built for unknown-arm64
Undefined symbols for architecture i386:
"_main", referenced from:
implicit entry/start for main executable
ld: symbol(s) not found for architecture i386
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make: *** [cryptest.exe] Error 1
``` | Issue while compiling library when IOS_SDK=iPhoneSimulator | https://api.github.com/repos/weidai11/cryptopp/issues/1021/comments | 2 | 2021-03-19T09:21:23Z | 2021-03-22T03:34:56Z | https://github.com/weidai11/cryptopp/issues/1021 | 835,744,843 | 1,021 |
[
"weidai11",
"cryptopp"
] | `xorbuf` in `misc.cpp` has code to perform xor's on arbitrary buffers. For example:
```c++
void xorbuf(byte *output, const byte *input, const byte *mask, size_t count)
{
size_t i=0;
if (IsAligned<word32>(output) && IsAligned<word32>(input) && IsAligned<word32>(mask))
{
if (IsAligned<word64>(output) && IsAligned<word64>(input) && IsAligned<word64>(mask))
{
for (i=0; i<count/8; i++)
((word64*)(void*)output)[i] = ((word64*)(void*)input)[i] ^ ((word64*)(void*)mask)[i];
count -= 8*i;
if (!count)
return;
output += 8*i;
input += 8*i;
mask += 8*i;
}
for (i=0; i<count/4; i++)
((word32*)(void*)output)[i] = ((word32*)(void*)input)[i] ^ ((word32*)(void*)mask)[i];
count -= 4*i;
if (!count)
return;
output += 4*i;
input += 4*i;
mask += 4*i;
}
for (i=0; i<count; i++)
output[i] = input[i] ^ mask[i];
}
```
The casting is kind of shady nowadays. It could draw the ire of the compiler and earn us a demerit.
In a simpler form, this is closer to what we should be doing. It avoids the cast and honors alignment. Compilers nowadays will know when they can elide the `memcpy` and simply perform the xor.
```c++
void xorbuf(byte *output, const byte *input, const byte *mask, size_t count)
{
while (count >= 4)
{
word32 b, m, r;
memcpy(&b, input, 4); memcpy(&m, mask, 4);
r = b ^ m;
memcpy(output, &r, 4);
output += 4; input += 4; mask += 4; count -= 4;
}
for (size_t i=0; i<count; i++)
output[i] = input[i] ^ mask[i];
}
```
In fact, we can add some architectural speed-ups to make things run even faster without the casting. The code below runs 0.1 cpb to 0.4 cpb faster on x86_64. An x86_64 machine will enable the `__SSE2__` code path without arch options.
```c++
void xorbuf(byte *buf, const byte *mask, size_t count)
{
#if defined(__AVX__)
while (count >= 32)
{
__m256i b = _mm256_loadu_si256(reinterpret_cast<const __m256i*>(buf));
__m256i m = _mm256_loadu_si256(reinterpret_cast<const __m256i*>(mask));
_mm256_storeu_si256(reinterpret_cast<__m256i*>(buf), _mm256_castps_si256(
_mm256_xor_ps(_mm256_castsi256_ps(b), _mm256_castsi256_ps(m))));
buf += 32; mask += 32; count -= 32;
}
#endif
#if defined(__SSE2__)
while (count >= 16)
{
__m128i b = _mm_loadu_si128(reinterpret_cast<const __m128i*>(buf));
__m128i m = _mm_loadu_si128(reinterpret_cast<const __m128i*>(mask));
_mm_storeu_si128(reinterpret_cast<__m128i*>(buf), _mm_castps_si128(
_mm_xor_ps(_mm_castsi128_ps(b), _mm_castsi128_ps(m))));
buf += 16; mask += 16; count -= 16;
}
if (count == 0) return;
#endif
while (count >= 4)
{
word32 r, b, m;
memcpy(&b, buf, 4); memcpy(&m, mask, 4);
r = b ^ m;
memcpy(buf, &r, 4);
buf += 4; mask += 4; count -= 4;
}
for (size_t i=0; i<count; i++)
buf[i] ^= mask[i];
}
```
This bug report will track the cut-over.
| Move away from integral casts in xorbuf | https://api.github.com/repos/weidai11/cryptopp/issues/1020/comments | 0 | 2021-03-17T04:18:48Z | 2021-03-17T21:41:27Z | https://github.com/weidai11/cryptopp/issues/1020 | 833,385,504 | 1,020 |
[
"weidai11",
"cryptopp"
] | This issue surfaced while improving test coverage in `cryptest-ios.sh` by adding code generation tests. It appears iOS ARMv7 builds do not engage NEON. It looks like the defines do not activate `CRYPTOPP_ARM_NEON_AVAILABLE` because `CRYPTOPP_APPLE_CLANG_VERSION` is missing from the checks (and Clang does not define the expected macros, like `__ARM_NEON`). | iOS ARMv7 builds do not engage NEON | https://api.github.com/repos/weidai11/cryptopp/issues/1018/comments | 1 | 2021-03-11T18:35:12Z | 2021-03-11T18:37:29Z | https://github.com/weidai11/cryptopp/issues/1018 | 829,420,095 | 1,018 |
[
"weidai11",
"cryptopp"
] | I am compiling Crypto++ with GCC 11 and `-std=gnu++20` and the compilation raises many warnings like the following one:
```
asn.h:494:37: warning: bitwise operation between different enumeration types 'CryptoPP::ASNTag' and
'CryptoPP::ASNIdFlag' is deprecated [-Wdeprecated-enum-enum-conversion]
494 | enum {DefaultTag = SEQUENCE | CONSTRUCTED};
| ~~~~~~~~~^~~~~~~~~~~~~
```
From the GCC documentation (https://gcc.gnu.org/onlinedocs/gcc/C_002b_002b-Dialect-Options.html#C_002b_002b-Dialect-Options)
```
-Wno-deprecated-enum-enum-conversion (C++ and Objective-C++ only)
Disable the warning about the case when the usual arithmetic conversions are applied on operands where
one is of enumeration type and the other is of a different enumeration type. This conversion was
deprecated in C++20. For example:
enum E1 { e };
enum E2 { f };
int k = f - e;
-Wdeprecated-enum-enum-conversion is enabled by default with -std=gnu++20. In pre-C++20 dialects, this
warning can be enabled by -Wenum-conversion.
```
Requested information:
* OS: Ubuntu 20.04
* Crypto++ version 8.5
* Build system: gnu make
* Compile command (I don't think the LTO options are of any interest):
```
g++ -fPIC -pthread -pipe -DNDEBUG -O3 -flto -ffat-lto-objects -fuse-linker-plugin -std=gnu++20 -fno-working-directory -ggdb3 -c cryptlib.cpp
```
* Link command
```
g++ -o cryptest.exe -fPIC -pthread -pipe -DNDEBUG -O3 -flto -ffat-lto-objects -fuse-linker-plugin -std=gnu++20 -fno-working-directory -ggdb3 adhoc.o test.o bench1.o bench2.o bench3.o datatest.o dlltest.o fipsalgt.o validat0.o validat1.o validat2.o validat3.o validat4.o validat5.o validat6.o validat7.o validat8.o validat9.o validat10.o regtest1.o regtest2.o regtest3.o regtest4.o ./libcryptopp.a -DNDEBUG -O3 -Wl,-flto -ffat-lto-objects -fuse-linker-plugin -fno-working-directory -ggdb3
```
| [C++20] -Wdeprecated-enum-enum-conversion raises many warnings with -std=gnu++20 | https://api.github.com/repos/weidai11/cryptopp/issues/1016/comments | 2 | 2021-03-09T16:59:52Z | 2021-03-10T04:37:53Z | https://github.com/weidai11/cryptopp/issues/1016 | 826,268,275 | 1,016 |
[
"weidai11",
"cryptopp"
] | `config_asm.h` has a lot of little hacks from supporting old Android NDKs, like r10. It has goodness like this:
```
#if defined(__ANDROID__) || defined(ANDROID)
# undef CRYPTOPP_ARM_ACLE_HEADER
#endif
```
The ACLE hack is a workarounds from old NDKs that depended on GCC 4.8 and 4.9. The old GCC sources did not include the header.
Another hack from the old days is this. It dates back to a time when the hardware compatibility list did not specify advanced ISAs and the toolchain left out the support.
```
#if defined(__ANDROID__) || defined(ANDROID)
# undef CRYPTOPP_ARM_CRC32_AVAILABLE
# undef CRYPTOPP_ARM_PMULL_AVAILABLE
# undef CRYPTOPP_ARM_AES_AVAILABLE
# undef CRYPTOPP_ARM_SHA1_AVAILABLE
# undef CRYPTOPP_ARM_SHA2_AVAILABLE
#endif
```
Nowadays, the latest NDKs support the ISAs. We can now remove the hacks since we don't really have a NDK r10 use case any longer.
The one sharp edge is, some 3rd party build systems will need to pass architecture flags to certain source files, like `-maes` or `-march=armv8-a+crypto` for `rijndael_simd.cpp`. If the 3rd party build system does not use an arch flag, then it will result in a failed compile. For that problem, we will provide a define to disable advanced ISAs when building with `Android.mk` until we sort out the details. (The define is `CRYPTOPP_DISABLE_ANDROID_ADVANCED_ISA`).
This bug report will track the change.
| Remove old Android workarounds from config_asm.h | https://api.github.com/repos/weidai11/cryptopp/issues/1015/comments | 0 | 2021-03-09T14:35:41Z | 2021-03-09T20:18:53Z | https://github.com/weidai11/cryptopp/issues/1015 | 826,026,716 | 1,015 |
[
"weidai11",
"cryptopp"
] | Currently our `setenv-*.sh` files, like `setenv-ios.sh`, do not set `CPPFLAGS`, `CXXFLAGS` and `LDFLAGS`. Instead they set prefixed flags like `IOS_CPPFLAGS`, `IOS_CXXFLAGS` and `IOS_LDFLAGS`. `GNUmakefile-cross` then uses the prefixed flags to build the library.
@mouse07410 encountered a bad interaction where artifacts from the host environment cross-pollinated into the cross-compile environment. It resulted in a failed compile.
The fix is to actually set the variables in the `setenv-*.sh` scripts, and modify `GNUmakefile-cross` to use those variables. It will avoid host environment cross-pollination by setting all variables to a known state.
This bug report will track the change. | Make setenv-*.sh set CPPFLAGS, CXXFLAGS and LDFLAGS | https://api.github.com/repos/weidai11/cryptopp/issues/1014/comments | 0 | 2021-03-09T13:40:39Z | 2021-03-09T14:46:16Z | https://github.com/weidai11/cryptopp/issues/1014 | 825,947,082 | 1,014 |
[
"weidai11",
"cryptopp"
] | I am a total beginner in crypto so I can definitely be wrong. I was exploring the source code to understand how to properly use the library and RFC6979 to sign a buffer and I noticed something in the file bench3.cpp
https://github.com/weidai11/cryptopp/blob/1a5346c6c797b585dbc761c0d5c93c0073dee843/bench3.cpp#L429
It is written
ECDSA_RFC6979<ECP, SHA1>::Verifier spub2(spriv);
But it feels to me it should be spriv2 instead of spriv.
Am I missing something ?
| [Bug] Possible copy-paste error in bench3.cpp:429 | https://api.github.com/repos/weidai11/cryptopp/issues/1013/comments | 1 | 2021-03-05T03:18:18Z | 2021-03-05T05:08:29Z | https://github.com/weidai11/cryptopp/issues/1013 | 822,703,087 | 1,013 |
[
"weidai11",
"cryptopp"
] | I'm not a `cryptopp` user, but I'm trying to make it compile on `aarch64-darwin` under Nix. #950 seems to suggest that I should run `configure.sh` and that works wonderfully for `aarch64-darwin`, but makes `aarch64-linux` fail:
```
In file included from crc_simd.cpp:23:
/nix/store/jqr77rvd36b6pa2c6pbss0z8f2pfnkxc-gcc-9.3.0/lib/gcc/aarch64-unknown-linux-gnu/9.3.0/include/arm_acle.h: In function 'bool CryptoPP::CPU_ProbeCRC32()':
/nix/store/jqr77rvd36b6pa2c6pbss0z8f2pfnkxc-gcc-9.3.0/lib/gcc/aarch64-unknown-linux-gnu/9.3.0/include/arm_acle.h:77:1: error: inlining failed in call to always_inline 'uint32_t __crc32w(uint32_t, uint32_t)': target specific option mismatch
77 | __crc32w (uint32_t __a, uint32_t __b)
| ^~~~~~~~
crc_simd.cpp:100:21: note: called from here
100 | w = __crc32w(w,x);
| ~~~~~~~~^~~~~
In file included from crc_simd.cpp:23:
/nix/store/jqr77rvd36b6pa2c6pbss0z8f2pfnkxc-gcc-9.3.0/lib/gcc/aarch64-unknown-linux-gnu/9.3.0/include/arm_acle.h:71:1: error: inlining failed in call to always_inline 'uint32_t __crc32h(uint32_t, uint16_t)': target specific option mismatch
71 | __crc32h (uint32_t __a, uint16_t __b)
| ^~~~~~~~
crc_simd.cpp:101:21: note: called from here
101 | w = __crc32h(w,y);
| ~~~~~~~~^~~~~
In file included from crc_simd.cpp:23:
/nix/store/jqr77rvd36b6pa2c6pbss0z8f2pfnkxc-gcc-9.3.0/lib/gcc/aarch64-unknown-linux-gnu/9.3.0/include/arm_acle.h:41:1: error: inlining failed in call to always_inline 'uint32_t __crc32b(uint32_t, uint8_t)': target specific option mismatch
41 | __crc32b (uint32_t __a, uint8_t __b)
| ^~~~~~~~
crc_simd.cpp:102:21: note: called from here
102 | w = __crc32b(w,z);
| ~~~~~~~~^~~~~
In file included from crc_simd.cpp:23:
/nix/store/jqr77rvd36b6pa2c6pbss0z8f2pfnkxc-gcc-9.3.0/lib/gcc/aarch64-unknown-linux-gnu/9.3.0/include/arm_acle.h:59:1: error: inlining failed in call to always_inline 'uint32_t __crc32cw(uint32_t, uint32_t)': target specific option mismatch
59 | __crc32cw (uint32_t __a, uint32_t __b)
| ^~~~~~~~~
crc_simd.cpp:103:22: note: called from here
103 | w = __crc32cw(w,x);
| ~~~~~~~~~^~~~~
In file included from crc_simd.cpp:23:
/nix/store/jqr77rvd36b6pa2c6pbss0z8f2pfnkxc-gcc-9.3.0/lib/gcc/aarch64-unknown-linux-gnu/9.3.0/include/arm_acle.h:53:1: error: inlining failed in call to always_inline 'uint32_t __crc32ch(uint32_t, uint16_t)': target specific option mismatch
53 | __crc32ch (uint32_t __a, uint16_t __b)
| ^~~~~~~~~
crc_simd.cpp:104:22: note: called from here
104 | w = __crc32ch(w,y);
| ~~~~~~~~~^~~~~
In file included from crc_simd.cpp:23:
/nix/store/jqr77rvd36b6pa2c6pbss0z8f2pfnkxc-gcc-9.3.0/lib/gcc/aarch64-unknown-linux-gnu/9.3.0/include/arm_acle.h:47:1: error: inlining failed in call to always_inline 'uint32_t __crc32cb(uint32_t, uint8_t)': target specific option mismatch
47 | __crc32cb (uint32_t __a, uint8_t __b)
| ^~~~~~~~~
crc_simd.cpp:105:22: note: called from here
105 | w = __crc32cb(w,z);
| ~~~~~~~~~^~~~~
make: *** [GNUmakefile:1559: crc_simd.o] Error 1
```
The error above doesn't happen without `configure.sh`. This is all from cryptopp v8.4.0. | Compilation error after running configure.sh on aarch64-linux | https://api.github.com/repos/weidai11/cryptopp/issues/1011/comments | 7 | 2021-03-01T00:24:14Z | 2021-03-01T03:38:29Z | https://github.com/weidai11/cryptopp/issues/1011 | 818,355,823 | 1,011 |
[
"weidai11",
"cryptopp"
] | Using the code provided as `HIGHT` example in Wiki and replacing `CBC_Mode` by `CTR_Mode` is working... but next switching from `StringSource` to `FileSource` doesn't work anymore.
* the first ciphered block has 0 content (with 0 Key and Iv) instead of correct values
* ciphered content with StringSource : 7f 9f 0c 1c c1 9f c4 33 82 3f ee 8f dc
* ciphered content with FileSource : 00 00 00 00 00 00 00 00 82 3F EE 8F DC
The source code to reproduce:
```c++
int main(int argc, char* argv[])
{
AutoSeededRandomPool prng;
SecByteBlock key(HIGHT::DEFAULT_KEYLENGTH);
SecByteBlock iv(HIGHT::BLOCKSIZE);
prng.GenerateBlock(key, key.size());
prng.GenerateBlock(iv, iv.size());
// set key to 0 to better see error
memset(key.BytePtr(),0,key.size());
memset(iv.BytePtr(),0,iv.size());
std::string plain = "CTR Mode Test";
std::string cipher, encoded, recovered;
/*********************************\
\*********************************/
try
{
std::cout << "plain text: " << plain << std::endl;
CTR_Mode< HIGHT >::Encryption e;
e.SetKeyWithIV(key, key.size(), iv);
#if 0
// string source is working well
StringSource s(plain, true,
new StreamTransformationFilter(e,
new StringSink(cipher)
) // StreamTransformationFilter
); // StringSource
#endif
// file source doesn't work :(
FileSource f("ansi_text_file_with_content_CTR Mode Test_.txt", true,
new CryptoPP::StreamTransformationFilter(e,
new CryptoPP::StringSink(cipher)
) // StreamTransformationFilter
); // StringSource
// at this point cipher differ from StringSource and FileSource
}
catch(const CryptoPP::Exception& e)
{
std::cerr << e.what() << std::endl;
exit(1);
}
/*********************************\
\*********************************/
Print("key", std::string((const char*)key.begin(), key.size()));
Print("iv", std::string((const char*)iv.begin(), iv.size()));
Print("cipher text", cipher);
/*********************************\
\*********************************/
try
{
CTR_Mode< HIGHT >::Decryption d;
d.SetKeyWithIV(key, key.size(), iv);
// The StreamTransformationFilter removes
// padding as required.
StringSource s(cipher, true,
new StreamTransformationFilter(d,
new StringSink(recovered)
) // StreamTransformationFilter
); // StringSource
std::cout << "recovered text: " << recovered << std::endl;
}
catch(const CryptoPP::Exception& e)
{
std::cerr << e.what() << std::endl;
exit(1);
}
return 0;
}
``` | HIGHT cipher troubles with FileSource (CTR mode only) | https://api.github.com/repos/weidai11/cryptopp/issues/1010/comments | 12 | 2021-02-26T19:58:06Z | 2022-02-14T16:05:01Z | https://github.com/weidai11/cryptopp/issues/1010 | 817,624,900 | 1,010 |
[
"weidai11",
"cryptopp"
] | * State the operating system and version (Ubutnu 17 x86_64, Windows 7 Professional x64, etc)
macOS Big Sur 11.2.1
* State the version of the Crypto++ library (Crypto++ 7.0, Master, etc)
8.4.0
* State how you built the library (Makefile, Cmake, distro, etc)
make -j 4
sudo make install
* Show a typical command line (the output of the compiler for cryptlib.cpp)
c++ -DNDEBUG -g2 -O3 -fPIC -pthread -pipe -c cryptlib.cpp
* Show the link command (the output of the linker for libcryptopp.so or cryptest.exe)
libtool -static -o libcryptopp.a cryptlib.o cpu.o integer.o 3way.o adler32.o algebra.o algparam.o allocate.o arc4.o aria.o aria_simd.o ariatab.o asn.o authenc.o base32.o base64.o basecode.o bfinit.o blake2.o blake2b_simd.o blake2s_simd.o blowfish.o blumshub.o camellia.o cast.o casts.o cbcmac.o ccm.o chacha.o chacha_avx.o chacha_simd.o chachapoly.o cham.o cham_simd.o channels.o cmac.o crc.o crc_simd.o darn.o default.o des.o dessp.o dh.o dh2.o dll.o donna_32.o donna_64.o donna_sse.o dsa.o eax.o ec2n.o eccrypto.o ecp.o elgamal.o emsa2.o eprecomp.o esign.o files.o filters.o fips140.o fipstest.o gcm.o gcm_simd.o gf256.o gf2_32.o gf2n.o gf2n_simd.o gfpcrypt.o gost.o gzip.o hc128.o hc256.o hex.o hight.o hmac.o hrtimer.o ida.o idea.o iterhash.o kalyna.o kalynatab.o keccak.o keccak_core.o keccak_simd.o lea.o lea_simd.o luc.o mars.o marss.o md2.o md4.o md5.o misc.o modes.o mqueue.o mqv.o nbtheory.o oaep.o osrng.o padlkrng.o panama.o pkcspad.o poly1305.o polynomi.o pssr.o pubkey.o queue.o rabbit.o rabin.o randpool.o rc2.o rc5.o rc6.o rdrand.o rdtables.o rijndael.o rijndael_simd.o ripemd.o rng.o rsa.o rw.o safer.o salsa.o scrypt.o seal.o seed.o serpent.o sha.o sha3.o sha_simd.o shacal2.o shacal2_simd.o shake.o shark.o sharkbox.o simeck.o simon.o simon128_simd.o skipjack.o sm3.o sm4.o sm4_simd.o sosemanuk.o speck.o speck128_simd.o square.o squaretb.o sse_simd.o strciphr.o tea.o tftables.o threefish.o tiger.o tigertab.o ttmac.o tweetnacl.o twofish.o vmac.o wake.o whrlpool.o xed25519.o xtr.o xtrcrypt.o xts.o zdeflate.o zinflate.o zlib.o
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool: file: algebra.o has no symbols
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool: file: dh.o has no symbols
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool: file: eprecomp.o has no symbols
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool: file: polynomi.o has no symbols
ranlib libcryptopp.a
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: libcryptopp.a(algebra.o) has no symbols
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: libcryptopp.a(dh.o) has no symbols
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: libcryptopp.a(eprecomp.o) has no symbols
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: libcryptopp.a(polynomi.o) has no symbols
c++ -o cryptest.exe -DNDEBUG -g2 -O3 -fPIC -pthread -pipe adhoc.o test.o bench1.o bench2.o bench3.o datatest.o dlltest.o fipsalgt.o validat0.o validat1.o validat2.o validat3.o validat4.o validat5.o validat6.o validat7.o validat8.o validat9.o validat10.o regtest1.o regtest2.o regtest3.o regtest4.o ./libcryptopp.a
* Show the exact error message you are receiving (copy and paste it); or
* Clearly state the undesired behavior (and state the expected behavior)
Undefined symbols for architecture x86_64:
"CryptoPP::ProxyFilter::IsolatedFlush(bool, bool)", referenced from:
vtable for CryptoPP::SimpleProxyFilter in hashTest-30cbcf.o
...
"non-virtual thunk to CryptoPP::BufferedTransformation::GetMaxWaitObjectCount() const", referenced from:
vtable for CryptoPP::Sink in hashTest-30cbcf.o
vtable for CryptoPP::Bufferless<CryptoPP::Filter> in hashTest-30cbcf.o
vtable for CryptoPP::Unflushable<CryptoPP::Filter> in hashTest-30cbcf.o
vtable for CryptoPP::SimpleProxyFilter in hashTest-30cbcf.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation) | macOS 11.2.1: ld: symbol(s) not found for architecture x86_64 | https://api.github.com/repos/weidai11/cryptopp/issues/1009/comments | 5 | 2021-02-20T22:29:37Z | 2021-02-21T21:27:25Z | https://github.com/weidai11/cryptopp/issues/1009 | 812,721,807 | 1,009 |
[
"weidai11",
"cryptopp"
] | 1>cryptlib.lib(integer.obj) : error LNK2019: unresolved external symbol ___std_reverse_trivially_swappable_1 referenced in function "void __cdecl std::reverse<unsigned char *>(unsigned char * const,unsigned char * const)" (??$reverse@PAE@std@@YAXQAE0@Z)
1>cryptlib.lib(integer.obj) : error LNK2019: unresolved external symbol ___std_reverse_copy_trivially_copyable_1 referenced in function "class stdext::checked_array_iterator<unsigned char *> __cdecl std::reverse_copy<unsigned char const *,class stdext::checked_array_iterator<unsigned char *> >(unsigned char const *,unsigned char const *,class stdext::checked_array_iterator<unsigned char *>)" (??$reverse_copy@PBEV?$checked_array_iterator@PAE@stdext@@@std@@YA?AV?$checked_array_iterator@PAE@stdext@@PBE0V12@@Z)
x64 is no any trouble but link x86 static library show above error | win32 lib link error in vs2015&2019 | https://api.github.com/repos/weidai11/cryptopp/issues/1008/comments | 6 | 2021-02-14T06:02:51Z | 2021-08-24T19:05:29Z | https://github.com/weidai11/cryptopp/issues/1008 | 807,897,576 | 1,008 |
[
"weidai11",
"cryptopp"
] | Building out of source is not supported. Running
```
mkdir build
cd build
make -f ../GNUmakefile
```
Ends with
```
cp: cannot stat 'adhoc.cpp.proto': No such file or directory
grep: config_ver.h: No such file or directory
make: *** No rule to make target 'cryptlib.o', needed by 'libcryptopp.a'. Stop.
``` | Out of source build | https://api.github.com/repos/weidai11/cryptopp/issues/1006/comments | 3 | 2021-02-02T17:46:58Z | 2021-03-02T13:17:19Z | https://github.com/weidai11/cryptopp/issues/1006 | 799,517,248 | 1,006 |
[
"weidai11",
"cryptopp"
] | I want to use cryptopp library in Xamrin for encryption/decryption.
Plan is to generate .SO file for C++ wrapper which internally uses this library and then simply call the function in xamrin using P/Invoke.
I am trying to compile the library to generate .SO file but it fails with below errors :
// cannot use typeid with -fno-rtti
// cannot use 'throw' with exceptions disabled
Do I need to enable something explicitly to work things here ?
How do I need to enable RTTI(Run Time Type Information) ?
| Library failed to compile against ARM architectures | https://api.github.com/repos/weidai11/cryptopp/issues/1005/comments | 20 | 2021-02-01T10:12:22Z | 2021-02-17T14:07:30Z | https://github.com/weidai11/cryptopp/issues/1005 | 798,195,782 | 1,005 |
[
"weidai11",
"cryptopp"
] | I built crypto++ 8.4 in visual studio 2010 and made some test code.
It works fine in 'Win32|Debug', but in 'Win32|Release' hash.CalculateDigest throws an exception.
```
string source = "I am a programmer.";
CryptoPP::SHA512 hash;
CryptoPP::byte digest[CryptoPP::SHA512::DIGESTSIZE];
hash.CalculateDigest(digest, (const CryptoPP::byte*)source.c_str(), source.length());
string result;
CryptoPP::HexEncoder encoder;
encoder.Attach(new CryptoPP::StringSink(result));
encoder.Put(digest, sizeof(digest));
```
The line number of exception is 1258 in 'sha.cpp' | SHA512 throws an exception | https://api.github.com/repos/weidai11/cryptopp/issues/1004/comments | 0 | 2021-01-31T05:59:50Z | 2021-02-16T15:36:21Z | https://github.com/weidai11/cryptopp/issues/1004 | 797,630,169 | 1,004 |
[
"weidai11",
"cryptopp"
] | ### Crypto++ Issue Report
* operating system and version: Windows 10 Professional x64 Version 20H2 | Microsoft Visual Studio 16 2019
* version of the Crypto++ library: Crypto++ 8.4 release
* how you built the library: Premake5 static build (script bellow)
* the exact error message you are receiving: ```Run-Time Check Failure #2 - Stack around the variable 'hash' was corrupted.```
* Clearly state the undesired behavior: program crashes when performing an encryption or decryption with any algorithm,
triggers breakpoint at randpool.cpp line 39
* cryptopp.lua library i use
```lua
project "cryptopp"
kind "StaticLib"
language "C++"
cppdialect "C++17"
staticruntime "on"
targetdir ("Bin/" .. outputdir .. "/%{prj.name}")
objdir ("Bin-Intermediate/" .. outputdir .. "/%{prj.name}")
defines
{
"CRYPTOPP_DISABLE_ASM"
}
vectorextensions "SSE2"
files
{
"*.h",
"*.cpp",
}
-- Platform ---
filter "system:windows"
systemversion "latest"
defines
{
"_WINSOCK_DEPRECATED_NO_WARNINGS",
}
links
{
}
--- Configurations ---
filter "configurations:Debug"
runtime "Debug"
symbols "On"
optimize "Off" -- No optimization will be performed.
filter "configurations:Release"
runtime "Release"
optimize "On" -- Perform a balanced set of optimizations.
inlining "Explicit" -- Only inline functions explicitly marked with the inline keyword.
filter "configurations:Dist"
runtime "Release"
optimize "Full" -- Full optimization.
inlining "Auto" -- Inline any suitable function for full performance
```
- breakpoint disassembly of
```cpp
void RandomPool::IncorporateEntropy(const byte *input, size_t length)
{
SHA256 hash;
hash.Update(m_key, 32);
hash.Update(input, length);
hash.Final(m_key);
m_keySet = false;
}
```
```asm
00007FF6142F613E or byte ptr [rbp+57h],dl
00007FF6142F6141 sub rsp,1D8h
00007FF6142F6148 lea rbp,[rsp+20h]
00007FF6142F614D mov rdi,rsp
00007FF6142F6150 mov ecx,76h
00007FF6142F6155 mov eax,0CCCCCCCCh
00007FF6142F615A rep stos dword ptr [rdi]
00007FF6142F615C mov rcx,qword ptr [rsp+1F8h]
00007FF6142F6164 mov rax,qword ptr [__security_cookie (07FF6148491C8h)]
00007FF6142F616B xor rax,rbp
00007FF6142F616E mov qword ptr [rbp+1A8h],rax
00007FF6142F6175 lea rcx,[__DDA56C4B_randpool@cpp (07FF6148F2E96h)]
00007FF6142F617C call __CheckForDebuggerJustMyCode (07FF613DF079Ah)
SHA256 hash;
00007FF6142F6181 lea rcx,[hash]
00007FF6142F6185 call CryptoPP::SHA256::SHA256 (07FF613DE0A07h)
00007FF6142F618A nop
hash.Update(m_key, 32);
00007FF6142F618B mov rax,qword ptr [this]
00007FF6142F6192 add rax,38h
00007FF6142F6196 mov rcx,rax
00007FF6142F6199 call CryptoPP::SecBlock<unsigned char,CryptoPP::FixedSizeAllocatorWithCleanup<unsigned char,32,CryptoPP::NullAllocator<unsigned char>,1> >::operator unsigned char * __ptr64 (07FF613DDEE87h)
00007FF6142F619E mov r8d,20h
00007FF6142F61A4 mov rdx,rax
00007FF6142F61A7 lea rcx,[hash]
00007FF6142F61AB call CryptoPP::IteratedHashBase<unsigned int,CryptoPP::HashTransformation>::Update (07FF613DEB745h)
hash.Update(input, length);
00007FF6142F61B0 mov r8,qword ptr [length]
00007FF6142F61B7 mov rdx,qword ptr [input]
00007FF6142F61BE lea rcx,[hash]
00007FF6142F61C2 call CryptoPP::IteratedHashBase<unsigned int,CryptoPP::HashTransformation>::Update (07FF613DEB745h)
hash.Final(m_key);
00007FF6142F61C7 mov rax,qword ptr [this]
00007FF6142F61CE add rax,38h
00007FF6142F61D2 mov rcx,rax
00007FF6142F61D5 call CryptoPP::SecBlock<unsigned char,CryptoPP::FixedSizeAllocatorWithCleanup<unsigned char,32,CryptoPP::NullAllocator<unsigned char>,1> >::operator unsigned char * __ptr64 (07FF613DDEE87h)
00007FF6142F61DA mov rdx,rax
00007FF6142F61DD lea rcx,[hash]
00007FF6142F61E1 call CryptoPP::HashTransformation::Final (07FF613DE4E86h)
m_keySet = false;
00007FF6142F61E6 mov rax,qword ptr [this]
00007FF6142F61ED mov byte ptr [rax+80h],0
}
00007FF6142F61F4 lea rcx,[hash]
00007FF6142F61F8 call CryptoPP::SHA256::~SHA256 (07FF613DD5409h)
00007FF6142F61FD lea rcx,[rbp-20h]
00007FF6142F6201 lea rdx,[string "CryptoPP::GCM_Base::Authenticat@"...+88h (07FF6146E4520h)]
00007FF6142F6208 call _RTC_CheckStackVars (07FF613DEB4D9h)
00007FF6142F620D mov rcx,qword ptr [rbp+1A8h]
00007FF6142F6214 xor rcx,rbp
00007FF6142F6217 call __security_check_cookie (07FF613DE1407h)
00007FF6142F621C lea rsp,[rbp+1B8h]
00007FF6142F6223 pop rdi
00007FF6142F6224 pop rbp
00007FF6142F6225 ret
```

I'm probably doing something wrong, i hope i provided enough details about this issue. | CRYPTOPP_DISABLE_ASM crashes program with read access violation exception | https://api.github.com/repos/weidai11/cryptopp/issues/1003/comments | 2 | 2021-01-29T18:36:22Z | 2021-02-06T12:24:12Z | https://github.com/weidai11/cryptopp/issues/1003 | 797,097,429 | 1,003 |
[
"weidai11",
"cryptopp"
] | Some classes like `HashFilter` and `StringSource` require pointer to be passed into classes constructor. That pointer later is owned by those classes.
This approach is error prone:
1. User can have a pointer owned by `std::unique_ptr` and if they forget to call `std::unique_ptr::release` after class is constructed, that will cause double free error after both (class object and smart pointer) go out of scope.
2. If user does not use `std::uqniue_ptr` and they pass the raw pointer to the class constructor and constructor throws an exception, who is responsible to release memory pointed by passed pointer?
I'd like to ask you to change/overload the classes constructor and accept `std::unique_ptr` by value instead of raw pointer. That solves all the mentioned problems above.
```cpp
class HashFilter
{
public:
HashFilter(StringSink* ptr);
#if __cplusplus >= 201103
HashFilter(std::unique_ptr<StringSink> ptr) : HashFilter(ptr.get()) { ptr.release(); }
#endif
};
```
The benefits of new constructor are:
* The intent is more obvious now.
a) Everyone who use this constructor know, here they are going to move an ownership.
b) The object passed must be allocated on the heap and will be destroyed with the delete operator
* It is more user friendly now for those who use C++ features:
### Before
```cpp
std::string calculated_hmac;
auto sink = std::make_unique<StringSink>(calculated_hmac);
auto filter = std::make_unique<HashFilter>(hmac, sink.get());
sink.release(); // if I forget to call it, I get a double free bug
```
### After
```cpp
std::string calculated_hmac;
auto sink = std::make_unique<StringSink>(calculated_hmac);
auto filter = std::make_unique<HashFilter>(hmac, std::move(sink));
``` | More safe memory management | https://api.github.com/repos/weidai11/cryptopp/issues/1002/comments | 26 | 2021-01-26T15:03:12Z | 2021-03-02T13:17:34Z | https://github.com/weidai11/cryptopp/issues/1002 | 794,304,205 | 1,002 |
[
"weidai11",
"cryptopp"
] | scrypt.cpp:307: warning: ignoring ‘#pragma omp parallel’ [-Wunknown-pragmas]
307 | #pragma omp parallel num_threads(threads)
|
scrypt.cpp:314: warning: ignoring ‘#pragma omp for’ [-Wunknown-pragmas]
314 | #pragma omp for
| Warning "ignoring pragma" during compile | https://api.github.com/repos/weidai11/cryptopp/issues/1001/comments | 1 | 2021-01-25T22:37:56Z | 2021-01-25T22:46:08Z | https://github.com/weidai11/cryptopp/issues/1001 | 793,777,758 | 1,001 |
[
"weidai11",
"cryptopp"
] | The webpage states the following:
`Visual Studio 2003 - 2019`
`cryptest.sln` contains the following:
```
Microsoft Visual Studio Solution File, Format Version 11.00
# Visual Studio 2010
```
Visual studio 2019 generated solution file contains the following:
```
Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 16
```
It would be good to open it with Visual studio 2019 and commit the changed solution and project files.
* OS: Win 10 pro X64
* Version: Crypto++ 8.4.0
* Build tool: Visual studio 2019
| Visual studio 2019 support | https://api.github.com/repos/weidai11/cryptopp/issues/999/comments | 2 | 2021-01-20T13:18:40Z | 2021-01-20T15:52:45Z | https://github.com/weidai11/cryptopp/issues/999 | 789,971,845 | 999 |
[
"weidai11",
"cryptopp"
] | Trying to cross-compile to iOS on a macOS
* State the operating system and version (Ubutnu 17 x86_64, Windows 7 Professional x64, etc)
macOS 11.1 Big Sur
* State the version of the Crypto++ library (Crypto++ 7.0, Master, etc)
Master
* State how you built the library (Makefile, Cmake, distro, etc)
```bash
export IOS_SDK=iPhoneOS
export IOS_CPU=arm64
source TestScripts/setenv-ios.sh
export CXXFLAGS="-DNDEBUG -g2 -O3 -fPIC -pipe -fembed-bitcode"
make -f GNUmakefile-cross
```
* Show a typical command line (the output of the compiler for cryptlib.cpp)
```bash
clang++ -DNDEBUG -g2 -O3 -fPIC -pipe -fembed-bitcode -Wall -arch arm64 -miphoneos-version-min=6 -stdlib=libc++ --sysroot "/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS14.2.sdk" -c cryptlib.cpp
```
* Show the link command (the output of the linker for libcryptopp.so or cryptest.exe)
This is where I discovered the issue because neon_simd.o was an old version from a previous build
```bash
libtool -static -o libcryptopp.a cryptlib.o cpu.o integer.o 3way.o adler32.o algebra.o algparam.o allocate.o arc4.o aria.o aria_simd.o ariatab.o asn.o authenc.o base32.o base64.o basecode.o bfinit.o blake2.o blake2b_simd.o blake2s_simd.o blowfish.o blumshub.o camellia.o cast.o casts.o cbcmac.o ccm.o chacha.o chacha_avx.o chacha_simd.o chachapoly.o cham.o cham_simd.o channels.o cmac.o crc.o crc_simd.o darn.o default.o des.o dessp.o dh.o dh2.o dll.o donna_32.o donna_64.o donna_sse.o dsa.o eax.o ec2n.o eccrypto.o ecp.o elgamal.o emsa2.o eprecomp.o esign.o files.o filters.o fips140.o fipstest.o gcm.o gcm_simd.o gf256.o gf2_32.o gf2n.o gf2n_simd.o gfpcrypt.o gost.o gzip.o hc128.o hc256.o hex.o hight.o hmac.o hrtimer.o ida.o idea.o iterhash.o kalyna.o kalynatab.o keccak.o keccak_core.o keccak_simd.o lea.o lea_simd.o luc.o mars.o marss.o md2.o md4.o md5.o misc.o modes.o mqueue.o mqv.o nbtheory.o neon_simd.o oaep.o osrng.o padlkrng.o panama.o pkcspad.o poly1305.o polynomi.o pssr.o pubkey.o queue.o rabbit.o rabin.o randpool.o rc2.o rc5.o rc6.o rdrand.o rdtables.o rijndael.o rijndael_simd.o ripemd.o rng.o rsa.o rw.o safer.o salsa.o scrypt.o seal.o seed.o serpent.o sha.o sha3.o sha_simd.o shacal2.o shacal2_simd.o shake.o shark.o sharkbox.o simeck.o simon.o simon128_simd.o skipjack.o sm3.o sm4.o sm4_simd.o sosemanuk.o speck.o speck128_simd.o square.o squaretb.o strciphr.o tea.o tftables.o threefish.o tiger.o tigertab.o ttmac.o tweetnacl.o twofish.o vmac.o wake.o whrlpool.o xed25519.o xtr.o xtrcrypt.o xts.o zdeflate.o zinflate.o zlib.o
```
* Show the exact error message you are receiving (copy and paste it); or
```bash
error: libtool: file: neon_simd.o is not an object file (not allowed in a library)
make: *** [libcryptopp.a] Error 1
```
* Clearly state the undesired behavior (and state the expected behavior)
If I do a make clean like this:
```bash
make -f GNUmakefile-cross clean
make clean
```
it won't delete neon_simd.o
Which leads to all sorts of confusing errors while linking because neon_simd.o is from a previous build.
I understand basic makefiles but I actually don't know how to fix this one because the make file is too advanced and complicated for me lol
If you direct me to where the issue might be I could open a PR with a fix.
For anyone looking for an immediate fix: just delete neon_simd.o and build again. | make clean does not delete neon_simd.o | https://api.github.com/repos/weidai11/cryptopp/issues/998/comments | 13 | 2021-01-01T15:19:59Z | 2021-01-02T05:51:37Z | https://github.com/weidai11/cryptopp/issues/998 | 777,301,766 | 998 |
[
"weidai11",
"cryptopp"
] | I think we should have bitcode enabled by default because Apple is pushing too hard that they'll make your life miserable if you don't have it. It's not even optional on watchOS and tvOS, Apple just won't accept your binaries unless they have bitcode embedded.
The way I did it for now:
```
export CXXFLAGS="-DNDEBUG -g2 -O3 -fPIC -pipe -fembed-bitcode"
make -f GNUmakefile-cross
```
If you think enabling bitcode support by default is good idea I'll make a PR.
If you see that there are backward compatibility issues with this change that we must be concerned about let me know and I probably would still make a PR that enables bitcode by passing some flag or setting some environment variable. | iOS: Should we compile with bitcode enabled by default? | https://api.github.com/repos/weidai11/cryptopp/issues/997/comments | 4 | 2021-01-01T15:09:43Z | 2021-03-02T13:18:11Z | https://github.com/weidai11/cryptopp/issues/997 | 777,300,216 | 997 |
[
"weidai11",
"cryptopp"
] | ### Crypto++ Issue Report
when running setenv-android.sh on macos it gives the following error:
```
sed: 1: "cpu-features.c": command c expects \ followed by text
```
* State the operating system and version
macOS 11.1 (Big Sur)
* State the version of the Crypto++ library
Master
* State how you built the library (Makefile, Cmake, distro, etc)
```
export ANDROID_API="23"
export ANDROID_CPU="armv8"
source TestScripts/setenv-android.sh
```
* Show a typical command line (the output of the compiler for cryptlib.cpp)
N/A
* Show the link command (the output of the linker for libcryptopp.so or cryptest.exe)
N/A
* Show the exact error message you are receiving (copy and paste it); or Clearly state the undesired behavior (and state the expected behavior)
```
sed: 1: "cpu-features.c": command c expects \ followed by text
``` | cpu-features.c": command c expects \ followed by text | https://api.github.com/repos/weidai11/cryptopp/issues/996/comments | 0 | 2020-12-31T14:10:10Z | 2020-12-31T14:12:27Z | https://github.com/weidai11/cryptopp/issues/996 | 777,032,360 | 996 |
[
"weidai11",
"cryptopp"
] | ### Crypto++ Issue Report
when running setenv-android.sh on macos it gives the following error:
```
sed: 1: "cpu-features.c": command c expects \ followed by text
```
* State the operating system and version
macOS 11.1 (Big Sur)
* State the version of the Crypto++ library
Master
* State how you built the library (Makefile, Cmake, distro, etc)
```
export ANDROID_API="23"
export ANDROID_CPU="armv8"
source TestScripts/setenv-android.sh
```
* Show a typical command line (the output of the compiler for cryptlib.cpp)
N/A
* Show the link command (the output of the linker for libcryptopp.so or cryptest.exe)
N/A
* Show the exact error message you are receiving (copy and paste it); or Clearly state the undesired behavior (and state the expected behavior)
```
sed: 1: "cpu-features.c": command c expects \ followed by text
``` | setenv-android.sh sed: 1: "cpu-features.c": command c expects \ followed by text | https://api.github.com/repos/weidai11/cryptopp/issues/995/comments | 2 | 2020-12-31T14:09:42Z | 2021-01-01T04:44:23Z | https://github.com/weidai11/cryptopp/issues/995 | 777,031,839 | 995 |
[
"weidai11",
"cryptopp"
] | It seems that c9ef9420e762b91cc06463d349cf06e04c749b9d breaks basic elliptic curve identities. The following outputs three times 1 before and three times 0 after:
```c++
#include "eccrypto.h"
#include "oids.h"
#include <iostream>
int main()
{
using namespace CryptoPP;
auto params = DL_GroupParameters_EC<ECP>(ASN1::secp256k1());
auto id = params.ExponentiateBase(0);
std::cout << (id == params.GetCurve().Add(id, id)) << std::endl;
auto gen = params.ExponentiateBase(1);
std::cout << (gen == params.GetCurve().Add(id, gen)) << std::endl;
std::cout << (params.ExponentiateBase(2) == params.GetCurve().Add(gen, gen)) << std::endl;
return not (id == params.GetCurve().Add(id, id));
}
```
I'm using Ubuntu 20.04 with the system GCC.
| Broken elliptic curve identities | https://api.github.com/repos/weidai11/cryptopp/issues/994/comments | 3 | 2020-12-30T08:47:11Z | 2022-02-18T06:54:11Z | https://github.com/weidai11/cryptopp/issues/994 | 776,341,910 | 994 |
[
"weidai11",
"cryptopp"
] | I am built cryptopp 8.3.0 for Fedora 33 with LTO as all packages should use this option. There is no any problem.
But then I am built megasync with this cryptopp - no build errors again.
And after run megasync I have the error:
```
MEGAprivate ERROR DUMP
Application: MEGAsync [64 bit]
Hash: 76355538de57a63871661276960deb5a
Version code: 4307.0
Module name: megasync
Timestamp: 1609221086478
Operating system: Linux
System version: fedora 33/#1 SMP Mon Dec 21 14:08:22 UTC 2020
System release: 5.9.16-200.fc33.x86_64
System arch: x86_64
Error info:
Segmentation fault (11) at address 0x20
Stacktrace:
/lib64/libcryptopp.so.8(+0x2b2449) [0x7f6bd378f449]
/lib64/libcryptopp.so.8(+0x2b2449) [0x7f6bd378f449]
/lib64/libcryptopp.so.8(_ZN8CryptoPP6SHA25618HashMultipleBlocksEPKjm+0xa7) [0x7f6bd37903e7]
/lib64/libcryptopp.so.8(_ZN8CryptoPP16IteratedHashBaseIjNS_18HashTransformationEE14TruncatedFinalEPhm+0xce) [0x7f6bd37412ee]
megasync(+0x17afdf) [0x56053ae41fdf]
megasync(+0x29b294) [0x56053af62294]
megasync(+0x2617fd) [0x56053af287fd]
/lib64/libQt5Core.so.5(+0xe6df0) [0x7f6bd0913df0]
/lib64/libpthread.so.0(+0x93f9) [0x7f6bd08143f9]
/lib64/libc.so.6(clone+0x43) [0x7f6bd03f8903]
```
If cryptopp built without LTO - all is OK, no errors at build and at running applications.
Can you help me fix this problem?
| Problem with LTO build | https://api.github.com/repos/weidai11/cryptopp/issues/993/comments | 3 | 2020-12-29T09:00:30Z | 2020-12-30T12:20:29Z | https://github.com/weidai11/cryptopp/issues/993 | 775,781,749 | 993 |
[
"weidai11",
"cryptopp"
] | @dwmcrobb discovered a latent bug in `FixedSizeSecBlock`. It was reported at [GH #988](https://github.com/weidai11/cryptopp/issues/988). In the 988 bug we fixed the pointer problem and cleaned up the class.
Since the `FixedSizeSecBlock` overhaul we started seeing failures on AppVeyor, which tests the Windows gear. For example, see [Noloader | Crypto++ | Win32](https://ci.appveyor.com/project/noloader/cryptopp/builds/36993303/job/nonj2m75fgy21gyr). (Win64 is OK).
The problem appears to be too many asserts. I've seen this before on AppVeyor. A few intermittent asserts are OK, but a stream of them causes a failure. The asserts that are firing are alignment related in [ByteReverse](https://github.com/weidai11/cryptopp/blob/master/misc.h#L2207) and [IteratedHash](https://github.com/weidai11/cryptopp/blob/master/iterhash.h#L154):
```
// misc.h
template <class T>
void ByteReverse(T *out, const T *in, size_t byteCount)
{
// Alignment check due to Issues 690
CRYPTOPP_ASSERT(byteCount % sizeof(T) == 0);
CRYPTOPP_ASSERT(IsAligned<T>(in));
CRYPTOPP_ASSERT(IsAligned<T>(out));
size_t count = byteCount/sizeof(T);
for (size_t i=0; i<count; i++)
out[i] = ByteReverse(in[i]);
}
```
And:
```
// iterhash.h
inline void CorrectEndianess(HashWordType *out, const HashWordType *in, size_t byteCount)
{
CRYPTOPP_ASSERT(in != NULLPTR);
CRYPTOPP_ASSERT(out != NULLPTR);
CRYPTOPP_ASSERT(IsAligned<T_HashWordType>(in));
CRYPTOPP_ASSERT(IsAligned<T_HashWordType>(out));
ConditionalByteReverse(T_Endianness::ToEnum(), out, in, byteCount);
}
```
Tracing things back, it looks like `GetAlignmentOf<T>` is going a bit sideways. For example, for `word64` array, the compiler lays out an array aligned on 4 bytes (recall this is a 32-bit problem). However, `GetAlignmentOf<T>` is returning 8 because of `__alignof(T)` from [misc.h](https://github.com/weidai11/cryptopp/blob/master/misc.h#L1178):
```
// misc.h
template <class T>
inline unsigned int GetAlignmentOf()
{
#if defined(CRYPTOPP_CXX11_ALIGNOF)
return alignof(T);
#elif (_MSC_VER >= 1300)
return __alignof(T);
#elif defined(__GNUC__)
return __alignof__(T);
#elif defined(__SUNPRO_CC)
return __alignof__(T);
#elif defined(__IBM_ALIGNOF__)
return __alignof__(T);
#elif CRYPTOPP_BOOL_SLOW_WORD64
return UnsignedMin(4U, sizeof(T));
#else
return sizeof(T);
#endif
}
```
`GetAlignmentOf<word64>` returns 8. I think this is actually just a symptom. I _think_ the real problem is `IsAligned<T>` from [misc.h](https://github.com/weidai11/cryptopp/blob/master/misc.h#L1219):
```
// misc.h
template <class T>
inline bool IsAligned(const void *ptr)
{
return IsAlignedOn(ptr, GetAlignmentOf<T>());
}
```
Notice the function calls accepts a pointer and calls `GetAlignmentOf<T>`, and not the pointer-to-T `GetAlignmentOf<T*>`. Switching to a pointer-to-T with `GetAlignmentOf<T*>` clears the asserts. This makes sense since a pointer only needs to be aligned to 32-bits on a 32-bit platform. And on 64-bits, pointers are 64-bits which coincides with the `sizeof(word64)`, so everything is OK.
I also noticed the same behavior on 32-bit Linux. Those same asserts are firing, so it is not a Windows-specific problem.
My question is, why are we using `GetAlignmentOf<T>` instead of the pointer-to-T `GetAlignmentOf<T*>`? What insight did Wei have, or what was Wei trying to achieve by increasing alignment requirements for 64-bit words?
I _think_ we should change it to pointer-to-T `GetAlignmentOf<T*>` for this test.
@mouse07410, any thoughts?
| AppVeyor failures after fixing FixedSizeSecBlock | https://api.github.com/repos/weidai11/cryptopp/issues/992/comments | 29 | 2020-12-28T11:39:40Z | 2021-03-17T22:01:10Z | https://github.com/weidai11/cryptopp/issues/992 | 775,357,638 | 992 |
[
"weidai11",
"cryptopp"
] | MacOS 10.15.7, Xcode-12.3. Env var `AS_INTEGRATED_ASSEMBLER=1` is set.
https://github.com/weidai11/cryptopp/blob/d555d072c959c2beb65a7737309530d2e038e554/config_asm.h#L50
Here's what that line looks like in my fork:
```c++
#if defined(__clang__) || (defined(__APPLE__) && defined(__GNUC__)) || defined(__SUNPRO_CC)
```
| This change breaks compilation on MacOS | https://api.github.com/repos/weidai11/cryptopp/issues/991/comments | 3 | 2020-12-28T03:08:24Z | 2020-12-30T11:43:11Z | https://github.com/weidai11/cryptopp/issues/991 | 775,164,817 | 991 |
[
"weidai11",
"cryptopp"
] | terminate when i run this code:
```cpp
CryptoPP::SecByteBlock key;
CryptoPP::SecByteBlock iv;
key.Assign(16, 0);
iv.Assign(16, 0);
using Encryption = std::variant<
CryptoPP::CTR_Mode<CryptoPP::AES>::Encryption,
CryptoPP::ChaCha20Poly1305::Encryption
>;
Encryption enc = CryptoPP::CTR_Mode<CryptoPP::AES>::Encryption{};
std::visit([&](auto && arg){
arg.SetKeyWithIV(key.data(),key.size(), iv.data(), iv.size());
}, enc);
```
| pure virtual method called | https://api.github.com/repos/weidai11/cryptopp/issues/989/comments | 1 | 2020-12-27T14:33:40Z | 2020-12-28T02:08:31Z | https://github.com/weidai11/cryptopp/issues/989 | 775,048,547 | 989 |
[
"weidai11",
"cryptopp"
] | Having looked at this again, this code should never be used as is on any platform. When `m_array` is not 16-byte aligned, it will return a pointer to memory not owned by `m_array`. Leading to definite stack or heap corruption, depending on where the class template was instantiated.
https://github.com/weidai11/cryptopp/blob/23137bada3d31bae8333645a2301f968a73f809f/secblock.h#L519
This code appears to have been in place all the way back to 2007. I can't say for certain why it wasn't reported before. A big part of it is probably just the fact that the assertions didn't find the issue, plus the fact that the compilers on the most common platforms didn't see this code (`_M_X64` or `__x86_64__` was defined). I had eliminated it by defining `CRYPTOPP_DISABLE_ASM` and fixing the check as in #982 as a cursory fix on the platforms where this code was used, without digging (I didn't have an isolated test for it, and when it appeared in my applications, it was corrupting the stack and hence making it more difficult to track down than I had time to allot to find it). But now that I've looked at it closely, it's always been wrong.
The comment about stacks growing downward isn't relevant; the addresses of array elements ALWAYS grow upward with index, it's part of the language rules. As far as I know, this has been true since the very inception of C, predating the first C standard. It is of course codified in the language standards too. Just as examples, see sections 6.5.6 and 6.5.8 of the C99 standard. Or here for some of the relevant rules without purchasing one of the standards:
https://en.cppreference.com/w/c/language/operator_comparison
https://en.cppreference.com/w/c/language/operator_arithmetic
Stack _frame_ addresses usually grown downward, but there are exceptions. But it's not relevant here.
I've implemented a correct version in my local repo. Works with any alignment, not just 16, and hence the alignment could be pulled up to a class template parameter (perhaps replacing `T_Align16`). I made it easy to do so; the alignment is a static const private class member that happens to be set to 16. I don't have any code handy that will compile as C++03, but it's probably possible to write a test for it with C++03 in mind since my patched version doesn't use any C++11 features.
Given what this code is intended to do, I think the assertions should be in release builds, not just debug builds. Since `S` is a required template parameter, all of the work could actually be done in construction, including the assertions. Then store `p_array` as a private class member and just return it in `GetAlignedArray()`.
I can fork and issue a pull request if you'd like to review.
| Followup to GH #982 | https://api.github.com/repos/weidai11/cryptopp/issues/988/comments | 15 | 2020-12-24T00:14:03Z | 2020-12-27T05:37:19Z | https://github.com/weidai11/cryptopp/issues/988 | 774,104,013 | 988 |
[
"weidai11",
"cryptopp"
] | I am maintainer of Crypto++ package in Fedora. I see that programs built with 8.2.0 failed to run with 8.3.0 without rebuild but soname version not changed.
So I need to know if abi changed and I need to rebuild all depended packages?
Example of the error:
```
megasync: symbol lookup error: megasync: undefined symbol: _ZNK8CryptoPP21KeyDerivationFunction16MinDerivedLengthEv
``` | Is 8.3.0 has changes in abi? | https://api.github.com/repos/weidai11/cryptopp/issues/987/comments | 8 | 2020-12-21T13:49:32Z | 2021-04-16T09:16:21Z | https://github.com/weidai11/cryptopp/issues/987 | 772,184,337 | 987 |
[
"weidai11",
"cryptopp"
] | We are tracking an issue in Debian experimental where `cryptest.exe` encounters a `SIGILL`. The issue surfaced after the Crypto++ 8.3 release.
We will be working with @gcsideal to resolve it. Also see [Build log for libcrypto++](https://buildd.debian.org/status/fetch.php?pkg=libcrypto%2B%2B&arch=powerpc&ver=8.3.0-1&stamp=1608489375&raw=0). | Debian testing and SIGILL on PowerPC | https://api.github.com/repos/weidai11/cryptopp/issues/986/comments | 8 | 2020-12-21T01:37:28Z | 2020-12-23T06:57:03Z | https://github.com/weidai11/cryptopp/issues/986 | 771,773,057 | 986 |
[
"weidai11",
"cryptopp"
] | I have the files already compiled, using msys64 with Code::Blocks IDE, however there is a problem.
The namespace type is not found despite it clearly being part of the C++ standard, and even if the version is from 2019 and msys64 is up to date, Code::Blocks struggles to parse the code correctly.
So I have a thought, is Crypto++ at all compatible with Code::Blocks? Its Mingw based so it shouldn't have any problems.
| Everything is being parsed incorrectly. | https://api.github.com/repos/weidai11/cryptopp/issues/985/comments | 1 | 2020-12-15T23:33:50Z | 2020-12-16T02:30:20Z | https://github.com/weidai11/cryptopp/issues/985 | 768,300,140 | 985 |
[
"weidai11",
"cryptopp"
] | This is kindof a meta-issue regarding cryptopp … I do not see an obvious webmaster contact. The site https://cryptopp.com has certificate validation issues. While Firefox does not complain, contacting the site via lynx fails:
```
SSL error:The certificate is NOT trusted. The certificate issuer is unknown. -Continue? (n)
```
More detail from curl:
```
$ curl https://cryptopp.com
curl: (60) SSL certificate problem: unable to get local issuer certificate
More details here: https://curl.haxx.se/docs/sslcerts.html
curl failed to verify the legitimacy of the server and therefore could not
establish a secure connection to it. To learn more about this situation and
```
Some more detail from openssl:
```
$ openssl s_client -connect cryptopp.com:443
CONNECTED(00000003)
depth=0 CN = cryptopp.com
verify error:num=20:unable to get local issuer certificate
verify return:1
depth=0 CN = cryptopp.com
verify error:num=21:unable to verify the first certificate
verify return:1
---
Certificate chain
0 s:CN = cryptopp.com
i:C = US, O = Let's Encrypt, CN = R3
1 s:C = US, O = Let's Encrypt, CN = Let's Encrypt Authority X3
i:O = Digital Signature Trust Co., CN = DST Root CA X3
---
Server certificate
-----BEGIN CERTIFICATE-----
MIIFMTCCBBmgAwIBAgISA7DHsPWZUKQK0eht0Nrt45RcMA0GCSqGSIb3DQEBCwUA
[…]
Wwab9I28rDJ/xQVhVpb19sSds9qEndRIS49yJlIK6J5O9D7/Kg==
-----END CERTIFICATE-----
subject=CN = cryptopp.com
issuer=C = US, O = Let's Encrypt, CN = R3
---
No client certificate CA names sent
Peer signing digest: SHA256
Peer signature type: RSA
Server Temp Key: ECDH, P-256, 256 bits
---
SSL handshake has read 3216 bytes and written 430 bytes
Verification error: unable to verify the first certificate
---
New, TLSv1.2, Cipher is ECDHE-RSA-AES256-GCM-SHA384
Server public key is 2048 bit
```
I'm no expert on this, but I'm told that the reason is that the server doesn't serve the whole certificate chain, which you normally also get from the letsencrypt acme client script.
I guess it is good form for a crypto librarie's website to have a flawless crypto setup … I hope this report helps to achieve that. This was tested on Debian 10.7 and Ubuntu 20.04, as well as curl from pkgsrc using CentOS 7 root certificate set.
Right now, automated downloads in build scripts won't succeed unless certificate checking is disabled. | TLS certificate chain on cryptopp.com website incomplete | https://api.github.com/repos/weidai11/cryptopp/issues/984/comments | 5 | 2020-12-12T19:04:14Z | 2020-12-13T16:48:52Z | https://github.com/weidai11/cryptopp/issues/984 | 764,213,548 | 984 |
[
"weidai11",
"cryptopp"
] | ### Crypto++ Issue Report
Thanks for taking the time to report an issue. Reporting issues helps us improve stability and reliability for all users, so it is a valuable contribution.
Please do not ask questions in the bug tracker. Please ask questions on the Crypto++ Users List at http://groups.google.com/forum/#!forum/cryptopp-users.
Please _do not_ ask questions at Stack Overflow. We may not be able to answer your question.
There is a wiki page with information on filing useful bug reports. If you have some time please visit http://www.cryptopp.com/wiki/Bug_Report on the wiki. The executive summary is:
* State the operating system and version (Ubutnu 17 x86_64, Windows 7 Professional x64, etc)
* State the version of the Crypto++ library (Crypto++ 7.0, Master, etc)
* State how you built the library (Makefile, Cmake, distro, etc)
* Show a typical command line (the output of the compiler for cryptlib.cpp)
* Show the link command (the output of the linker for libcryptopp.so or cryptest.exe)
* Show the exact error message you are receiving (copy and paste it); or
* Clearly state the undesired behavior (and state the expected behavior)
Hello,
I was executing the cryptopp benchmark like this: ./cryptest.exe b 30 1.6
Being 30 (in seconds) the time that each algorithm is executing and 1.6 (in GHz) the cpu frequency.
And the output file has this error in between the first 2 tables, "Exception caught: AES/GCM: message length exceeds maximum".
I noticed that this only happens when the execution time is higher than 15 seconds. Does anyone know what is the cause of this and if possible how to solve it? | Exception while executing cryptopp benchmark | https://api.github.com/repos/weidai11/cryptopp/issues/983/comments | 1 | 2020-12-10T21:11:07Z | 2020-12-16T04:02:05Z | https://github.com/weidai11/cryptopp/issues/983 | 761,619,317 | 983 |
[
"weidai11",
"cryptopp"
] | This has been a problem for a long time (and is in 8.2.0) on some platforms. `CRYPTOPP_BOOL_ALIGN16` is always defined, yet there are preprocessor conditionals checking if it's defined instead of using its value.
And for the final `#else`, don't assume 4 byte alignment; follow the intent of the comment.
First-pass patch, which I've been using for quite some time for builds with all ASM disabled.
```diff
--- secblock.h.orig 2020-12-08 14:05:04.000000000 -0500
+++ secblock.h 2020-12-08 23:26:20.332226000 -0500
@@ -486,7 +486,7 @@
private:
-#if defined(CRYPTOPP_BOOL_ALIGN16) && (defined(_M_X64) || defined(__x86_64__))
+#if CRYPTOPP_BOOL_ALIGN16 && (defined(_M_X64) || defined(__x86_64__))
// Before we can add additional platforms we need to check the
// linker documentation for alignment behavior for stack variables.
// CRYPTOPP_ALIGN_DATA(16) is known OK on Linux, OS X, Solaris.
@@ -497,7 +497,7 @@
}
CRYPTOPP_ALIGN_DATA(16) T m_array[S];
-#elif defined(CRYPTOPP_BOOL_ALIGN16)
+#elif CRYPTOPP_BOOL_ALIGN16
// There be demons here... We cannot use CRYPTOPP_ALIGN_DATA(16)
// because linkers on 32-bit machines (and some 64-bit machines)
@@ -539,7 +539,7 @@
// CRYPTOPP_BOOL_ALIGN16 is 0. Use natural alignment of T.
T* GetAlignedArray() {return m_array;}
- CRYPTOPP_ALIGN_DATA(4) T m_array[S];
+ CRYPTOPP_ALIGN_DATA(sizeof(T)) T m_array[S];
#endif
``` | Incorrect use of CRYPTOPP_BOOL_ALIGN16 in secblock.h | https://api.github.com/repos/weidai11/cryptopp/issues/982/comments | 9 | 2020-12-09T06:23:25Z | 2020-12-22T10:08:23Z | https://github.com/weidai11/cryptopp/issues/982 | 760,040,626 | 982 |
[
"weidai11",
"cryptopp"
] | I think the following should not pass ECDSA verification (invalid pubkey), but it does. Tested on Linux 64 bit, latest master branch checkout.
```cpp
#include <eccrypto.h>
#include <ecp.h>
#include <oids.h>
int main(void)
{
::CryptoPP::ECDSA<::CryptoPP::ECP, ::CryptoPP::SHA256>::PublicKey publicKey;
publicKey.Initialize(
::CryptoPP::ASN1::secp256k1(),
CryptoPP::ECP::Point(
CryptoPP::Integer("83326269377737301187045338455478996967104803243941757917076354219390730898031"),
CryptoPP::Integer("108911706275326467973600132368983151825997206660859431906025905780521963107049")
));
::CryptoPP::ECDSA<::CryptoPP::ECP, ::CryptoPP::SHA256>::Verifier verifier(publicKey);
const CryptoPP::Integer R("58459610944154385406267492095069703630366579530687393858060946682600281547621");
const CryptoPP::Integer S("166425580247629610000042226331335729376739920034019158271667950393311552549306");
uint8_t ct[] = {0x31, 0x32, 0x33, 0x34, 0x30, 0x30};
const size_t siglen = verifier.SignatureLength();
uint8_t signature[siglen];
R.Encode(signature + 0, siglen / 2);
S.Encode(signature + (siglen / 2), siglen / 2);
printf("%d\n", verifier.VerifyMessage(ct, sizeof(ct), signature, siglen));
return 0;
}
```
| ECDSA verification succeeds when it should fail | https://api.github.com/repos/weidai11/cryptopp/issues/981/comments | 7 | 2020-12-01T02:09:29Z | 2020-12-02T21:31:21Z | https://github.com/weidai11/cryptopp/issues/981 | 753,942,803 | 981 |
[
"weidai11",
"cryptopp"
] | * macOS Deployment Target: 10.11
* Crypto++ commit 7ea79f1, 2019-08-10 (== 8.2.0 + various additional commits that we needed due to #872 )
* Built with Xcode12, clang
There is a compiler error in algparam.h:313
```
312: #if defined(CRYPTOPP_CXX17_EXCEPTIONS)
313: if (std::uncaught_exceptions() == 0) // here
314: #elif defined(CRYPTOPP_UNCAUGHT_EXCEPTION_AVAILABLE)
315: if (std::uncaught_exception() == false)
316: #else
317: try
318: #endif
```
> 'uncaught_exceptions' is unavailable: introduced in macOS 10.12
This compiles fine with Xcode 11, but probably would cause a runtime error because the function is not actually part of the runtime in macOS 10.11 and lower. Xcode 12 adds this compiler error.
This could maybe be handled by evaluating the Macros from "AvailabilityMacros.h"
| std::uncaught_exceptions is only available for macOS >=10.12 | https://api.github.com/repos/weidai11/cryptopp/issues/980/comments | 2 | 2020-11-30T21:15:32Z | 2020-12-02T22:04:36Z | https://github.com/weidai11/cryptopp/issues/980 | 753,808,906 | 980 |
[
"weidai11",
"cryptopp"
] | Hey,
I am stuck with this since yesterday
I'm unable to link to cryptopp (Visual Studio 2019) statically.
Both Multi-threaded (/MT) and Multi-threaded Debug (/MTd) are set. (switching these to the DLL option fixes the issue, but I wanna build statically)
operating system (Windows 10 Pro 64 bit)
built using "vcpkg install cryptopp:x64-windows"
I also also tried downloading the repository and building it using VS which produces .lib files with different names and sizes than the vcpkg, but it didn't work either.
I've read about CRYPTOPP_DLL macro. I didn't know where to set it
Here's a screenshot of the vcpkg inside VS 2019

I don't have much experience with git and vcpkg (linking with external dependencies generally), but I tried my best googling since yesterday!
Sorry for the hassle
Severity Code Description Project File Line Suppression State
Error LNK2001 unresolved external symbol "public: virtual unsigned int __cdecl CryptoPP::BufferedTransformation::SkipMessages(unsigned int)" (?SkipMessages@BufferedTransformation@CryptoPP@@UEAAII@Z)
Error LNK2001 unresolved external symbol "public: virtual void __cdecl CryptoPP::BufferedTransformation::SkipAll(void)" (?SkipAll@BufferedTransformation@CryptoPP@@UEAAXXZ)
Error LNK2019 unresolved external symbol "public: unsigned __int64 __cdecl CryptoPP::BufferedTransformation::TransferMessagesTo2(class CryptoPP::BufferedTransformation &,unsigned int &,class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &,bool)" (?TransferMessagesTo2@BufferedTransformation@CryptoPP@@QEAA_KAEAV12@AEAIAEBV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@_N@Z) referenced in function "public: virtual unsigned __int64 __cdecl CryptoPP::SourceTemplate<class CryptoPP::StringStore>::PumpMessages2(unsigned int &,bool)" (?PumpMessages2@?$SourceTemplate@VStringStore@CryptoPP@@@CryptoPP@@UEAA_KAEAI_N@Z)
Error LNK2019 unresolved external symbol "public: unsigned __int64 __cdecl CryptoPP::BufferedTransformation::TransferAllTo2(class CryptoPP::BufferedTransformation &,class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &,bool)" (?TransferAllTo2@BufferedTransformation@CryptoPP@@QEAA_KAEAV12@AEBV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@_N@Z) referenced in function "public: virtual unsigned __int64 __cdecl CryptoPP::SourceTemplate<class CryptoPP::StringStore>::PumpAll2(bool)" (?PumpAll2@?$SourceTemplate@VStringStore@CryptoPP@@@CryptoPP@@UEAA_K_N@Z)
Error LNK2001 unresolved external symbol "public: virtual unsigned char * __cdecl CryptoPP::BufferedTransformation::ChannelCreatePutSpace(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &,unsigned __int64 &)" (?ChannelCreatePutSpace@BufferedTransformation@CryptoPP@@UEAAPEAEAEBV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@AEA_K@Z)
Error LNK2001 unresolved external symbol "public: virtual unsigned __int64 __cdecl CryptoPP::BufferedTransformation::ChannelPut2(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &,unsigned char const *,unsigned __int64,int,bool)" (?ChannelPut2@BufferedTransformation@CryptoPP@@UEAA_KAEBV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@PEBE_KH_N@Z)
Error LNK2001 unresolved external symbol "public: virtual unsigned __int64 __cdecl CryptoPP::BufferedTransformation::ChannelPutModifiable2(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &,unsigned char *,unsigned __int64,int,bool)" (?ChannelPutModifiable2@BufferedTransformation@CryptoPP@@UEAA_KAEBV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@PEAE_KH_N@Z)
Error LNK2001 unresolved external symbol "public: virtual bool __cdecl CryptoPP::BufferedTransformation::ChannelFlush(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &,bool,int,bool)" (?ChannelFlush@BufferedTransformation@CryptoPP@@UEAA_NAEBV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@_NH1@Z)
Error LNK2001 unresolved external symbol "public: virtual bool __cdecl CryptoPP::BufferedTransformation::ChannelMessageSeriesEnd(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &,int,bool)" (?ChannelMessageSeriesEnd@BufferedTransformation@CryptoPP@@UEAA_NAEBV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@H_N@Z)
Error LNK2001 unresolved external symbol "public: virtual void __cdecl CryptoPP::BufferedTransformation::SetRetrievalChannel(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &)" (?SetRetrievalChannel@BufferedTransformation@CryptoPP@@UEAAXAEBV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@Z)
Error LNK2001 unresolved external symbol "public: virtual void __cdecl CryptoPP::BufferedTransformation::Attach(class CryptoPP::BufferedTransformation *)" (?Attach@BufferedTransformation@CryptoPP@@UEAAXPEAV12@@Z)
Error LNK2019 unresolved external symbol "void * __cdecl CryptoPP::AlignedAllocate(unsigned __int64)" (?AlignedAllocate@CryptoPP@@YAPEAX_K@Z) referenced in function "public: unsigned char * __cdecl CryptoPP::AllocatorWithCleanup<unsigned char,0>::allocate(unsigned __int64,void const *)" (?allocate@?$AllocatorWithCleanup@E$0A@@CryptoPP@@QEAAPEAE_KPEBX@Z)
Error LNK2019 unresolved external symbol "void __cdecl CryptoPP::AlignedDeallocate(void *)" (?AlignedDeallocate@CryptoPP@@YAXPEAX@Z) referenced in function "public: void __cdecl CryptoPP::AllocatorWithCleanup<unsigned char,0>::deallocate(void *,unsigned __int64)" (?deallocate@?$AllocatorWithCleanup@E$0A@@CryptoPP@@QEAAXPEAX_K@Z)
Error LNK2019 unresolved external symbol "void * __cdecl CryptoPP::UnalignedAllocate(unsigned __int64)" (?UnalignedAllocate@CryptoPP@@YAPEAX_K@Z) referenced in function "public: unsigned char * __cdecl CryptoPP::AllocatorWithCleanup<unsigned char,0>::allocate(unsigned __int64,void const *)" (?allocate@?$AllocatorWithCleanup@E$0A@@CryptoPP@@QEAAPEAE_KPEBX@Z)
Error LNK2019 unresolved external symbol "void __cdecl CryptoPP::UnalignedDeallocate(void *)" (?UnalignedDeallocate@CryptoPP@@YAXPEAX@Z) referenced in function "public: void __cdecl CryptoPP::AllocatorWithCleanup<unsigned char,0>::deallocate(void *,unsigned __int64)" (?deallocate@?$AllocatorWithCleanup@E$0A@@CryptoPP@@QEAAXPEAX_K@Z)
Error LNK2001 unresolved external symbol "public: virtual bool __cdecl CryptoPP::Store::GetNextMessage(void)" (?GetNextMessage@Store@CryptoPP@@UEAA_NXZ)
Error LNK2019 unresolved external symbol "bool __cdecl CryptoPP::AssignIntToInteger(class type_info const &,void *,void const *)" (?AssignIntToInteger@CryptoPP@@YA_NAEBVtype_info@@PEAXPEBX@Z) referenced in function "public: virtual void __cdecl CryptoPP::AlgorithmParametersTemplate<int>::AssignValue(char const *,class type_info const &,void *)const " (?AssignValue@?$AlgorithmParametersTemplate@H@CryptoPP@@UEBAXPEBDAEBVtype_info@@PEAX@Z)
Error LNK2019 unresolved external symbol "public: __cdecl CryptoPP::AlgorithmParameters::AlgorithmParameters(void)" (??0AlgorithmParameters@CryptoPP@@QEAA@XZ) referenced in function "class CryptoPP::AlgorithmParameters __cdecl CryptoPP::MakeParameters<int const *>(char const *,int const * const &,bool)" (??$MakeParameters@PEBH@CryptoPP@@YA?AVAlgorithmParameters@0@PEBDAEBQEBH_N@Z)
Error LNK2019 unresolved external symbol "public: __cdecl CryptoPP::AlgorithmParameters::AlgorithmParameters(class CryptoPP::AlgorithmParameters const &)" (??0AlgorithmParameters@CryptoPP@@QEAA@AEBV01@@Z) referenced in function "class CryptoPP::AlgorithmParameters __cdecl CryptoPP::MakeParameters<int const *>(char const *,int const * const &,bool)" (??$MakeParameters@PEBH@CryptoPP@@YA?AVAlgorithmParameters@0@PEBDAEBQEBH_N@Z)
Error LNK2019 unresolved external symbol "public: __cdecl CryptoPP::Filter::Filter(class CryptoPP::BufferedTransformation *)" (??0Filter@CryptoPP@@QEAA@PEAVBufferedTransformation@1@@Z) referenced in function "public: __cdecl CryptoPP::Bufferless<class CryptoPP::Filter>::Bufferless<class CryptoPP::Filter>(void)" (??0?$Bufferless@VFilter@CryptoPP@@@CryptoPP@@QEAA@XZ)
Error LNK2001 unresolved external symbol "public: virtual class CryptoPP::BufferedTransformation * __cdecl CryptoPP::Filter::AttachedTransformation(void)" (?AttachedTransformation@Filter@CryptoPP@@UEAAPEAVBufferedTransformation@2@XZ)
Error LNK2001 unresolved external symbol "public: virtual class CryptoPP::BufferedTransformation const * __cdecl CryptoPP::Filter::AttachedTransformation(void)const " (?AttachedTransformation@Filter@CryptoPP@@UEBAPEBVBufferedTransformation@2@XZ)
Error LNK2019 unresolved external symbol "public: virtual void __cdecl CryptoPP::Filter::Detach(class CryptoPP::BufferedTransformation *)" (?Detach@Filter@CryptoPP@@UEAAXPEAVBufferedTransformation@2@@Z) referenced in function "public: __cdecl CryptoPP::BaseN_Decoder::BaseN_Decoder(int const *,int,class CryptoPP::BufferedTransformation *)" (??0BaseN_Decoder@CryptoPP@@QEAA@PEBHHPEAVBufferedTransformation@1@@Z)
Error LNK2001 unresolved external symbol "public: virtual unsigned __int64 __cdecl CryptoPP::Filter::TransferTo2(class CryptoPP::BufferedTransformation &,unsigned __int64 &,class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &,bool)" (?TransferTo2@Filter@CryptoPP@@UEAA_KAEAVBufferedTransformation@2@AEA_KAEBV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@_N@Z)
Error LNK2001 unresolved external symbol "public: virtual unsigned __int64 __cdecl CryptoPP::Filter::CopyRangeTo2(class CryptoPP::BufferedTransformation &,unsigned __int64 &,unsigned __int64,class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &,bool)const " (?CopyRangeTo2@Filter@CryptoPP@@UEBA_KAEAVBufferedTransformation@2@AEA_K_KAEBV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@_N@Z)
Error LNK2001 unresolved external symbol "public: virtual void __cdecl CryptoPP::Filter::Initialize(class CryptoPP::NameValuePairs const &,int)" (?Initialize@Filter@CryptoPP@@UEAAXAEBVNameValuePairs@2@H@Z)
Error LNK2001 unresolved external symbol "public: virtual bool __cdecl CryptoPP::Filter::Flush(bool,int,bool)" (?Flush@Filter@CryptoPP@@UEAA_N_NH0@Z)
Error LNK2001 unresolved external symbol "public: virtual bool __cdecl CryptoPP::Filter::MessageSeriesEnd(int,bool)" (?MessageSeriesEnd@Filter@CryptoPP@@UEAA_NH_N@Z)
Error LNK2001 unresolved external symbol "protected: virtual class CryptoPP::BufferedTransformation * __cdecl CryptoPP::Filter::NewDefaultAttachment(void)const " (?NewDefaultAttachment@Filter@CryptoPP@@MEBAPEAVBufferedTransformation@2@XZ)
Error LNK2001 unresolved external symbol "public: virtual void __cdecl CryptoPP::FilterWithBufferedInput::IsolatedInitialize(class CryptoPP::NameValuePairs const &)" (?IsolatedInitialize@FilterWithBufferedInput@CryptoPP@@UEAAXAEBVNameValuePairs@2@@Z)
Error LNK2001 unresolved external symbol "public: virtual bool __cdecl CryptoPP::FilterWithBufferedInput::IsolatedFlush(bool,bool)" (?IsolatedFlush@FilterWithBufferedInput@CryptoPP@@UEAA_N_N0@Z)
Error LNK2001 unresolved external symbol "protected: virtual void __cdecl CryptoPP::FilterWithBufferedInput::NextPutMultiple(unsigned char const *,unsigned __int64)" (?NextPutMultiple@FilterWithBufferedInput@CryptoPP@@MEAAXPEBE_K@Z)
Error LNK2019 unresolved external symbol "protected: unsigned __int64 __cdecl CryptoPP::FilterWithBufferedInput::PutMaybeModifiable(unsigned char *,unsigned __int64,int,bool,bool)" (?PutMaybeModifiable@FilterWithBufferedInput@CryptoPP@@IEAA_KPEAE_KH_N2@Z) referenced in function "public: virtual unsigned __int64 __cdecl CryptoPP::FilterWithBufferedInput::Put2(unsigned char const *,unsigned __int64,int,bool)" (?Put2@FilterWithBufferedInput@CryptoPP@@UEAA_KPEBE_KH_N@Z)
Error LNK2019 unresolved external symbol "public: __cdecl CryptoPP::StreamTransformationFilter::StreamTransformationFilter(class CryptoPP::StreamTransformation &,class CryptoPP::BufferedTransformation *,enum CryptoPP::BlockPaddingSchemeDef::BlockPaddingScheme)" (??0StreamTransformationFilter@CryptoPP@@QEAA@AEAVStreamTransformation@1@PEAVBufferedTransformation@1@W4BlockPaddingScheme@BlockPaddingSchemeDef@1@@Z) referenced in function "public: class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > __cdecl Crypt::AES256::Decrypt(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &)" (?Decrypt@AES256@Crypt@@QEAA?AV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@AEBV34@@Z)
Error LNK2019 unresolved external symbol "public: __cdecl CryptoPP::HashFilter::HashFilter(class CryptoPP::HashTransformation &,class CryptoPP::BufferedTransformation *,bool,int,class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &,class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &)" (??0HashFilter@CryptoPP@@QEAA@AEAVHashTransformation@1@PEAVBufferedTransformation@1@_NHAEBV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@3@Z) referenced in function "class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > __cdecl Crypt::SHA256::HashString(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &)" (?HashString@SHA256@Crypt@@YA?AV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@AEBV34@@Z)
Error LNK2019 unresolved external symbol "public: __cdecl CryptoPP::ProxyFilter::ProxyFilter(class CryptoPP::BufferedTransformation *,unsigned __int64,unsigned __int64,class CryptoPP::BufferedTransformation *)" (??0ProxyFilter@CryptoPP@@QEAA@PEAVBufferedTransformation@1@_K10@Z) referenced in function "public: __cdecl CryptoPP::SimpleProxyFilter::SimpleProxyFilter(class CryptoPP::BufferedTransformation *,class CryptoPP::BufferedTransformation *)" (??0SimpleProxyFilter@CryptoPP@@QEAA@PEAVBufferedTransformation@1@0@Z)
Error LNK2001 unresolved external symbol "public: virtual bool __cdecl CryptoPP::ProxyFilter::IsolatedFlush(bool,bool)" (?IsolatedFlush@ProxyFilter@CryptoPP@@UEAA_N_N0@Z)
Error LNK2001 unresolved external symbol "public: virtual void __cdecl CryptoPP::ProxyFilter::NextPutMultiple(unsigned char const *,unsigned __int64)" (?NextPutMultiple@ProxyFilter@CryptoPP@@UEAAXPEBE_K@Z)
Error LNK2001 unresolved external symbol "public: virtual void __cdecl CryptoPP::ProxyFilter::NextPutModifiable(unsigned char *,unsigned __int64)" (?NextPutModifiable@ProxyFilter@CryptoPP@@UEAAXPEAE_K@Z)
Error LNK2001 unresolved external symbol "public: virtual unsigned __int64 __cdecl CryptoPP::StringStore::TransferTo2(class CryptoPP::BufferedTransformation &,unsigned __int64 &,class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &,bool)" (?TransferTo2@StringStore@CryptoPP@@UEAA_KAEAVBufferedTransformation@2@AEA_KAEBV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@_N@Z)
Error LNK2001 unresolved external symbol "public: virtual unsigned __int64 __cdecl CryptoPP::StringStore::CopyRangeTo2(class CryptoPP::BufferedTransformation &,unsigned __int64 &,unsigned __int64,class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &,bool)const " (?CopyRangeTo2@StringStore@CryptoPP@@UEBA_KAEAVBufferedTransformation@2@AEA_K_KAEBV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@_N@Z)
Error LNK2019 unresolved external symbol "private: virtual void __cdecl CryptoPP::StringStore::StoreInitialize(class CryptoPP::NameValuePairs const &)" (?StoreInitialize@StringStore@CryptoPP@@EEAAXAEBVNameValuePairs@2@@Z) referenced in function "public: __cdecl CryptoPP::StringStore::StringStore(char const *)" (??0StringStore@CryptoPP@@QEAA@PEBD@Z)
Error LNK2001 unresolved external symbol "public: virtual void __cdecl CryptoPP::Rijndael::Base::UncheckedSetKey(unsigned char const *,unsigned int,class CryptoPP::NameValuePairs const &)" (?UncheckedSetKey@Base@Rijndael@CryptoPP@@UEAAXPEBEIAEBVNameValuePairs@3@@Z)
Error LNK2001 unresolved external symbol "public: virtual class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > __cdecl CryptoPP::Rijndael::Base::AlgorithmProvider(void)const " (?AlgorithmProvider@Base@Rijndael@CryptoPP@@UEBA?AV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@XZ)
Error LNK2001 unresolved external symbol "public: virtual unsigned int __cdecl CryptoPP::Rijndael::Base::OptimalDataAlignment(void)const " (?OptimalDataAlignment@Base@Rijndael@CryptoPP@@UEBAIXZ)
Error LNK2001 unresolved external symbol "public: virtual void __cdecl CryptoPP::Rijndael::Enc::ProcessAndXorBlock(unsigned char const *,unsigned char const *,unsigned char *)const " (?ProcessAndXorBlock@Enc@Rijndael@CryptoPP@@UEBAXPEBE0PEAE@Z)
Error LNK2001 unresolved external symbol "public: virtual unsigned __int64 __cdecl CryptoPP::Rijndael::Enc::AdvancedProcessBlocks(unsigned char const *,unsigned char const *,unsigned char *,unsigned __int64,unsigned int)const " (?AdvancedProcessBlocks@Enc@Rijndael@CryptoPP@@UEBA_KPEBE0PEAE_KI@Z)
Error LNK2001 unresolved external symbol "public: virtual void __cdecl CryptoPP::Rijndael::Dec::ProcessAndXorBlock(unsigned char const *,unsigned char const *,unsigned char *)const " (?ProcessAndXorBlock@Dec@Rijndael@CryptoPP@@UEBAXPEBE0PEAE@Z)
Error LNK2001 unresolved external symbol "public: virtual unsigned __int64 __cdecl CryptoPP::Rijndael::Dec::AdvancedProcessBlocks(unsigned char const *,unsigned char const *,unsigned char *,unsigned __int64,unsigned int)const " (?AdvancedProcessBlocks@Dec@Rijndael@CryptoPP@@UEBA_KPEBE0PEAE_KI@Z)
Error LNK2019 unresolved external symbol "public: __cdecl CryptoPP::RandomPool::RandomPool(void)" (??0RandomPool@CryptoPP@@QEAA@XZ) referenced in function "public: __cdecl CryptoPP::AutoSeededRandomPool::AutoSeededRandomPool(bool,unsigned int)" (??0AutoSeededRandomPool@CryptoPP@@QEAA@_NI@Z)
Error LNK2001 unresolved external symbol "public: virtual void __cdecl CryptoPP::RandomPool::IncorporateEntropy(unsigned char const *,unsigned __int64)" (?IncorporateEntropy@RandomPool@CryptoPP@@UEAAXPEBE_K@Z)
Error LNK2001 unresolved external symbol "public: virtual void __cdecl CryptoPP::RandomPool::GenerateIntoBufferedTransformation(class CryptoPP::BufferedTransformation &,class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &,unsigned __int64)" (?GenerateIntoBufferedTransformation@RandomPool@CryptoPP@@UEAAXAEAVBufferedTransformation@2@AEBV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@_K@Z)
Error LNK2019 unresolved external symbol "public: virtual void __cdecl CryptoPP::IteratedHashBase<unsigned int,class CryptoPP::HashTransformation>::Update(unsigned char const *,unsigned __int64)" (?Update@?$IteratedHashBase@IVHashTransformation@CryptoPP@@@CryptoPP@@UEAAXPEBE_K@Z) referenced in function "class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > __cdecl Crypt::SHA256::HashMemory(unsigned char const *,unsigned __int64)" (?HashMemory@SHA256@Crypt@@YA?AV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@PEBE_K@Z)
Error LNK2001 unresolved external symbol "public: virtual unsigned char * __cdecl CryptoPP::IteratedHashBase<unsigned int,class CryptoPP::HashTransformation>::CreateUpdateSpace(unsigned __int64 &)" (?CreateUpdateSpace@?$IteratedHashBase@IVHashTransformation@CryptoPP@@@CryptoPP@@UEAAPEAEAEA_K@Z)
Error LNK2001 unresolved external symbol "public: virtual void __cdecl CryptoPP::IteratedHashBase<unsigned int,class CryptoPP::HashTransformation>::Restart(void)" (?Restart@?$IteratedHashBase@IVHashTransformation@CryptoPP@@@CryptoPP@@UEAAXXZ)
Error LNK2001 unresolved external symbol "public: virtual void __cdecl CryptoPP::IteratedHashBase<unsigned int,class CryptoPP::HashTransformation>::TruncatedFinal(unsigned char *,unsigned __int64)" (?TruncatedFinal@?$IteratedHashBase@IVHashTransformation@CryptoPP@@@CryptoPP@@UEAAXPEAE_K@Z)
Error LNK2019 unresolved external symbol "public: static void __cdecl CryptoPP::SHA256::InitState(unsigned int *)" (?InitState@SHA256@CryptoPP@@SAXPEAI@Z) referenced in function "protected: virtual void __cdecl CryptoPP::IteratedHashWithStaticTransform<unsigned int,struct CryptoPP::EnumToType<enum CryptoPP::ByteOrder,1>,64,32,class CryptoPP::SHA256,32,1>::Init(void)" (?Init@?$IteratedHashWithStaticTransform@IU?$EnumToType@W4ByteOrder@CryptoPP@@$00@CryptoPP@@$0EA@$0CA@VSHA256@2@$0CA@$00@CryptoPP@@MEAAXXZ)
Error LNK2019 unresolved external symbol "public: static void __cdecl CryptoPP::SHA256::Transform(unsigned int *,unsigned int const *)" (?Transform@SHA256@CryptoPP@@SAXPEAIPEBI@Z) referenced in function "protected: virtual void __cdecl CryptoPP::IteratedHashWithStaticTransform<unsigned int,struct CryptoPP::EnumToType<enum CryptoPP::ByteOrder,1>,64,32,class CryptoPP::SHA256,32,1>::HashEndianCorrectedBlock(unsigned int const *)" (?HashEndianCorrectedBlock@?$IteratedHashWithStaticTransform@IU?$EnumToType@W4ByteOrder@CryptoPP@@$00@CryptoPP@@$0EA@$0CA@VSHA256@2@$0CA@$00@CryptoPP@@MEAAXPEBI@Z)
Error LNK2001 unresolved external symbol "public: virtual class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > __cdecl CryptoPP::SHA256::AlgorithmProvider(void)const " (?AlgorithmProvider@SHA256@CryptoPP@@UEBA?AV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@XZ)
Error LNK2001 unresolved external symbol "protected: virtual unsigned __int64 __cdecl CryptoPP::SHA256::HashMultipleBlocks(unsigned int const *,unsigned __int64)" (?HashMultipleBlocks@SHA256@CryptoPP@@MEAA_KPEBI_K@Z)
Error LNK2019 unresolved external symbol "public: void __cdecl CryptoPP::AutoSeededRandomPool::Reseed(bool,unsigned int)" (?Reseed@AutoSeededRandomPool@CryptoPP@@QEAAX_NI@Z) referenced in function "public: __cdecl CryptoPP::AutoSeededRandomPool::AutoSeededRandomPool(bool,unsigned int)" (??0AutoSeededRandomPool@CryptoPP@@QEAA@_NI@Z)
Error LNK2001 unresolved external symbol "public: virtual void __cdecl CryptoPP::BaseN_Encoder::IsolatedInitialize(class CryptoPP::NameValuePairs const &)" (?IsolatedInitialize@BaseN_Encoder@CryptoPP@@UEAAXAEBVNameValuePairs@2@@Z)
Error LNK2001 unresolved external symbol "public: virtual unsigned __int64 __cdecl CryptoPP::BaseN_Encoder::Put2(unsigned char const *,unsigned __int64,int,bool)" (?Put2@BaseN_Encoder@CryptoPP@@UEAA_KPEBE_KH_N@Z)
Error LNK2019 unresolved external symbol "public: virtual void __cdecl CryptoPP::BaseN_Decoder::IsolatedInitialize(class CryptoPP::NameValuePairs const &)" (?IsolatedInitialize@BaseN_Decoder@CryptoPP@@UEAAXAEBVNameValuePairs@2@@Z) referenced in function "public: __cdecl CryptoPP::BaseN_Decoder::BaseN_Decoder(int const *,int,class CryptoPP::BufferedTransformation *)" (??0BaseN_Decoder@CryptoPP@@QEAA@PEBHHPEAVBufferedTransformation@1@@Z)
Error LNK2001 unresolved external symbol "public: virtual unsigned __int64 __cdecl CryptoPP::BaseN_Decoder::Put2(unsigned char const *,unsigned __int64,int,bool)" (?Put2@BaseN_Decoder@CryptoPP@@UEAA_KPEBE_KH_N@Z)
Error LNK2001 unresolved external symbol "public: virtual void __cdecl CryptoPP::Grouper::IsolatedInitialize(class CryptoPP::NameValuePairs const &)" (?IsolatedInitialize@Grouper@CryptoPP@@UEAAXAEBVNameValuePairs@2@@Z)
Error LNK2001 unresolved external symbol "public: virtual unsigned __int64 __cdecl CryptoPP::Grouper::Put2(unsigned char const *,unsigned __int64,int,bool)" (?Put2@Grouper@CryptoPP@@UEAA_KPEBE_KH_N@Z)
Error LNK2019 unresolved external symbol "public: virtual void __cdecl CryptoPP::HexEncoder::IsolatedInitialize(class CryptoPP::NameValuePairs const &)" (?IsolatedInitialize@HexEncoder@CryptoPP@@UEAAXAEBVNameValuePairs@2@@Z) referenced in function "public: __cdecl CryptoPP::HexEncoder::HexEncoder(class CryptoPP::BufferedTransformation *,bool,int,class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &,class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &)" (??0HexEncoder@CryptoPP@@QEAA@PEAVBufferedTransformation@1@_NHAEBV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@2@Z)
Error LNK2001 unresolved external symbol "public: virtual void __cdecl CryptoPP::HexDecoder::IsolatedInitialize(class CryptoPP::NameValuePairs const &)" (?IsolatedInitialize@HexDecoder@CryptoPP@@UEAAXAEBVNameValuePairs@2@@Z)
Error LNK2019 unresolved external symbol "private: static int const * __cdecl CryptoPP::HexDecoder::GetDefaultDecodingLookupArray(void)" (?GetDefaultDecodingLookupArray@HexDecoder@CryptoPP@@CAPEBHXZ) referenced in function "public: __cdecl CryptoPP::HexDecoder::HexDecoder(class CryptoPP::BufferedTransformation *)" (??0HexDecoder@CryptoPP@@QEAA@PEAVBufferedTransformation@1@@Z)
Error LNK2001 unresolved external symbol "public: virtual void __cdecl CryptoPP::BlockOrientedCipherModeBase::UncheckedSetKey(unsigned char const *,unsigned int,class CryptoPP::NameValuePairs const &)" (?UncheckedSetKey@BlockOrientedCipherModeBase@CryptoPP@@UEAAXPEBEIAEBVNameValuePairs@2@@Z)
Error LNK2019 unresolved external symbol "protected: virtual void __cdecl CryptoPP::BlockOrientedCipherModeBase::ResizeBuffers(void)" (?ResizeBuffers@BlockOrientedCipherModeBase@CryptoPP@@MEAAXXZ) referenced in function "public: __cdecl CryptoPP::CipherModeFinalTemplate_CipherHolder<class CryptoPP::BlockCipherFinal<0,class CryptoPP::Rijndael::Enc>,class CryptoPP::CBC_Encryption>::CipherModeFinalTemplate_CipherHolder<class CryptoPP::BlockCipherFinal<0,class CryptoPP::Rijndael::Enc>,class CryptoPP::CBC_Encryption>(void)" (??0?$CipherModeFinalTemplate_CipherHolder@V?$BlockCipherFinal@$0A@VEnc@Rijndael@CryptoPP@@@CryptoPP@@VCBC_Encryption@2@@CryptoPP@@QEAA@XZ)
Error LNK2001 unresolved external symbol "public: virtual void __cdecl CryptoPP::CBC_Encryption::ProcessData(unsigned char *,unsigned char const *,unsigned __int64)" (?ProcessData@CBC_Encryption@CryptoPP@@UEAAXPEAEPEBE_K@Z)
Error LNK2001 unresolved external symbol "public: virtual void __cdecl CryptoPP::CBC_Decryption::ProcessData(unsigned char *,unsigned char const *,unsigned __int64)" (?ProcessData@CBC_Decryption@CryptoPP@@UEAAXPEAEPEBE_K@Z)
| Unable to link statically | https://api.github.com/repos/weidai11/cryptopp/issues/979/comments | 0 | 2020-11-23T15:57:05Z | 2021-02-03T18:13:21Z | https://github.com/weidai11/cryptopp/issues/979 | 748,921,490 | 979 |
[
"weidai11",
"cryptopp"
] | Been using this library for a project for a few years fine. The only change is C++17. Building `cryptest` is ok.
Windows 10 x64. Crypto++ 7.0
VS2017 (VC14.1)
Build Errors:
```
1>c:\program files (x86)\microsoft visual studio\2017\community\vc\tools\msvc\14.16.27023\include\chrono(569): warning C4002: too many arguments for function-like macro invocation 'round'
1>c:\program files (x86)\microsoft visual studio\2017\community\vc\tools\msvc\14.16.27023\include\chrono(569): error C2988: unrecognizable template declaration/definition
1>c:\program files (x86)\microsoft visual studio\2017\community\vc\tools\msvc\14.16.27023\include\chrono(569): error C2059: syntax error: 'const'
1>c:\program files (x86)\microsoft visual studio\2017\community\vc\tools\msvc\14.16.27023\include\chrono(569): error C2059: syntax error: ')'
1>c:\program files (x86)\microsoft visual studio\2017\community\vc\tools\msvc\14.16.27023\include\chrono(569): error C2947: expecting '>' to terminate template-argument-list, found '<'
1>c:\program files (x86)\microsoft visual studio\2017\community\vc\tools\msvc\14.16.27023\include\chrono(570): error C2143: syntax error: missing ';' before '{'
1>c:\program files (x86)\microsoft visual studio\2017\community\vc\tools\msvc\14.16.27023\include\chrono(571): error C2143: syntax error: missing ';' before '{'
1>c:\program files (x86)\microsoft visual studio\2017\community\vc\tools\msvc\14.16.27023\include\chrono(572): error C2143: syntax error: missing ';' before '{'
1>c:\program files (x86)\microsoft visual studio\2017\community\vc\tools\msvc\14.16.27023\include\chrono(575): error C2947: expecting '>' to terminate template-argument-list, found '<'
1>c:\program files (x86)\microsoft visual studio\2017\community\vc\tools\msvc\14.16.27023\include\chrono(577): error C2143: syntax error: missing ';' before '{'
1>c:\program files (x86)\microsoft visual studio\2017\community\vc\tools\msvc\14.16.27023\include\chrono(577): error C2143: syntax error: missing ')' before ';'
1>c:\program files (x86)\microsoft visual studio\2017\community\vc\tools\msvc\14.16.27023\include\chrono(579): error C2143: syntax error: missing ';' before '}'
1>c:\program files (x86)\microsoft visual studio\2017\community\vc\tools\msvc\14.16.27023\include\chrono(582): error C2143: syntax error: missing ';' before '}'
1>c:\program files (x86)\microsoft visual studio\2017\community\vc\tools\msvc\14.16.27023\include\chrono(585): error C2649: 'typename': is not a 'class'
1>c:\program files (x86)\microsoft visual studio\2017\community\vc\tools\msvc\14.16.27023\include\chrono(606): error C2649: 'typename': is not a 'class'
1>c:\program files (x86)\microsoft visual studio\2017\community\vc\tools\msvc\14.16.27023\include\chrono(756): warning C4002: too many arguments for function-like macro invocation 'round'
1>c:\program files (x86)\microsoft visual studio\2017\community\vc\tools\msvc\14.16.27023\include\chrono(756): error C2059: syntax error: ')'
1>c:\program files (x86)\microsoft visual studio\2017\community\vc\tools\msvc\14.16.27023\include\chrono(756): fatal error C1075: '{': no matching token found
``` | MSVC14 - chrono conflict | https://api.github.com/repos/weidai11/cryptopp/issues/978/comments | 2 | 2020-11-17T22:59:59Z | 2021-02-03T18:13:54Z | https://github.com/weidai11/cryptopp/issues/978 | 745,150,436 | 978 |
[
"weidai11",
"cryptopp"
] |
I am trying to use CryptoPP lib in a Qt project. I first built Crytplib using Visual C++ 2019. I changed Runtime options to MDd (Multithread Debug DLL). It generated cryptlib.lib.
In Qt, I added:
`LIBS += -L$$PWD/../libs/CryptoPP/x64/Output/Release/ -lcryptlib`
`INCLUDEPATH += $$PWD/../libs/CryptoPP`
Compiling gives the following errors:
```
cryptlib.lib(keccak_core.obj) : error LNK2001: symbole externe non résolu __CxxFrameHandler4
cryptlib.lib(ecp.obj) : error LNK2001: symbole externe non résolu __CxxFrameHandler4
cryptlib.lib(rng.obj) : error LNK2001: symbole externe non résolu __CxxFrameHandler4
cryptlib.lib(rijndael_simd.obj) : error LNK2001: symbole externe non résolu __CxxFrameHandler4
cryptlib.lib(des.obj) : error LNK2001: symbole externe non résolu __CxxFrameHandler4
cryptlib.lib(gfpcrypt.obj) : error LNK2001: symbole externe non résolu __CxxFrameHandler4
cryptlib.lib(hmac.obj) : error LNK2001: symbole externe non résolu __CxxFrameHandler4
cryptlib.lib(gf2n.obj) : error LNK2001: symbole externe non résolu __CxxFrameHandler4
cryptlib.lib(ec2n.obj) : error LNK2001: symbole externe non résolu __CxxFrameHandler4
cryptlib.lib(modes.obj) : error LNK2001: symbole externe non résolu __CxxFrameHandler4
cryptlib.lib(oaep.obj) : error LNK2001: symbole externe non résolu __CxxFrameHandler4
cryptlib.lib(sha3.obj) : error LNK2001: symbole externe non résolu __CxxFrameHandler4
cryptlib.lib(pssr.obj) : error LNK2001: symbole externe non résolu __CxxFrameHandler4
cryptlib.lib(nbtheory.obj) : error LNK2001: symbole externe non résolu __CxxFrameHandler4
cryptlib.lib(sha_simd.obj) : error LNK2001: symbole externe non résolu __CxxFrameHandler4
cryptlib.lib(rijndael.obj) : error LNK2001: symbole externe non résolu __CxxFrameHandler4
cryptlib.lib(hrtimer.obj) : error LNK2001: symbole externe non résolu __CxxFrameHandler4
cryptlib.lib(base64.obj) : error LNK2001: symbole externe non résolu __CxxFrameHandler4
cryptlib.lib(files.obj) : error LNK2001: symbole externe non résolu __CxxFrameHandler4
cryptlib.lib(mqueue.obj) : error LNK2001: symbole externe non résolu __CxxFrameHandler4
cryptlib.lib(dll.obj) : error LNK2001: symbole externe non résolu __CxxFrameHandler4
cryptlib.lib(pubkey.obj) : error LNK2001: symbole externe non résolu __CxxFrameHandler4
cryptlib.lib(pkcspad.obj) : error LNK2001: symbole externe non résolu __CxxFrameHandler4
cryptlib.lib(asn.obj) : error LNK2001: symbole externe non résolu __CxxFrameHandler4
cryptlib.lib(rsa.obj) : error LNK2001: symbole externe non résolu __CxxFrameHandler4
cryptlib.lib(iterhash.obj) : error LNK2001: symbole externe non résolu __CxxFrameHandler4
cryptlib.lib(sha.obj) : error LNK2001: symbole externe non résolu __CxxFrameHandler4
cryptlib.lib(randpool.obj) : error LNK2001: symbole externe non résolu __CxxFrameHandler4
cryptlib.lib(osrng.obj) : error LNK2001: symbole externe non résolu __CxxFrameHandler4
cryptlib.lib(algparam.obj) : error LNK2001: symbole externe non résolu __CxxFrameHandler4
cryptlib.lib(queue.obj) : error LNK2001: symbole externe non résolu __CxxFrameHandler4
cryptlib.lib(basecode.obj) : error LNK2001: symbole externe non résolu __CxxFrameHandler4
cryptlib.lib(hex.obj) : error LNK2001: symbole externe non résolu __CxxFrameHandler4
cryptlib.lib(cryptlib.obj) : error LNK2001: symbole externe non résolu __CxxFrameHandler4
cryptlib.lib(misc.obj) : error LNK2001: symbole externe non résolu __CxxFrameHandler4
cryptlib.lib(filters.obj) : error LNK2001: symbole externe non résolu __CxxFrameHandler4
cryptlib.lib(integer.obj) : error LNK2001: symbole externe non résolu __CxxFrameHandler4
cryptlib.lib(keccak_core.obj) : error LNK2001: symbole externe non résolu __GSHandlerCheck_EH4
cryptlib.lib(ecp.obj) : error LNK2001: symbole externe non résolu __GSHandlerCheck_EH4
cryptlib.lib(rng.obj) : error LNK2001: symbole externe non résolu __GSHandlerCheck_EH4
cryptlib.lib(rijndael_simd.obj) : error LNK2001: symbole externe non résolu __GSHandlerCheck_EH4
cryptlib.lib(des.obj) : error LNK2001: symbole externe non résolu __GSHandlerCheck_EH4
cryptlib.lib(gfpcrypt.obj) : error LNK2001: symbole externe non résolu __GSHandlerCheck_EH4
cryptlib.lib(hmac.obj) : error LNK2001: symbole externe non résolu __GSHandlerCheck_EH4
cryptlib.lib(gf2n.obj) : error LNK2001: symbole externe non résolu __GSHandlerCheck_EH4
cryptlib.lib(ec2n.obj) : error LNK2001: symbole externe non résolu __GSHandlerCheck_EH4
cryptlib.lib(modes.obj) : error LNK2001: symbole externe non résolu __GSHandlerCheck_EH4
cryptlib.lib(oaep.obj) : error LNK2001: symbole externe non résolu __GSHandlerCheck_EH4
cryptlib.lib(sha3.obj) : error LNK2001: symbole externe non résolu __GSHandlerCheck_EH4
cryptlib.lib(pssr.obj) : error LNK2001: symbole externe non résolu __GSHandlerCheck_EH4
cryptlib.lib(nbtheory.obj) : error LNK2001: symbole externe non résolu __GSHandlerCheck_EH4
cryptlib.lib(sha_simd.obj) : error LNK2001: symbole externe non résolu __GSHandlerCheck_EH4
cryptlib.lib(rijndael.obj) : error LNK2001: symbole externe non résolu __GSHandlerCheck_EH4
cryptlib.lib(hrtimer.obj) : error LNK2001: symbole externe non résolu __GSHandlerCheck_EH4
cryptlib.lib(base64.obj) : error LNK2001: symbole externe non résolu __GSHandlerCheck_EH4
cryptlib.lib(files.obj) : error LNK2001: symbole externe non résolu __GSHandlerCheck_EH4
cryptlib.lib(mqueue.obj) : error LNK2001: symbole externe non résolu __GSHandlerCheck_EH4
cryptlib.lib(dll.obj) : error LNK2001: symbole externe non résolu __GSHandlerCheck_EH4
cryptlib.lib(pubkey.obj) : error LNK2001: symbole externe non résolu __GSHandlerCheck_EH4
cryptlib.lib(pkcspad.obj) : error LNK2001: symbole externe non résolu __GSHandlerCheck_EH4
cryptlib.lib(asn.obj) : error LNK2001: symbole externe non résolu __GSHandlerCheck_EH4
cryptlib.lib(rsa.obj) : error LNK2001: symbole externe non résolu __GSHandlerCheck_EH4
cryptlib.lib(iterhash.obj) : error LNK2001: symbole externe non résolu __GSHandlerCheck_EH4
cryptlib.lib(sha.obj) : error LNK2001: symbole externe non résolu __GSHandlerCheck_EH4
cryptlib.lib(randpool.obj) : error LNK2001: symbole externe non résolu __GSHandlerCheck_EH4
cryptlib.lib(osrng.obj) : error LNK2001: symbole externe non résolu __GSHandlerCheck_EH4
cryptlib.lib(algparam.obj) : error LNK2001: symbole externe non résolu __GSHandlerCheck_EH4
cryptlib.lib(queue.obj) : error LNK2001: symbole externe non résolu __GSHandlerCheck_EH4
cryptlib.lib(basecode.obj) : error LNK2001: symbole externe non résolu __GSHandlerCheck_EH4
cryptlib.lib(hex.obj) : error LNK2001: symbole externe non résolu __GSHandlerCheck_EH4
cryptlib.lib(cryptlib.obj) : error LNK2001: symbole externe non résolu __GSHandlerCheck_EH4
cryptlib.lib(misc.obj) : error LNK2001: symbole externe non résolu __GSHandlerCheck_EH4
cryptlib.lib(filters.obj) : error LNK2001: symbole externe non résolu __GSHandlerCheck_EH4
cryptlib.lib(integer.obj) : error LNK2001: symbole externe non résolu __GSHandlerCheck_EH4
cryptlib.lib(integer.obj) : error LNK2019: symbole externe non résolu __std_reverse_trivially_swappable_1 référencé dans la fonction "void __cdecl std::reverse<unsigned char *>(unsigned char * const,unsigned char * const)" (??$reverse@PEAE@std@@YAXQEAE0@Z)
debug\prxQWT.exe : fatal error LNK1120: 3 externes non résolus
```
* Windows 10
* Crypto++ library 8.2.0 Release
* Crypto++ was built using VS 2019 with the VS pro files
* I built only CryptLib Debug/Release
* Runtime Linking set to MD/MdD
I saw a lot of errors of people trying to do the same, and followed what was suggested, but I was not able to make it work.
Any help is much appreciated.
Thank you in advance
| LNK2001 errors when trying to using Crypto++ in a Qt Project | https://api.github.com/repos/weidai11/cryptopp/issues/977/comments | 2 | 2020-10-31T12:05:57Z | 2021-02-03T18:14:07Z | https://github.com/weidai11/cryptopp/issues/977 | 733,704,883 | 977 |
[
"weidai11",
"cryptopp"
] | Debian, gcc 10.2, cryptopp 8.2.0
build using cmake
/opt/gcc-10.2/lib/gcc/x86_64-pc-linux-gnu/10.2.0/include/avxintrin.h:1278:1: error: inlining failed in call to ‘always_inline’ ‘__m256i _mm256_set_epi8(char, char, char, char, char, char, char, char, char, char, char, char, char, char, char, char, char, char, char, char, char, char, char, char, char, char, char, char, char, char, char, char)’: target specific option mismatch
and a warning
chacha_avx.cpp:69:47: warning: AVX vector return without AVX enabled changes the ABI [-Wpsabi]
69 | inline __m256i RotateLeft<8>(const __m256i val)
| compilation failed if avx/avx2 disabled | https://api.github.com/repos/weidai11/cryptopp/issues/976/comments | 2 | 2020-10-12T11:20:00Z | 2020-10-13T07:38:42Z | https://github.com/weidai11/cryptopp/issues/976 | 719,298,215 | 976 |
[
"weidai11",
"cryptopp"
] | Operating System : MacOS Catalina
Crypto++ Version : 8.2.0
Apple clang version 11.0.3 (clang-1103.0.32.29)
I wrote this code:
```
Base64Decoder signatureDecoder;
signatureDecoder.Put((CryptoPP::byte*)signatureString.data(), signatureString.size());
signatureDecoder.MessageEnd();
std::vector<CryptoPP::byte> signatureData(signatureDecoder.MaxRetrievable());
signatureDecoder.Get(signatureData.data(), signatureData.size());
```
Build using clang and got warning from clang-tidy
```
basecode.h:81:3: warning: Call to virtual function during construction [clang-analyzer-optin.cplusplus.VirtualCall]
IsolatedInitialize(MakeParameters(Name::DecodingLookupArray(), lookup)(Name::Log2Base(), log2base));
```
I think the warning is pointing the wrong place because IsolatedInitialize is not a virtual function.
But Detach function is virtual and it's called in the constructor.
Is this intentional? If yes, why? As far as I know, virtual function should never be called from constructor because virtual table is not filled yet. | BaseN_Decoder calling virtual function in constructor clang-tidy warning | https://api.github.com/repos/weidai11/cryptopp/issues/975/comments | 1 | 2020-10-06T18:11:52Z | 2023-06-25T23:34:56Z | https://github.com/weidai11/cryptopp/issues/975 | 715,907,636 | 975 |
[
"weidai11",
"cryptopp"
] | I had some issues, while building your project, with Clang 11 RC4.
I am using Ubuntu 20.04 x86_64
So
> $ clang++ -lc++ -o cryptest.exe -stdlib=libc++ adhoc.o test.o bench1.o bench2.o bench3.o datatest.o dlltest.o fipsalgt.o validat0.o validat1.o validat2.o validat3.o validat4.o validat5.o validat6.o validat7.o validat8.o validat9.o validat10.o regtest1.o regtest2.o regtest3.o regtest4.o ./libcryptopp.a
fails with
> /usr/bin/ld: ./libcryptopp.a(cryptlib.o): in function `void std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_construct<char const*>(char const*, char const*, std::forward_iterator_tag)':
> /usr/include/c++/9/bits/basic_string.tcc:219: undefined reference to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_create(unsigned long&, unsigned long)'
> /usr/bin/ld: ./libcryptopp.a(cryptlib.o): in function `CryptoPP::AuthenticatedSymmetricCipher::SpecifyDataLengths(unsigned long, unsigned long, unsigned long)':
> /home/oceanfish81/cryptopp/cryptlib.cpp:236: undefined reference to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > CryptoPP::IntToString<unsigned long>(unsigned long, unsigned int)'
> /usr/bin/ld: /home/oceanfish81/cryptopp/cryptlib.cpp:236: undefined reference to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > CryptoPP::IntToString<unsigned long>(unsigned long, unsigned int)'
> /usr/bin/ld: /home/oceanfish81/cryptopp/cryptlib.cpp:239: undefined reference to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > CryptoPP::IntToString<unsigned long>(unsigned long, unsigned int)'
> /usr/bin/ld: /home/oceanfish81/cryptopp/cryptlib.cpp:239: undefined reference to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > CryptoPP::IntToString<unsigned long>(unsigned long, unsigned int)'
> /usr/bin/ld: /home/oceanfish81/cryptopp/cryptlib.cpp:242: undefined reference to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > CryptoPP::IntToString<unsigned long>(unsigned long, unsigned int)'
> /usr/bin/ld: ./libcryptopp.a(cryptlib.o):/home/oceanfish81/cryptopp/cryptlib.cpp:242: more undefined references to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > CryptoPP::IntToString<unsigned long>(unsigned long, unsigned int)' follow
> /usr/bin/ld: ./libcryptopp.a(cryptlib.o): in function `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::replace(unsigned long, unsigned long, char const*, unsigned long)':
> /usr/include/c++/9/bits/basic_string.h:1941: undefined reference to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_replace(unsigned long, unsigned long, char const*, unsigned long)'
> /usr/bin/ld: ./libcryptopp.a(cryptlib.o): in function `void std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_construct<char*>(char*, char*, std::forward_iterator_tag)':
> /usr/include/c++/9/bits/basic_string.tcc:219: undefined reference to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_create(unsigned long&, unsigned long)'
> /usr/bin/ld: /usr/include/c++/9/bits/basic_string.tcc:212: undefined reference to `std::__throw_logic_error(char const*)'
> /usr/bin/ld: ./libcryptopp.a(cryptlib.o): in function `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::append(char const*)':
> /usr/include/c++/9/bits/basic_string.h:1268: undefined reference to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_append(char const*, unsigned long)'
> /usr/bin/ld: ./libcryptopp.a(cryptlib.o): in function `void std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_construct<char*>(char*, char*, std::forward_iterator_tag)':
> /usr/include/c++/9/bits/basic_string.tcc:219: undefined reference to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_create(unsigned long&, unsigned long)'
> /usr/bin/ld: /usr/include/c++/9/bits/basic_string.tcc:219: undefined reference to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_create(unsigned long&, unsigned long)'
> /usr/bin/ld: /usr/include/c++/9/bits/basic_string.tcc:212: undefined reference to `std::__throw_logic_error(char const*)'
> /usr/bin/ld: ./libcryptopp.a(cryptlib.o): in function `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_check_length(unsigned long, unsigned long, char const*) const':
> /usr/include/c++/9/bits/basic_string.h:323: undefined reference to `std::__throw_length_error(char const*)'
> /usr/bin/ld: ./libcryptopp.a(cryptlib.o): in function `void std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_construct<char*>(char*, char*, std::forward_iterator_tag)':
> /usr/include/c++/9/bits/basic_string.tcc:212: undefined reference to `std::__throw_logic_error(char const*)'
> /usr/bin/ld: ./libcryptopp.a(cryptlib.o): in function `CryptoPP::InvalidKeyLength::InvalidKeyLength(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, unsigned long)':
> /home/oceanfish81/cryptopp/simple.h:61: undefined reference to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > CryptoPP::IntToString<unsigned long>(unsigned long, unsigned int)'
> /usr/bin/ld: ./libcryptopp.a(cryptlib.o): in function `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::append(char const*)':
> /usr/include/c++/9/bits/basic_string.h:1268: undefined reference to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_append(char const*, unsigned long)'
> /usr/bin/ld: ./libcryptopp.a(cryptlib.o): in function `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::append(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)':
> /usr/include/c++/9/bits/basic_string.h:1222: undefined reference to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_append(char const*, unsigned long)'
> /usr/bin/ld: ./libcryptopp.a(cryptlib.o): in function `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::append(char const*)':
> /usr/include/c++/9/bits/basic_string.h:1268: undefined reference to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_append(char const*, unsigned long)'
> /usr/bin/ld: ./libcryptopp.a(cryptlib.o): in function `void std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_construct<char*>(char*, char*, std::forward_iterator_tag)':
> /usr/include/c++/9/bits/basic_string.tcc:219: undefined reference to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_create(unsigned long&, unsigned long)'
> /usr/bin/ld: /usr/include/c++/9/bits/basic_string.tcc:219: undefined reference to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_create(unsigned long&, unsigned long)'
> /usr/bin/ld: ./libcryptopp.a(cryptlib.o): in function `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::replace(unsigned long, unsigned long, char const*, unsigned long)':
> /usr/include/c++/9/bits/basic_string.h:1941: undefined reference to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_replace(unsigned long, unsigned long, char const*, unsigned long)'
> /usr/bin/ld: ./libcryptopp.a(cryptlib.o): in function `void std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_construct<char*>(char*, char*, std::forward_iterator_tag)':
> /usr/include/c++/9/bits/basic_string.tcc:212: undefined reference to `std::__throw_logic_error(char const*)'
> /usr/bin/ld: ./libcryptopp.a(cryptlib.o): in function `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_check_length(unsigned long, unsigned long, char const*) const':
> /usr/include/c++/9/bits/basic_string.h:323: undefined reference to `std::__throw_length_error(char const*)'
> /usr/bin/ld: /usr/include/c++/9/bits/basic_string.h:323: undefined reference to `std::__throw_length_error(char const*)'
> /usr/bin/ld: ./libcryptopp.a(cryptlib.o): in function `void std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_construct<char*>(char*, char*, std::forward_iterator_tag)':
> /usr/include/c++/9/bits/basic_string.tcc:212: undefined reference to `std::__throw_logic_error(char const*)'
> /usr/bin/ld: ./libcryptopp.a(cryptlib.o): in function `CryptoPP::InvalidDerivedKeyLength::InvalidDerivedKeyLength(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, unsigned long)':
> /home/oceanfish81/cryptopp/simple.h:91: undefined reference to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > CryptoPP::IntToString<unsigned long>(unsigned long, unsigned int)'
> /usr/bin/ld: ./libcryptopp.a(cryptlib.o): in function `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::append(char const*)':
> /usr/include/c++/9/bits/basic_string.h:1268: undefined reference to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_append(char const*, unsigned long)'
> /usr/bin/ld: ./libcryptopp.a(cryptlib.o): in function `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::append(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)':
> /usr/include/c++/9/bits/basic_string.h:1222: undefined reference to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_append(char const*, unsigned long)'
> /usr/bin/ld: ./libcryptopp.a(cryptlib.o): in function `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::append(char const*)':
> /usr/include/c++/9/bits/basic_string.h:1268: undefined reference to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_append(char const*, unsigned long)'
> /usr/bin/ld: ./libcryptopp.a(cryptlib.o): in function `void std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_construct<char*>(char*, char*, std::forward_iterator_tag)':
> /usr/include/c++/9/bits/basic_string.tcc:219: undefined reference to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_create(unsigned long&, unsigned long)'
> /usr/bin/ld: /usr/include/c++/9/bits/basic_string.tcc:219: undefined reference to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_create(unsigned long&, unsigned long)'
> /usr/bin/ld: ./libcryptopp.a(cryptlib.o): in function `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::replace(unsigned long, unsigned long, char const*, unsigned long)':
> /usr/include/c++/9/bits/basic_string.h:1941: undefined reference to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_replace(unsigned long, unsigned long, char const*, unsigned long)'
> /usr/bin/ld: ./libcryptopp.a(cryptlib.o): in function `void std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_construct<char*>(char*, char*, std::forward_iterator_tag)':
> /usr/include/c++/9/bits/basic_string.tcc:212: undefined reference to `std::__throw_logic_error(char const*)'
> /usr/bin/ld: ./libcryptopp.a(cryptlib.o): in function `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_check_length(unsigned long, unsigned long, char const*) const':
> /usr/include/c++/9/bits/basic_string.h:323: undefined reference to `std::__throw_length_error(char const*)'
> /usr/bin/ld: /usr/include/c++/9/bits/basic_string.h:323: undefined reference to `std::__throw_length_error(char const*)'
> /usr/bin/ld: ./libcryptopp.a(cryptlib.o): in function `void std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_construct<char*>(char*, char*, std::forward_iterator_tag)':
> /usr/include/c++/9/bits/basic_string.tcc:212: undefined reference to `std::__throw_logic_error(char const*)'
> /usr/bin/ld: ./libcryptopp.a(cryptlib.o): in function `void std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_construct<char const*>(char const*, char const*, std::forward_iterator_tag)':
> /usr/include/c++/9/bits/basic_string.tcc:219: undefined reference to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_create(unsigned long&, unsigned long)'
> /usr/bin/ld: ./libcryptopp.a(cryptlib.o): in function `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::append(char const*)':
> /usr/include/c++/9/bits/basic_string.h:1268: undefined reference to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_append(char const*, unsigned long)'
> /usr/bin/ld: /usr/include/c++/9/bits/basic_string.h:1268: undefined reference to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_append(char const*, unsigned long)'
> /usr/bin/ld: ./libcryptopp.a(cryptlib.o): in function `void std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_construct<char*>(char*, char*, std::forward_iterator_tag)':
> /usr/include/c++/9/bits/basic_string.tcc:219: undefined reference to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_create(unsigned long&, unsigned long)'
> /usr/bin/ld: /usr/include/c++/9/bits/basic_string.tcc:212: undefined reference to `std::__throw_logic_error(char const*)'
> /usr/bin/ld: ./libcryptopp.a(cryptlib.o): in function `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_check_length(unsigned long, unsigned long, char const*) const':
> /usr/include/c++/9/bits/basic_string.h:323: undefined reference to `std::__throw_length_error(char const*)'
> /usr/bin/ld: /usr/include/c++/9/bits/basic_string.h:323: undefined reference to `std::__throw_length_error(char const*)'
> /usr/bin/ld: ./libcryptopp.a(cryptlib.o): in function `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::append(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)':
> /usr/include/c++/9/bits/basic_string.h:1222: undefined reference to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_append(char const*, unsigned long)'
> /usr/bin/ld: ./libcryptopp.a(cryptlib.o): in function `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::replace(unsigned long, unsigned long, char const*, unsigned long)':
> /usr/include/c++/9/bits/basic_string.h:1941: undefined reference to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_replace(unsigned long, unsigned long, char const*, unsigned long)'
> /usr/bin/ld: ./libcryptopp.a(cryptlib.o): in function `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::append(char const*)':
> /usr/include/c++/9/bits/basic_string.h:1268: undefined reference to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_append(char const*, unsigned long)'
> /usr/bin/ld: ./libcryptopp.a(cryptlib.o): in function `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_check_length(unsigned long, unsigned long, char const*) const':
> /usr/include/c++/9/bits/basic_string.h:323: undefined reference to `std::__throw_length_error(char const*)'
> /usr/bin/ld: ./libcryptopp.a(cryptlib.o): in function `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > std::operator+<char, std::char_traits<char>, std::allocator<char> >(char, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)':
> /usr/include/c++/9/bits/basic_string.tcc:1180: undefined reference to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::reserve(unsigned long)'
> /usr/bin/ld: ./libcryptopp.a(cryptlib.o): in function `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::append(unsigned long, char)':
> /usr/include/c++/9/bits/basic_string.h:1281: undefined reference to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_replace_aux(unsigned long, unsigned long, unsigned long, char)'
> /usr/bin/ld: ./libcryptopp.a(cryptlib.o): in function `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::append(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)':
> /usr/include/c++/9/bits/basic_string.h:1222: undefined reference to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_append(char const*, unsigned long)'
> /usr/bin/ld: ./libcryptopp.a(cryptlib.o): in function `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > std::operator+<char, std::char_traits<char>, std::allocator<char> >(char, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)':
> /usr/include/c++/9/bits/basic_string.tcc:1180: undefined reference to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::reserve(unsigned long)'
> /usr/bin/ld: ./libcryptopp.a(cryptlib.o): in function `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::append(unsigned long, char)':
> /usr/include/c++/9/bits/basic_string.h:1281: undefined reference to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_replace_aux(unsigned long, unsigned long, unsigned long, char)'
> /usr/bin/ld: ./libcryptopp.a(cryptlib.o): in function `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::append(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)':
> /usr/include/c++/9/bits/basic_string.h:1222: undefined reference to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_append(char const*, unsigned long)'
> /usr/bin/ld: ./libcryptopp.a(cryptlib.o): in function `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > std::operator+<char, std::char_traits<char>, std::allocator<char> >(char const*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)':
> /usr/include/c++/9/bits/basic_string.tcc:1166: undefined reference to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::reserve(unsigned long)'
> /usr/bin/ld: ./libcryptopp.a(cryptlib.o): in function `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::append(char const*, unsigned long)':
> /usr/include/c++/9/bits/basic_string.h:1254: undefined reference to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_append(char const*, unsigned long)'
> /usr/bin/ld: ./libcryptopp.a(cryptlib.o): in function `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::append(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)':
> /usr/include/c++/9/bits/basic_string.h:1222: undefined reference to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_append(char const*, unsigned long)'
> /usr/bin/ld: ./libcryptopp.a(cryptlib.o): in function `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_check_length(unsigned long, unsigned long, char const*) const':
> /usr/include/c++/9/bits/basic_string.h:323: undefined reference to `std::__throw_length_error(char const*)'
> /usr/bin/ld: ./libcryptopp.a(cryptlib.o): in function `_GLOBAL__sub_I.00275_cryptlib.cpp':
> /home/oceanfish81/cryptopp/cryptlib.cpp:1027: undefined reference to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::~basic_string()'
> /usr/bin/ld: ./libcryptopp.a(cryptlib.o): in function `_GLOBAL__sub_I.00276_cryptlib.cpp':
> /home/oceanfish81/cryptopp/cryptlib.cpp:1028: undefined reference to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::~basic_string()'
> /usr/bin/ld: ./libcryptopp.a(cryptlib.o): in function `CryptoPP::PK_DefaultDecryptionFilter::Put2(unsigned char const*, unsigned long, int, bool)':
> /home/oceanfish81/cryptopp/cryptlib.cpp:920: undefined reference to `CryptoPP::Filter::Output(int, unsigned char const*, unsigned long, int, bool, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
> /usr/bin/ld: ./libcryptopp.a(cryptlib.o): in function `CryptoPP::PK_DefaultEncryptionFilter::Put2(unsigned char const*, unsigned long, int, bool)':
> /home/oceanfish81/cryptopp/cryptlib.cpp:873: undefined reference to `CryptoPP::Filter::Output(int, unsigned char const*, unsigned long, int, bool, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
> /usr/bin/ld: ./libcryptopp.a(cryptlib.o):(.data.rel.ro._ZTVN8CryptoPP26PK_DefaultEncryptionFilterE[_ZTVN8CryptoPP26PK_DefaultEncryptionFilterE]+0x128): undefined reference to `CryptoPP::Filter::TransferTo2(CryptoPP::BufferedTransformation&, unsigned long&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, bool)'
> /usr/bin/ld: ./libcryptopp.a(cryptlib.o):(.data.rel.ro._ZTVN8CryptoPP26PK_DefaultEncryptionFilterE[_ZTVN8CryptoPP26PK_DefaultEncryptionFilterE]+0x130): undefined reference to `CryptoPP::Filter::CopyRangeTo2(CryptoPP::BufferedTransformation&, unsigned long&, unsigned long, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, bool) const'
> /usr/bin/ld: ./libcryptopp.a(cryptlib.o):(.data.rel.ro._ZTVN8CryptoPP26PK_DefaultDecryptionFilterE[_ZTVN8CryptoPP26PK_DefaultDecryptionFilterE]+0x128): undefined reference to `CryptoPP::Filter::TransferTo2(CryptoPP::BufferedTransformation&, unsigned long&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, bool)'
> /usr/bin/ld: ./libcryptopp.a(cryptlib.o):(.data.rel.ro._ZTVN8CryptoPP26PK_DefaultDecryptionFilterE[_ZTVN8CryptoPP26PK_DefaultDecryptionFilterE]+0x130): undefined reference to `CryptoPP::Filter::CopyRangeTo2(CryptoPP::BufferedTransformation&, unsigned long&, unsigned long, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, bool) const'
> /usr/bin/ld: test.o: in function `CryptoPP::Test::scoped_main(int, char**)':
> test.cpp:(.text+0x5ee): undefined reference to `CryptoPP::DEFAULT_CHANNEL'
> /usr/bin/ld: test.cpp:(.text+0xd7a): undefined reference to `CryptoPP::DEFAULT_CHANNEL'
> /usr/bin/ld: test.cpp:(.text+0xd80): undefined reference to `CryptoPP::DEFAULT_CHANNEL'
> /usr/bin/ld: test.o: in function `CryptoPP::Test::DigestFile(char const*)':
> test.cpp:(.text+0x3ab5): undefined reference to `CryptoPP::DEFAULT_CHANNEL'
> /usr/bin/ld: test.cpp:(.text+0x3abb): undefined reference to `CryptoPP::DEFAULT_CHANNEL'
> /usr/bin/ld: test.o:test.cpp:(.text+0x3b4f): more undefined references to `CryptoPP::DEFAULT_CHANNEL' follow
> /usr/bin/ld: test.o: in function `CryptoPP::BufferedTransformation::TransferAllTo(CryptoPP::BufferedTransformation&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&)':
> test.cpp:(.text._ZN8CryptoPP22BufferedTransformation13TransferAllToERS0_RKNSt3__112basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEE[_ZN8CryptoPP22BufferedTransformation13TransferAllToERS0_RKNSt3__112basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEE]+0x26): undefined reference to `CryptoPP::BufferedTransformation::TransferAllTo2(CryptoPP::BufferedTransformation&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, bool)'
> /usr/bin/ld: test.o: in function `CryptoPP::Unflushable<CryptoPP::Filter>::Flush(bool, int, bool)':
> test.cpp:(.text._ZN8CryptoPP11UnflushableINS_6FilterEE5FlushEbib[_ZN8CryptoPP11UnflushableINS_6FilterEE5FlushEbib]+0x3e): undefined reference to `CryptoPP::DEFAULT_CHANNEL'
> /usr/bin/ld: test.o: in function `CryptoPP::SourceTemplate<CryptoPP::FileStore>::Pump2(unsigned long&, bool)':
> test.cpp:(.text._ZN8CryptoPP14SourceTemplateINS_9FileStoreEE5Pump2ERmb[_ZN8CryptoPP14SourceTemplateINS_9FileStoreEE5Pump2ERmb]+0x4c): undefined reference to `CryptoPP::DEFAULT_CHANNEL'
> /usr/bin/ld: test.o: in function `CryptoPP::SourceTemplate<CryptoPP::FileStore>::PumpMessages2(unsigned int&, bool)':
> test.cpp:(.text._ZN8CryptoPP14SourceTemplateINS_9FileStoreEE13PumpMessages2ERjb[_ZN8CryptoPP14SourceTemplateINS_9FileStoreEE13PumpMessages2ERjb]+0x4c): undefined reference to `CryptoPP::DEFAULT_CHANNEL'
> /usr/bin/ld: test.cpp:(.text._ZN8CryptoPP14SourceTemplateINS_9FileStoreEE13PumpMessages2ERjb[_ZN8CryptoPP14SourceTemplateINS_9FileStoreEE13PumpMessages2ERjb]+0x59): undefined reference to `CryptoPP::BufferedTransformation::TransferMessagesTo2(CryptoPP::BufferedTransformation&, unsigned int&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, bool)'
> /usr/bin/ld: test.o: in function `CryptoPP::SourceTemplate<CryptoPP::FileStore>::PumpAll2(bool)':
> test.cpp:(.text._ZN8CryptoPP14SourceTemplateINS_9FileStoreEE8PumpAll2Eb[_ZN8CryptoPP14SourceTemplateINS_9FileStoreEE8PumpAll2Eb]+0x4a): undefined reference to `CryptoPP::DEFAULT_CHANNEL'
> /usr/bin/ld: test.cpp:(.text._ZN8CryptoPP14SourceTemplateINS_9FileStoreEE8PumpAll2Eb[_ZN8CryptoPP14SourceTemplateINS_9FileStoreEE8PumpAll2Eb]+0x5b): undefined reference to `CryptoPP::BufferedTransformation::TransferAllTo2(CryptoPP::BufferedTransformation&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, bool)'
> /usr/bin/ld: test.o: in function `CryptoPP::SourceTemplate<CryptoPP::StringStore>::Pump2(unsigned long&, bool)':
> test.cpp:(.text._ZN8CryptoPP14SourceTemplateINS_11StringStoreEE5Pump2ERmb[_ZN8CryptoPP14SourceTemplateINS_11StringStoreEE5Pump2ERmb]+0x4c): undefined reference to `CryptoPP::DEFAULT_CHANNEL'
> /usr/bin/ld: test.o: in function `CryptoPP::SourceTemplate<CryptoPP::StringStore>::PumpMessages2(unsigned int&, bool)':
> test.cpp:(.text._ZN8CryptoPP14SourceTemplateINS_11StringStoreEE13PumpMessages2ERjb[_ZN8CryptoPP14SourceTemplateINS_11StringStoreEE13PumpMessages2ERjb]+0x4c): undefined reference to `CryptoPP::DEFAULT_CHANNEL'
> /usr/bin/ld: test.cpp:(.text._ZN8CryptoPP14SourceTemplateINS_11StringStoreEE13PumpMessages2ERjb[_ZN8CryptoPP14SourceTemplateINS_11StringStoreEE13PumpMessages2ERjb]+0x59): undefined reference to `CryptoPP::BufferedTransformation::TransferMessagesTo2(CryptoPP::BufferedTransformation&, unsigned int&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, bool)'
> /usr/bin/ld: test.o: in function `CryptoPP::SourceTemplate<CryptoPP::StringStore>::PumpAll2(bool)':
> test.cpp:(.text._ZN8CryptoPP14SourceTemplateINS_11StringStoreEE8PumpAll2Eb[_ZN8CryptoPP14SourceTemplateINS_11StringStoreEE8PumpAll2Eb]+0x4a): undefined reference to `CryptoPP::DEFAULT_CHANNEL'
> /usr/bin/ld: test.cpp:(.text._ZN8CryptoPP14SourceTemplateINS_11StringStoreEE8PumpAll2Eb[_ZN8CryptoPP14SourceTemplateINS_11StringStoreEE8PumpAll2Eb]+0x5b): undefined reference to `CryptoPP::BufferedTransformation::TransferAllTo2(CryptoPP::BufferedTransformation&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, bool)'
> /usr/bin/ld: test.o: in function `CryptoPP::Multichannel<CryptoPP::Sink>::CreatePutSpace(unsigned long&)':
> test.cpp:(.text._ZN8CryptoPP12MultichannelINS_4SinkEE14CreatePutSpaceERm[_ZN8CryptoPP12MultichannelINS_4SinkEE14CreatePutSpaceERm]+0x20): undefined reference to `CryptoPP::DEFAULT_CHANNEL'
> /usr/bin/ld: test.o: in function `CryptoPP::Multichannel<CryptoPP::Sink>::Put2(unsigned char const*, unsigned long, int, bool)':
> test.cpp:(.text._ZN8CryptoPP12MultichannelINS_4SinkEE4Put2EPKhmib[_ZN8CryptoPP12MultichannelINS_4SinkEE4Put2EPKhmib]+0x3f): undefined reference to `CryptoPP::DEFAULT_CHANNEL'
> /usr/bin/ld: test.o: in function `CryptoPP::Multichannel<CryptoPP::Sink>::PutModifiable2(unsigned char*, unsigned long, int, bool)':
> test.cpp:(.text._ZN8CryptoPP12MultichannelINS_4SinkEE14PutModifiable2EPhmib[_ZN8CryptoPP12MultichannelINS_4SinkEE14PutModifiable2EPhmib]+0x3f): undefined reference to `CryptoPP::DEFAULT_CHANNEL'
> /usr/bin/ld: test.o: in function `CryptoPP::Multichannel<CryptoPP::Sink>::Flush(bool, int, bool)':
> test.cpp:(.text._ZN8CryptoPP12MultichannelINS_4SinkEE5FlushEbib[_ZN8CryptoPP12MultichannelINS_4SinkEE5FlushEbib]+0x3e): undefined reference to `CryptoPP::DEFAULT_CHANNEL'
> /usr/bin/ld: test.o: in function `CryptoPP::Multichannel<CryptoPP::Sink>::MessageSeriesEnd(int, bool)':
> test.cpp:(.text._ZN8CryptoPP12MultichannelINS_4SinkEE16MessageSeriesEndEib[_ZN8CryptoPP12MultichannelINS_4SinkEE16MessageSeriesEndEib]+0x2f): undefined reference to `CryptoPP::DEFAULT_CHANNEL'
> /usr/bin/ld: test.o:test.cpp:(.text._ZN8CryptoPP12MultichannelINS_6FilterEE14CreatePutSpaceERm[_ZN8CryptoPP12MultichannelINS_6FilterEE14CreatePutSpaceERm]+0x20): more undefined references to `CryptoPP::DEFAULT_CHANNEL' follow
> /usr/bin/ld: test.o:(.rodata._ZTVN8CryptoPP13AutoSignalingINS_14InputRejectingINS_22BufferedTransformationEEEEE[_ZTVN8CryptoPP13AutoSignalingINS_14InputRejectingINS_22BufferedTransformationEEEEE]+0x138): undefined reference to `CryptoPP::BufferedTransformation::ChannelCreatePutSpace(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, unsigned long&)'
> /usr/bin/ld: test.o:(.rodata._ZTVN8CryptoPP13AutoSignalingINS_14InputRejectingINS_22BufferedTransformationEEEEE[_ZTVN8CryptoPP13AutoSignalingINS_14InputRejectingINS_22BufferedTransformationEEEEE]+0x148): undefined reference to `CryptoPP::BufferedTransformation::ChannelPutModifiable2(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, unsigned char*, unsigned long, int, bool)'
> /usr/bin/ld: test.o:(.rodata._ZTVN8CryptoPP13AutoSignalingINS_14InputRejectingINS_22BufferedTransformationEEEEE[_ZTVN8CryptoPP13AutoSignalingINS_14InputRejectingINS_22BufferedTransformationEEEEE]+0x150): undefined reference to `CryptoPP::BufferedTransformation::ChannelFlush(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, bool, int, bool)'
> /usr/bin/ld: test.o:(.rodata._ZTVN8CryptoPP13AutoSignalingINS_14InputRejectingINS_22BufferedTransformationEEEEE[_ZTVN8CryptoPP13AutoSignalingINS_14InputRejectingINS_22BufferedTransformationEEEEE]+0x160): undefined reference to `CryptoPP::BufferedTransformation::SetRetrievalChannel(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&)'
> /usr/bin/ld: test.o:(.rodata._ZTVN8CryptoPP14InputRejectingINS_22BufferedTransformationEEE[_ZTVN8CryptoPP14InputRejectingINS_22BufferedTransformationEEE]+0x138): undefined reference to `CryptoPP::BufferedTransformation::ChannelCreatePutSpace(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, unsigned long&)'
> /usr/bin/ld: test.o:(.rodata._ZTVN8CryptoPP14InputRejectingINS_22BufferedTransformationEEE[_ZTVN8CryptoPP14InputRejectingINS_22BufferedTransformationEEE]+0x148): undefined reference to `CryptoPP::BufferedTransformation::ChannelPutModifiable2(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, unsigned char*, unsigned long, int, bool)'
> /usr/bin/ld: test.o:(.rodata._ZTVN8CryptoPP14InputRejectingINS_22BufferedTransformationEEE[_ZTVN8CryptoPP14InputRejectingINS_22BufferedTransformationEEE]+0x150): undefined reference to `CryptoPP::BufferedTransformation::ChannelFlush(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, bool, int, bool)'
> /usr/bin/ld: test.o:(.rodata._ZTVN8CryptoPP14InputRejectingINS_22BufferedTransformationEEE[_ZTVN8CryptoPP14InputRejectingINS_22BufferedTransformationEEE]+0x160): undefined reference to `CryptoPP::BufferedTransformation::SetRetrievalChannel(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&)'
> /usr/bin/ld: test.o:(.rodata._ZTVN8CryptoPP10BufferlessINS_4SinkEEE[_ZTVN8CryptoPP10BufferlessINS_4SinkEEE]+0x138): undefined reference to `CryptoPP::BufferedTransformation::ChannelCreatePutSpace(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, unsigned long&)'
> /usr/bin/ld: test.o:(.rodata._ZTVN8CryptoPP10BufferlessINS_4SinkEEE[_ZTVN8CryptoPP10BufferlessINS_4SinkEEE]+0x140): undefined reference to `CryptoPP::BufferedTransformation::ChannelPut2(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, unsigned char const*, unsigned long, int, bool)'
> /usr/bin/ld: test.o:(.rodata._ZTVN8CryptoPP10BufferlessINS_4SinkEEE[_ZTVN8CryptoPP10BufferlessINS_4SinkEEE]+0x148): undefined reference to `CryptoPP::BufferedTransformation::ChannelPutModifiable2(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, unsigned char*, unsigned long, int, bool)'
> /usr/bin/ld: test.o:(.rodata._ZTVN8CryptoPP10BufferlessINS_4SinkEEE[_ZTVN8CryptoPP10BufferlessINS_4SinkEEE]+0x150): undefined reference to `CryptoPP::BufferedTransformation::ChannelFlush(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, bool, int, bool)'
> /usr/bin/ld: test.o:(.rodata._ZTVN8CryptoPP10BufferlessINS_4SinkEEE[_ZTVN8CryptoPP10BufferlessINS_4SinkEEE]+0x158): undefined reference to `CryptoPP::BufferedTransformation::ChannelMessageSeriesEnd(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, int, bool)'
> /usr/bin/ld: test.o:(.rodata._ZTVN8CryptoPP10BufferlessINS_4SinkEEE[_ZTVN8CryptoPP10BufferlessINS_4SinkEEE]+0x160): undefined reference to `CryptoPP::BufferedTransformation::SetRetrievalChannel(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&)'
> /usr/bin/ld: test.o:(.rodata._ZTVN8CryptoPP4SinkE[_ZTVN8CryptoPP4SinkE]+0x138): undefined reference to `CryptoPP::BufferedTransformation::ChannelCreatePutSpace(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, unsigned long&)'
> /usr/bin/ld: test.o:(.rodata._ZTVN8CryptoPP4SinkE[_ZTVN8CryptoPP4SinkE]+0x140): undefined reference to `CryptoPP::BufferedTransformation::ChannelPut2(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, unsigned char const*, unsigned long, int, bool)'
> /usr/bin/ld: test.o:(.rodata._ZTVN8CryptoPP4SinkE[_ZTVN8CryptoPP4SinkE]+0x148): undefined reference to `CryptoPP::BufferedTransformation::ChannelPutModifiable2(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, unsigned char*, unsigned long, int, bool)'
> /usr/bin/ld: test.o:(.rodata._ZTVN8CryptoPP4SinkE[_ZTVN8CryptoPP4SinkE]+0x150): undefined reference to `CryptoPP::BufferedTransformation::ChannelFlush(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, bool, int, bool)'
> /usr/bin/ld: test.o:(.rodata._ZTVN8CryptoPP4SinkE[_ZTVN8CryptoPP4SinkE]+0x158): undefined reference to `CryptoPP::BufferedTransformation::ChannelMessageSeriesEnd(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, int, bool)'
> /usr/bin/ld: test.o:(.rodata._ZTVN8CryptoPP4SinkE[_ZTVN8CryptoPP4SinkE]+0x160): undefined reference to `CryptoPP::BufferedTransformation::SetRetrievalChannel(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&)'
> /usr/bin/ld: test.o:(.rodata._ZTVN8CryptoPP10BufferlessINS_6FilterEEE[_ZTVN8CryptoPP10BufferlessINS_6FilterEEE]+0x138): undefined reference to `CryptoPP::BufferedTransformation::ChannelCreatePutSpace(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, unsigned long&)'
> /usr/bin/ld: test.o:(.rodata._ZTVN8CryptoPP10BufferlessINS_6FilterEEE[_ZTVN8CryptoPP10BufferlessINS_6FilterEEE]+0x140): undefined reference to `CryptoPP::BufferedTransformation::ChannelPut2(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, unsigned char const*, unsigned long, int, bool)'
> /usr/bin/ld: test.o:(.rodata._ZTVN8CryptoPP10BufferlessINS_6FilterEEE[_ZTVN8CryptoPP10BufferlessINS_6FilterEEE]+0x148): undefined reference to `CryptoPP::BufferedTransformation::ChannelPutModifiable2(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, unsigned char*, unsigned long, int, bool)'
> /usr/bin/ld: test.o:(.rodata._ZTVN8CryptoPP10BufferlessINS_6FilterEEE[_ZTVN8CryptoPP10BufferlessINS_6FilterEEE]+0x150): undefined reference to `CryptoPP::BufferedTransformation::ChannelFlush(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, bool, int, bool)'
> /usr/bin/ld: test.o:(.rodata._ZTVN8CryptoPP10BufferlessINS_6FilterEEE[_ZTVN8CryptoPP10BufferlessINS_6FilterEEE]+0x158): undefined reference to `CryptoPP::BufferedTransformation::ChannelMessageSeriesEnd(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, int, bool)'
> /usr/bin/ld: test.o:(.rodata._ZTVN8CryptoPP10BufferlessINS_6FilterEEE[_ZTVN8CryptoPP10BufferlessINS_6FilterEEE]+0x160): undefined reference to `CryptoPP::BufferedTransformation::SetRetrievalChannel(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&)'
> /usr/bin/ld: test.o:(.rodata._ZTVN8CryptoPP11UnflushableINS_6FilterEEE[_ZTVN8CryptoPP11UnflushableINS_6FilterEEE]+0x138): undefined reference to `CryptoPP::BufferedTransformation::ChannelCreatePutSpace(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, unsigned long&)'
> /usr/bin/ld: test.o:(.rodata._ZTVN8CryptoPP11UnflushableINS_6FilterEEE[_ZTVN8CryptoPP11UnflushableINS_6FilterEEE]+0x140): undefined reference to `CryptoPP::BufferedTransformation::ChannelPut2(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, unsigned char const*, unsigned long, int, bool)'
> /usr/bin/ld: test.o:(.rodata._ZTVN8CryptoPP11UnflushableINS_6FilterEEE[_ZTVN8CryptoPP11UnflushableINS_6FilterEEE]+0x148): undefined reference to `CryptoPP::BufferedTransformation::ChannelPutModifiable2(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, unsigned char*, unsigned long, int, bool)'
> /usr/bin/ld: test.o:(.rodata._ZTVN8CryptoPP11UnflushableINS_6FilterEEE[_ZTVN8CryptoPP11UnflushableINS_6FilterEEE]+0x158): undefined reference to `CryptoPP::BufferedTransformation::ChannelMessageSeriesEnd(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, int, bool)'
> /usr/bin/ld: test.o:(.rodata._ZTVN8CryptoPP11UnflushableINS_6FilterEEE[_ZTVN8CryptoPP11UnflushableINS_6FilterEEE]+0x160): undefined reference to `CryptoPP::BufferedTransformation::SetRetrievalChannel(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&)'
> /usr/bin/ld: test.o:(.rodata._ZTVN8CryptoPP17SimpleProxyFilterE[_ZTVN8CryptoPP17SimpleProxyFilterE]+0x138): undefined reference to `CryptoPP::BufferedTransformation::ChannelCreatePutSpace(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, unsigned long&)'
> /usr/bin/ld: test.o:(.rodata._ZTVN8CryptoPP17SimpleProxyFilterE[_ZTVN8CryptoPP17SimpleProxyFilterE]+0x140): undefined reference to `CryptoPP::BufferedTransformation::ChannelPut2(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, unsigned char const*, unsigned long, int, bool)'
> /usr/bin/ld: test.o:(.rodata._ZTVN8CryptoPP17SimpleProxyFilterE[_ZTVN8CryptoPP17SimpleProxyFilterE]+0x148): undefined reference to `CryptoPP::BufferedTransformation::ChannelPutModifiable2(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, unsigned char*, unsigned long, int, bool)'
> /usr/bin/ld: test.o:(.rodata._ZTVN8CryptoPP17SimpleProxyFilterE[_ZTVN8CryptoPP17SimpleProxyFilterE]+0x150): undefined reference to `CryptoPP::BufferedTransformation::ChannelFlush(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, bool, int, bool)'
> /usr/bin/ld: test.o:(.rodata._ZTVN8CryptoPP17SimpleProxyFilterE[_ZTVN8CryptoPP17SimpleProxyFilterE]+0x158): undefined reference to `CryptoPP::BufferedTransformation::ChannelMessageSeriesEnd(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, int, bool)'
> /usr/bin/ld: test.o:(.rodata._ZTVN8CryptoPP17SimpleProxyFilterE[_ZTVN8CryptoPP17SimpleProxyFilterE]+0x160): undefined reference to `CryptoPP::BufferedTransformation::SetRetrievalChannel(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&)'
> /usr/bin/ld: test.o:(.rodata._ZTVN8CryptoPP10FileSourceE[_ZTVN8CryptoPP10FileSourceE]+0x138): undefined reference to `CryptoPP::BufferedTransformation::ChannelCreatePutSpace(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, unsigned long&)'
> /usr/bin/ld: test.o:(.rodata._ZTVN8CryptoPP10FileSourceE[_ZTVN8CryptoPP10FileSourceE]+0x148): undefined reference to `CryptoPP::BufferedTransformation::ChannelPutModifiable2(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, unsigned char*, unsigned long, int, bool)'
> /usr/bin/ld: test.o:(.rodata._ZTVN8CryptoPP10FileSourceE[_ZTVN8CryptoPP10FileSourceE]+0x150): undefined reference to `CryptoPP::BufferedTransformation::ChannelFlush(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, bool, int, bool)'
> /usr/bin/ld: test.o:(.rodata._ZTVN8CryptoPP10FileSourceE[_ZTVN8CryptoPP10FileSourceE]+0x160): undefined reference to `CryptoPP::BufferedTransformation::SetRetrievalChannel(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&)'
> /usr/bin/ld: test.o:(.rodata._ZTVN8CryptoPP14SourceTemplateINS_9FileStoreEEE[_ZTVN8CryptoPP14SourceTemplateINS_9FileStoreEEE]+0x138): undefined reference to `CryptoPP::BufferedTransformation::ChannelCreatePutSpace(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, unsigned long&)'
> /usr/bin/ld: test.o:(.rodata._ZTVN8CryptoPP14SourceTemplateINS_9FileStoreEEE[_ZTVN8CryptoPP14SourceTemplateINS_9FileStoreEEE]+0x148): undefined reference to `CryptoPP::BufferedTransformation::ChannelPutModifiable2(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, unsigned char*, unsigned long, int, bool)'
> /usr/bin/ld: test.o:(.rodata._ZTVN8CryptoPP14SourceTemplateINS_9FileStoreEEE[_ZTVN8CryptoPP14SourceTemplateINS_9FileStoreEEE]+0x150): undefined reference to `CryptoPP::BufferedTransformation::ChannelFlush(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, bool, int, bool)'
> /usr/bin/ld: test.o:(.rodata._ZTVN8CryptoPP14SourceTemplateINS_9FileStoreEEE[_ZTVN8CryptoPP14SourceTemplateINS_9FileStoreEEE]+0x160): undefined reference to `CryptoPP::BufferedTransformation::SetRetrievalChannel(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&)'
> /usr/bin/ld: test.o:(.rodata._ZTVN8CryptoPP14InputRejectingINS_6FilterEEE[_ZTVN8CryptoPP14InputRejectingINS_6FilterEEE]+0x138): undefined reference to `CryptoPP::BufferedTransformation::ChannelCreatePutSpace(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, unsigned long&)'
> /usr/bin/ld: test.o:(.rodata._ZTVN8CryptoPP14InputRejectingINS_6FilterEEE[_ZTVN8CryptoPP14InputRejectingINS_6FilterEEE]+0x148): undefined reference to `CryptoPP::BufferedTransformation::ChannelPutModifiable2(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, unsigned char*, unsigned long, int, bool)'
> /usr/bin/ld: test.o:(.rodata._ZTVN8CryptoPP14InputRejectingINS_6FilterEEE[_ZTVN8CryptoPP14InputRejectingINS_6FilterEEE]+0x150): undefined reference to `CryptoPP::BufferedTransformation::ChannelFlush(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, bool, int, bool)'
> /usr/bin/ld: test.o:(.rodata._ZTVN8CryptoPP14InputRejectingINS_6FilterEEE[_ZTVN8CryptoPP14InputRejectingINS_6FilterEEE]+0x160): undefined reference to `CryptoPP::BufferedTransformation::SetRetrievalChannel(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&)'
> /usr/bin/ld: test.o:(.rodata._ZTVN8CryptoPP12StringSourceE[_ZTVN8CryptoPP12StringSourceE]+0x138): undefined reference to `CryptoPP::BufferedTransformation::ChannelCreatePutSpace(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, unsigned long&)'
> /usr/bin/ld: test.o:(.rodata._ZTVN8CryptoPP12StringSourceE[_ZTVN8CryptoPP12StringSourceE]+0x148): undefined reference to `CryptoPP::BufferedTransformation::ChannelPutModifiable2(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, unsigned char*, unsigned long, int, bool)'
> /usr/bin/ld: test.o:(.rodata._ZTVN8CryptoPP12StringSourceE[_ZTVN8CryptoPP12StringSourceE]+0x150): undefined reference to `CryptoPP::BufferedTransformation::ChannelFlush(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, bool, int, bool)'
> /usr/bin/ld: test.o:(.rodata._ZTVN8CryptoPP12StringSourceE[_ZTVN8CryptoPP12StringSourceE]+0x160): undefined reference to `CryptoPP::BufferedTransformation::SetRetrievalChannel(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&)'
> /usr/bin/ld: test.o:(.rodata._ZTVN8CryptoPP14SourceTemplateINS_11StringStoreEEE[_ZTVN8CryptoPP14SourceTemplateINS_11StringStoreEEE]+0x138): undefined reference to `CryptoPP::BufferedTransformation::ChannelCreatePutSpace(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, unsigned long&)'
> /usr/bin/ld: test.o:(.rodata._ZTVN8CryptoPP14SourceTemplateINS_11StringStoreEEE[_ZTVN8CryptoPP14SourceTemplateINS_11StringStoreEEE]+0x148): undefined reference to `CryptoPP::BufferedTransformation::ChannelPutModifiable2(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, unsigned char*, unsigned long, int, bool)'
> /usr/bin/ld: test.o:(.rodata._ZTVN8CryptoPP14SourceTemplateINS_11StringStoreEEE[_ZTVN8CryptoPP14SourceTemplateINS_11StringStoreEEE]+0x150): undefined reference to `CryptoPP::BufferedTransformation::ChannelFlush(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, bool, int, bool)'
> /usr/bin/ld: test.o:(.rodata._ZTVN8CryptoPP14SourceTemplateINS_11StringStoreEEE[_ZTVN8CryptoPP14SourceTemplateINS_11StringStoreEEE]+0x160): undefined reference to `CryptoPP::BufferedTransformation::SetRetrievalChannel(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&)'
> /usr/bin/ld: test.o:(.rodata._ZTVN8CryptoPP18PK_EncryptorFilterE[_ZTVN8CryptoPP18PK_EncryptorFilterE]+0x138): undefined reference to `CryptoPP::BufferedTransformation::ChannelCreatePutSpace(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, unsigned long&)'
> /usr/bin/ld: test.o:(.rodata._ZTVN8CryptoPP18PK_EncryptorFilterE[_ZTVN8CryptoPP18PK_EncryptorFilterE]+0x140): undefined reference to `CryptoPP::BufferedTransformation::ChannelPut2(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, unsigned char const*, unsigned long, int, bool)'
> /usr/bin/ld: test.o:(.rodata._ZTVN8CryptoPP18PK_EncryptorFilterE[_ZTVN8CryptoPP18PK_EncryptorFilterE]+0x148): undefined reference to `CryptoPP::BufferedTransformation::ChannelPutModifiable2(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, unsigned char*, unsigned long, int, bool)'
> /usr/bin/ld: test.o:(.rodata._ZTVN8CryptoPP18PK_EncryptorFilterE[_ZTVN8CryptoPP18PK_EncryptorFilterE]+0x150): undefined reference to `CryptoPP::BufferedTransformation::ChannelFlush(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, bool, int, bool)'
> /usr/bin/ld: test.o:(.rodata._ZTVN8CryptoPP18PK_EncryptorFilterE[_ZTVN8CryptoPP18PK_EncryptorFilterE]+0x158): undefined reference to `CryptoPP::BufferedTransformation::ChannelMessageSeriesEnd(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, int, bool)'
> /usr/bin/ld: test.o:(.rodata._ZTVN8CryptoPP18PK_EncryptorFilterE[_ZTVN8CryptoPP18PK_EncryptorFilterE]+0x160): undefined reference to `CryptoPP::BufferedTransformation::SetRetrievalChannel(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&)'
> /usr/bin/ld: test.o:(.rodata._ZTVN8CryptoPP18PK_DecryptorFilterE[_ZTVN8CryptoPP18PK_DecryptorFilterE]+0x138): undefined reference to `CryptoPP::BufferedTransformation::ChannelCreatePutSpace(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, unsigned long&)'
> /usr/bin/ld: test.o:(.rodata._ZTVN8CryptoPP18PK_DecryptorFilterE[_ZTVN8CryptoPP18PK_DecryptorFilterE]+0x140): undefined reference to `CryptoPP::BufferedTransformation::ChannelPut2(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, unsigned char const*, unsigned long, int, bool)'
> /usr/bin/ld: test.o:(.rodata._ZTVN8CryptoPP18PK_DecryptorFilterE[_ZTVN8CryptoPP18PK_DecryptorFilterE]+0x148): undefined reference to `CryptoPP::BufferedTransformation::ChannelPutModifiable2(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, unsigned char*, unsigned long, int, bool)'
> /usr/bin/ld: test.o:(.rodata._ZTVN8CryptoPP18PK_DecryptorFilterE[_ZTVN8CryptoPP18PK_DecryptorFilterE]+0x150): undefined reference to `CryptoPP::BufferedTransformation::ChannelFlush(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, bool, int, bool)'
> /usr/bin/ld: test.o:(.rodata._ZTVN8CryptoPP18PK_DecryptorFilterE[_ZTVN8CryptoPP18PK_DecryptorFilterE]+0x158): undefined reference to `CryptoPP::BufferedTransformation::ChannelMessageSeriesEnd(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, int, bool)'
> /usr/bin/ld: test.o:(.rodata._ZTVN8CryptoPP18PK_DecryptorFilterE[_ZTVN8CryptoPP18PK_DecryptorFilterE]+0x160): undefined reference to `CryptoPP::BufferedTransformation::SetRetrievalChannel(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&)'
> /usr/bin/ld: test.o:(.rodata._ZTVN8CryptoPP12MultichannelINS_4SinkEEE[_ZTVN8CryptoPP12MultichannelINS_4SinkEEE]+0x158): undefined reference to `CryptoPP::BufferedTransformation::ChannelMessageSeriesEnd(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, int, bool)'
> /usr/bin/ld: test.o:(.rodata._ZTVN8CryptoPP12MultichannelINS_4SinkEEE[_ZTVN8CryptoPP12MultichannelINS_4SinkEEE]+0x160): undefined reference to `CryptoPP::BufferedTransformation::SetRetrievalChannel(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&)'
> /usr/bin/ld: test.o:(.rodata._ZTVN8CryptoPP22CustomFlushPropagationINS_4SinkEEE[_ZTVN8CryptoPP22CustomFlushPropagationINS_4SinkEEE]+0x138): undefined reference to `CryptoPP::BufferedTransformation::ChannelCreatePutSpace(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, unsigned long&)'
> /usr/bin/ld: test.o:(.rodata._ZTVN8CryptoPP22CustomFlushPropagationINS_4SinkEEE[_ZTVN8CryptoPP22CustomFlushPropagationINS_4SinkEEE]+0x140): undefined reference to `CryptoPP::BufferedTransformation::ChannelPut2(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, unsigned char const*, unsigned long, int, bool)'
> /usr/bin/ld: test.o:(.rodata._ZTVN8CryptoPP22CustomFlushPropagationINS_4SinkEEE[_ZTVN8CryptoPP22CustomFlushPropagationINS_4SinkEEE]+0x148): undefined reference to `CryptoPP::BufferedTransformation::ChannelPutModifiable2(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, unsigned char*, unsigned long, int, bool)'
> /usr/bin/ld: test.o:(.rodata._ZTVN8CryptoPP22CustomFlushPropagationINS_4SinkEEE[_ZTVN8CryptoPP22CustomFlushPropagationINS_4SinkEEE]+0x150): undefined reference to `CryptoPP::BufferedTransformation::ChannelFlush(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, bool, int, bool)'
> /usr/bin/ld: test.o:(.rodata._ZTVN8CryptoPP22CustomFlushPropagationINS_4SinkEEE[_ZTVN8CryptoPP22CustomFlushPropagationINS_4SinkEEE]+0x158): undefined reference to `CryptoPP::BufferedTransformation::ChannelMessageSeriesEnd(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, int, bool)'
> /usr/bin/ld: test.o:(.rodata._ZTVN8CryptoPP22CustomFlushPropagationINS_4SinkEEE[_ZTVN8CryptoPP22CustomFlushPropagationINS_4SinkEEE]+0x160): undefined reference to `CryptoPP::BufferedTransformation::SetRetrievalChannel(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&)'
> /usr/bin/ld: test.o:(.rodata._ZTVN8CryptoPP20DataEncryptorWithMACINS_8RijndaelENS_6SHA256ENS_4HMACIS2_EENS_18DataParametersInfoILj16ELj16ELj32ELj8ELj2500EEEEE[_ZTVN8CryptoPP20DataEncryptorWithMACINS_8RijndaelENS_6SHA256ENS_4HMACIS2_EENS_18DataParametersInfoILj16ELj16ELj32ELj8ELj2500EEEEE]+0x138): undefined reference to `CryptoPP::BufferedTransformation::ChannelCreatePutSpace(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, unsigned long&)'
> /usr/bin/ld: test.o:(.rodata._ZTVN8CryptoPP20DataEncryptorWithMACINS_8RijndaelENS_6SHA256ENS_4HMACIS2_EENS_18DataParametersInfoILj16ELj16ELj32ELj8ELj2500EEEEE[_ZTVN8CryptoPP20DataEncryptorWithMACINS_8RijndaelENS_6SHA256ENS_4HMACIS2_EENS_18DataParametersInfoILj16ELj16ELj32ELj8ELj2500EEEEE]+0x140): undefined reference to `CryptoPP::BufferedTransformation::ChannelPut2(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, unsigned char const*, unsigned long, int, bool)'
> /usr/bin/ld: test.o:(.rodata._ZTVN8CryptoPP20DataEncryptorWithMACINS_8RijndaelENS_6SHA256ENS_4HMACIS2_EENS_18DataParametersInfoILj16ELj16ELj32ELj8ELj2500EEEEE[_ZTVN8CryptoPP20DataEncryptorWithMACINS_8RijndaelENS_6SHA256ENS_4HMACIS2_EENS_18DataParametersInfoILj16ELj16ELj32ELj8ELj2500EEEEE]+0x148): undefined reference to `CryptoPP::BufferedTransformation::ChannelPutModifiable2(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, unsigned char*, unsigned long, int, bool)'
> /usr/bin/ld: test.o:(.rodata._ZTVN8CryptoPP20DataEncryptorWithMACINS_8RijndaelENS_6SHA256ENS_4HMACIS2_EENS_18DataParametersInfoILj16ELj16ELj32ELj8ELj2500EEEEE[_ZTVN8CryptoPP20DataEncryptorWithMACINS_8RijndaelENS_6SHA256ENS_4HMACIS2_EENS_18DataParametersInfoILj16ELj16ELj32ELj8ELj2500EEEEE]+0x150): undefined reference to `CryptoPP::BufferedTransformation::ChannelFlush(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, bool, int, bool)'
> /usr/bin/ld: test.o:(.rodata._ZTVN8CryptoPP20DataEncryptorWithMACINS_8RijndaelENS_6SHA256ENS_4HMACIS2_EENS_18DataParametersInfoILj16ELj16ELj32ELj8ELj2500EEEEE[_ZTVN8CryptoPP20DataEncryptorWithMACINS_8RijndaelENS_6SHA256ENS_4HMACIS2_EENS_18DataParametersInfoILj16ELj16ELj32ELj8ELj2500EEEEE]+0x158): undefined reference to `CryptoPP::BufferedTransformation::ChannelMessageSeriesEnd(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, int, bool)'
> /usr/bin/ld: test.o:(.rodata._ZTVN8CryptoPP20DataEncryptorWithMACINS_8RijndaelENS_6SHA256ENS_4HMACIS2_EENS_18DataParametersInfoILj16ELj16ELj32ELj8ELj2500EEEEE[_ZTVN8CryptoPP20DataEncryptorWithMACINS_8RijndaelENS_6SHA256ENS_4HMACIS2_EENS_18DataParametersInfoILj16ELj16ELj32ELj8ELj2500EEEEE]+0x160): undefined reference to `CryptoPP::BufferedTransformation::SetRetrievalChannel(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&)'
> /usr/bin/ld: test.o:(.rodata._ZTVN8CryptoPP22CustomFlushPropagationINS_6FilterEEE[_ZTVN8CryptoPP22CustomFlushPropagationINS_6FilterEEE]+0x138): undefined reference to `CryptoPP::BufferedTransformation::ChannelCreatePutSpace(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, unsigned long&)'
> /usr/bin/ld: test.o:(.rodata._ZTVN8CryptoPP22CustomFlushPropagationINS_6FilterEEE[_ZTVN8CryptoPP22CustomFlushPropagationINS_6FilterEEE]+0x140): undefined reference to `CryptoPP::BufferedTransformation::ChannelPut2(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, unsigned char const*, unsigned long, int, bool)'
> /usr/bin/ld: test.o:(.rodata._ZTVN8CryptoPP22CustomFlushPropagationINS_6FilterEEE[_ZTVN8CryptoPP22CustomFlushPropagationINS_6FilterEEE]+0x148): undefined reference to `CryptoPP::BufferedTransformation::ChannelPutModifiable2(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, unsigned char*, unsigned long, int, bool)'
> /usr/bin/ld: test.o:(.rodata._ZTVN8CryptoPP22CustomFlushPropagationINS_6FilterEEE[_ZTVN8CryptoPP22CustomFlushPropagationINS_6FilterEEE]+0x150): undefined reference to `CryptoPP::BufferedTransformation::ChannelFlush(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, bool, int, bool)'
> /usr/bin/ld: test.o:(.rodata._ZTVN8CryptoPP22CustomFlushPropagationINS_6FilterEEE[_ZTVN8CryptoPP22CustomFlushPropagationINS_6FilterEEE]+0x158): undefined reference to `CryptoPP::BufferedTransformation::ChannelMessageSeriesEnd(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, int, bool)'
> /usr/bin/ld: test.o:(.rodata._ZTVN8CryptoPP22CustomFlushPropagationINS_6FilterEEE[_ZTVN8CryptoPP22CustomFlushPropagationINS_6FilterEEE]+0x160): undefined reference to `CryptoPP::BufferedTransformation::SetRetrievalChannel(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&)'
> /usr/bin/ld: test.o:(.rodata._ZTVN8CryptoPP11OutputProxyE[_ZTVN8CryptoPP11OutputProxyE]+0x160): undefined reference to `CryptoPP::BufferedTransformation::SetRetrievalChannel(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&)'
> /usr/bin/ld: test.o:(.rodata._ZTVN8CryptoPP23CustomSignalPropagationINS_4SinkEEE[_ZTVN8CryptoPP23CustomSignalPropagationINS_4SinkEEE]+0x138): undefined reference to `CryptoPP::BufferedTransformation::ChannelCreatePutSpace(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, unsigned long&)'
> /usr/bin/ld: test.o:(.rodata._ZTVN8CryptoPP23CustomSignalPropagationINS_4SinkEEE[_ZTVN8CryptoPP23CustomSignalPropagationINS_4SinkEEE]+0x140): undefined reference to `CryptoPP::BufferedTransformation::ChannelPut2(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, unsigned char const*, unsigned long, int, bool)'
> /usr/bin/ld: test.o:(.rodata._ZTVN8CryptoPP23CustomSignalPropagationINS_4SinkEEE[_ZTVN8CryptoPP23CustomSignalPropagationINS_4SinkEEE]+0x148): undefined reference to `CryptoPP::BufferedTransformation::ChannelPutModifiable2(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, unsigned char*, unsigned long, int, bool)'
> /usr/bin/ld: test.o:(.rodata._ZTVN8CryptoPP23CustomSignalPropagationINS_4SinkEEE[_ZTVN8CryptoPP23CustomSignalPropagationINS_4SinkEEE]+0x150): undefined reference to `CryptoPP::BufferedTransformation::ChannelFlush(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, bool, int, bool)'
> /usr/bin/ld: test.o:(.rodata._ZTVN8CryptoPP23CustomSignalPropagationINS_4SinkEEE[_ZTVN8CryptoPP23CustomSignalPropagationINS_4SinkEEE]+0x158): undefined reference to `CryptoPP::BufferedTransformation::ChannelMessageSeriesEnd(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, int, bool)'
> /usr/bin/ld: test.o:(.rodata._ZTVN8CryptoPP23CustomSignalPropagationINS_4SinkEEE[_ZTVN8CryptoPP23CustomSignalPropagationINS_4SinkEEE]+0x160): undefined reference to `CryptoPP::BufferedTransformation::SetRetrievalChannel(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&)'
> /usr/bin/ld: test.o:(.rodata._ZTVN8CryptoPP13AutoSignalingINS_11UnflushableINS_12MultichannelINS_6FilterEEEEEEE[_ZTVN8CryptoPP13AutoSignalingINS_11UnflushableINS_12MultichannelINS_6FilterEEEEEEE]+0x158): undefined reference to `CryptoPP::BufferedTransformation::ChannelMessageSeriesEnd(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, int, bool)'
> /usr/bin/ld: test.o:(.rodata._ZTVN8CryptoPP13AutoSignalingINS_11UnflushableINS_12MultichannelINS_6FilterEEEEEEE[_ZTVN8CryptoPP13AutoSignalingINS_11UnflushableINS_12MultichannelINS_6FilterEEEEEEE]+0x160): undefined reference to `CryptoPP::BufferedTransformation::SetRetrievalChannel(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&)'
> /usr/bin/ld: test.o:(.rodata._ZTVN8CryptoPP11UnflushableINS_12MultichannelINS_6FilterEEEEE[_ZTVN8CryptoPP11UnflushableINS_12MultichannelINS_6FilterEEEEE]+0x158): undefined reference to `CryptoPP::BufferedTransformation::ChannelMessageSeriesEnd(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, int, bool)'
> /usr/bin/ld: test.o:(.rodata._ZTVN8CryptoPP11UnflushableINS_12MultichannelINS_6FilterEEEEE[_ZTVN8CryptoPP11UnflushableINS_12MultichannelINS_6FilterEEEEE]+0x160): undefined reference to `CryptoPP::BufferedTransformation::SetRetrievalChannel(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&)'
> /usr/bin/ld: test.o:(.rodata._ZTVN8CryptoPP12MultichannelINS_6FilterEEE[_ZTVN8CryptoPP12MultichannelINS_6FilterEEE]+0x158): undefined reference to `CryptoPP::BufferedTransformation::ChannelMessageSeriesEnd(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, int, bool)'
> /usr/bin/ld: test.o:(.rodata._ZTVN8CryptoPP12MultichannelINS_6FilterEEE[_ZTVN8CryptoPP12MultichannelINS_6FilterEEE]+0x160): undefined reference to `CryptoPP::BufferedTransformation::SetRetrievalChannel(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&)'
> /usr/bin/ld: test.o:(.rodata._ZTVN8CryptoPP17LowFirstBitWriterE[_ZTVN8CryptoPP17LowFirstBitWriterE]+0x138): undefined reference to `CryptoPP::BufferedTransformation::ChannelCreatePutSpace(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, unsigned long&)'
> /usr/bin/ld: test.o:(.rodata._ZTVN8CryptoPP17LowFirstBitWriterE[_ZTVN8CryptoPP17LowFirstBitWriterE]+0x140): undefined reference to `CryptoPP::BufferedTransformation::ChannelPut2(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, unsigned char const*, unsigned long, int, bool)'
> /usr/bin/ld: test.o:(.rodata._ZTVN8CryptoPP17LowFirstBitWriterE[_ZTVN8CryptoPP17LowFirstBitWriterE]+0x148): undefined reference to `CryptoPP::BufferedTransformation::ChannelPutModifiable2(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, unsigned char*, unsigned long, int, bool)'
> /usr/bin/ld: test.o:(.rodata._ZTVN8CryptoPP17LowFirstBitWriterE[_ZTVN8CryptoPP17LowFirstBitWriterE]+0x150): undefined reference to `CryptoPP::BufferedTransformation::ChannelFlush(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, bool, int, bool)'
> /usr/bin/ld: test.o:(.rodata._ZTVN8CryptoPP17LowFirstBitWriterE[_ZTVN8CryptoPP17LowFirstBitWriterE]+0x158): undefined reference to `CryptoPP::BufferedTransformation::ChannelMessageSeriesEnd(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, int, bool)'
> /usr/bin/ld: test.o:(.rodata._ZTVN8CryptoPP17LowFirstBitWriterE[_ZTVN8CryptoPP17LowFirstBitWriterE]+0x160): undefined reference to `CryptoPP::BufferedTransformation::SetRetrievalChannel(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&)'
> /usr/bin/ld: test.o:(.rodata._ZTVN8CryptoPP36CipherModeFinalTemplate_CipherHolderINS_16BlockCipherFinalILNS_9CipherDirE0ENS_8Rijndael3EncEEENS_20ConcretePolicyHolderINS_5EmptyENS_22AdditiveCipherTemplateINS_20AbstractPolicyHolderINS_28AdditiveCipherAbstractPolicyENS_14OFB_ModePolicyEEEEESA_EEEE[_ZTVN8CryptoPP36CipherModeFinalTemplate_CipherHolderINS_16BlockCipherFinalILNS_9CipherDirE0ENS_8Rijndael3EncEEENS_20ConcretePolicyHolderINS_5EmptyENS_22AdditiveCipherTemplateINS_20AbstractPolicyHolderINS_28AdditiveCipherAbstractPolicyENS_14OFB_ModePolicyEEEEESA_EEEE]+0x2b8): undefined reference to `CryptoPP::RandomNumberGenerator::GenerateIntoBufferedTransformation(CryptoPP::BufferedTransformation&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, unsigned long)'
> /usr/bin/ld: test.o:(.rodata._ZTVN8CryptoPP13AlgorithmImplINS_20ConcretePolicyHolderINS_5EmptyENS_22AdditiveCipherTemplateINS_20AbstractPolicyHolderINS_28AdditiveCipherAbstractPolicyENS_14OFB_ModePolicyEEEEES5_EENS_36CipherModeFinalTemplate_CipherHolderINS_16BlockCipherFinalILNS_9CipherDirE0ENS_8Rijndael3EncEEES9_EEEE[_ZTVN8CryptoPP13AlgorithmImplINS_20ConcretePolicyHolderINS_5EmptyENS_22AdditiveCipherTemplateINS_20AbstractPolicyHolderINS_28AdditiveCipherAbstractPolicyENS_14OFB_ModePolicyEEEEES5_EENS_36CipherModeFinalTemplate_CipherHolderINS_16BlockCipherFinalILNS_9CipherDirE0ENS_8Rijndael3EncEEES9_EEEE]+0x2b8): undefined reference to `CryptoPP::RandomNumberGenerator::GenerateIntoBufferedTransformation(CryptoPP::BufferedTransformation&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, unsigned long)'
> /usr/bin/ld: test.o:(.rodata._ZTVN8CryptoPP20ConcretePolicyHolderINS_5EmptyENS_22AdditiveCipherTemplateINS_20AbstractPolicyHolderINS_28AdditiveCipherAbstractPolicyENS_14OFB_ModePolicyEEEEES4_EE[_ZTVN8CryptoPP20ConcretePolicyHolderINS_5EmptyENS_22AdditiveCipherTemplateINS_20AbstractPolicyHolderINS_28AdditiveCipherAbstractPolicyENS_14OFB_ModePolicyEEEEES4_EE]+0x2b0): undefined reference to `CryptoPP::RandomNumberGenerator::GenerateIntoBufferedTransformation(CryptoPP::BufferedTransformation&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, unsigned long)'
> /usr/bin/ld: test.o:(.rodata._ZTVN8CryptoPP36CipherModeFinalTemplate_CipherHolderINS_16BlockCipherFinalILNS_9CipherDirE0ENS_8Rijndael3EncEEENS_20ConcretePolicyHolderINS_5EmptyENS_22AdditiveCipherTemplateINS_20AbstractPolicyHolderINS_28AdditiveCipherAbstractPolicyENS_14CTR_ModePolicyEEEEESA_EEEE[_ZTVN8CryptoPP36CipherModeFinalTemplate_CipherHolderINS_16BlockCipherFinalILNS_9CipherDirE0ENS_8Rijndael3EncEEENS_20ConcretePolicyHolderINS_5EmptyENS_22AdditiveCipherTemplateINS_20AbstractPolicyHolderINS_28AdditiveCipherAbstractPolicyENS_14CTR_ModePolicyEEEEESA_EEEE]+0x2d8): undefined reference to `CryptoPP::RandomNumberGenerator::GenerateIntoBufferedTransformation(CryptoPP::BufferedTransformation&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, unsigned long)'
> /usr/bin/ld: test.o:(.rodata._ZTVN8CryptoPP13AlgorithmImplINS_20ConcretePolicyHolderINS_5EmptyENS_22AdditiveCipherTemplateINS_20AbstractPolicyHolderINS_28AdditiveCipherAbstractPolicyENS_14CTR_ModePolicyEEEEES5_EENS_36CipherModeFinalTemplate_CipherHolderINS_16BlockCipherFinalILNS_9CipherDirE0ENS_8Rijndael3EncEEES9_EEEE[_ZTVN8CryptoPP13AlgorithmImplINS_20ConcretePolicyHolderINS_5EmptyENS_22AdditiveCipherTemplateINS_20AbstractPolicyHolderINS_28AdditiveCipherAbstractPolicyENS_14CTR_ModePolicyEEEEES5_EENS_36CipherModeFinalTemplate_CipherHolderINS_16BlockCipherFinalILNS_9CipherDirE0ENS_8Rijndael3EncEEES9_EEEE]+0x2d8): undefined reference to `CryptoPP::RandomNumberGenerator::GenerateIntoBufferedTransformation(CryptoPP::BufferedTransformation&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, unsigned long)'
> /usr/bin/ld: test.o:(.rodata._ZTVN8CryptoPP20ConcretePolicyHolderINS_5EmptyENS_22AdditiveCipherTemplateINS_20AbstractPolicyHolderINS_28AdditiveCipherAbstractPolicyENS_14CTR_ModePolicyEEEEES4_EE[_ZTVN8CryptoPP20ConcretePolicyHolderINS_5EmptyENS_22AdditiveCipherTemplateINS_20AbstractPolicyHolderINS_28AdditiveCipherAbstractPolicyENS_14CTR_ModePolicyEEEEES4_EE]+0x2d0): more undefined references to `CryptoPP::RandomNumberGenerator::GenerateIntoBufferedTransformation(CryptoPP::BufferedTransformation&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, unsigned long)' follow
> /usr/bin/ld: ./libcryptopp.a(integer.o):(.rodata._ZTVN8CryptoPP18DERSequenceEncoderE[_ZTVN8CryptoPP18DERSequenceEncoderE]+0x138): undefined reference to `CryptoPP::BufferedTransformation::ChannelCreatePutSpace(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, unsigned long&)'
> /usr/bin/ld: ./libcryptopp.a(integer.o):(.rodata._ZTVN8CryptoPP18DERSequenceEncoderE[_ZTVN8CryptoPP18DERSequenceEncoderE]+0x140): undefined reference to `CryptoPP::BufferedTransformation::ChannelPut2(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, unsigned char const*, unsigned long, int, bool)'
> /usr/bin/ld: ./libcryptopp.a(integer.o):(.rodata._ZTVN8CryptoPP18DERSequenceEncoderE[_ZTVN8CryptoPP18DERSequenceEncoderE]+0x148): undefined reference to `CryptoPP::BufferedTransformation::ChannelPutModifiable2(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, unsigned char*, unsigned long, int, bool)'
> /usr/bin/ld: ./libcryptopp.a(integer.o):(.rodata._ZTVN8CryptoPP18DERSequenceEncoderE[_ZTVN8CryptoPP18DERSequenceEncoderE]+0x150): undefined reference to `CryptoPP::BufferedTransformation::ChannelFlush(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, bool, int, bool)'
> /usr/bin/ld: ./libcryptopp.a(integer.o):(.rodata._ZTVN8CryptoPP18DERSequenceEncoderE[_ZTVN8CryptoPP18DERSequenceEncoderE]+0x158): undefined reference to `CryptoPP::BufferedTransformation::ChannelMessageSeriesEnd(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, int, bool)'
> /usr/bin/ld: ./libcryptopp.a(integer.o):(.rodata._ZTVN8CryptoPP18DERSequenceEncoderE[_ZTVN8CryptoPP18DERSequenceEncoderE]+0x160): undefined reference to `CryptoPP::BufferedTransformation::SetRetrievalChannel(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&)'
> /usr/bin/ld: ./libcryptopp.a(integer.o):(.rodata._ZTVN8CryptoPP8KDF2_RNGE[_ZTVN8CryptoPP8KDF2_RNGE]+0x68): undefined reference to `CryptoPP::RandomNumberGenerator::GenerateIntoBufferedTransformation(CryptoPP::BufferedTransformation&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, unsigned long)'
> /usr/bin/ld: ./libcryptopp.a(integer.o):(.rodata._ZTVN8CryptoPP18BERSequenceDecoderE[_ZTVN8CryptoPP18BERSequenceDecoderE]+0x138): undefined reference to `CryptoPP::BufferedTransformation::ChannelCreatePutSpace(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, unsigned long&)'
> /usr/bin/ld: ./libcryptopp.a(integer.o):(.rodata._ZTVN8CryptoPP18BERSequenceDecoderE[_ZTVN8CryptoPP18BERSequenceDecoderE]+0x148): undefined reference to `CryptoPP::BufferedTransformation::ChannelPutModifiable2(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, unsigned char*, unsigned long, int, bool)'
> /usr/bin/ld: ./libcryptopp.a(integer.o):(.rodata._ZTVN8CryptoPP18BERSequenceDecoderE[_ZTVN8CryptoPP18BERSequenceDecoderE]+0x150): undefined reference to `CryptoPP::BufferedTransformation::ChannelFlush(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, bool, int, bool)'
> /usr/bin/ld: ./libcryptopp.a(integer.o):(.rodata._ZTVN8CryptoPP18BERSequenceDecoderE[_ZTVN8CryptoPP18BERSequenceDecoderE]+0x160): undefined reference to `CryptoPP::BufferedTransformation::SetRetrievalChannel(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&)'
> /usr/bin/ld: ./libcryptopp.a(dll.o):(.rodata._ZTVN8CryptoPP22AdditiveCipherTemplateINS_20AbstractPolicyHolderINS_28AdditiveCipherAbstractPolicyENS_15SymmetricCipherEEEEE[_ZTVN8CryptoPP22AdditiveCipherTemplateINS_20AbstractPolicyHolderINS_28AdditiveCipherAbstractPolicyENS_15SymmetricCipherEEEEE]+0x1e8): undefined reference to `CryptoPP::RandomNumberGenerator::GenerateIntoBufferedTransformation(CryptoPP::BufferedTransformation&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, unsigned long)'
> /usr/bin/ld: ./libcryptopp.a(dll.o):(.rodata._ZTVN8CryptoPP22AdditiveCipherTemplateINS_20AbstractPolicyHolderINS_28AdditiveCipherAbstractPolicyENS_14OFB_ModePolicyEEEEE[_ZTVN8CryptoPP22AdditiveCipherTemplateINS_20AbstractPolicyHolderINS_28AdditiveCipherAbstractPolicyENS_14OFB_ModePolicyEEEEE]+0x2b0): undefined reference to `CryptoPP::RandomNumberGenerator::GenerateIntoBufferedTransformation(CryptoPP::BufferedTransformation&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, unsigned long)'
> /usr/bin/ld: ./libcryptopp.a(dll.o):(.rodata._ZTVN8CryptoPP22AdditiveCipherTemplateINS_20AbstractPolicyHolderINS_28AdditiveCipherAbstractPolicyENS_14CTR_ModePolicyEEEEE[_ZTVN8CryptoPP22AdditiveCipherTemplateINS_20AbstractPolicyHolderINS_28AdditiveCipherAbstractPolicyENS_14CTR_ModePolicyEEEEE]+0x2d0): undefined reference to `CryptoPP::RandomNumberGenerator::GenerateIntoBufferedTransformation(CryptoPP::BufferedTransformation&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, unsigned long)'
> /usr/bin/ld: ./libcryptopp.a(dll.o):(.rodata._ZTVN8CryptoPP38CipherModeFinalTemplate_ExternalCipherINS_20ConcretePolicyHolderINS_5EmptyENS_22AdditiveCipherTemplateINS_20AbstractPolicyHolderINS_28AdditiveCipherAbstractPolicyENS_14CTR_ModePolicyEEEEES5_EEEE[_ZTVN8CryptoPP38CipherModeFinalTemplate_ExternalCipherINS_20ConcretePolicyHolderINS_5EmptyENS_22AdditiveCipherTemplateINS_20AbstractPolicyHolderINS_28AdditiveCipherAbstractPolicyENS_14CTR_ModePolicyEEEEES5_EEEE]+0x2d8): undefined reference to `CryptoPP::RandomNumberGenerator::GenerateIntoBufferedTransformation(CryptoPP::BufferedTransformation&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, unsigned long)'
> /usr/bin/ld: ./libcryptopp.a(dll.o):(.rodata._ZTVN8CryptoPP18StringSinkTemplateINSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEEEE[_ZTVN8CryptoPP18StringSinkTemplateINSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEEEE]+0x138): undefined reference to `CryptoPP::BufferedTransformation::ChannelCreatePutSpace(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, unsigned long&)'
> /usr/bin/ld: ./libcryptopp.a(dll.o):(.rodata._ZTVN8CryptoPP18StringSinkTemplateINSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEEEE[_ZTVN8CryptoPP18StringSinkTemplateINSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEEEE]+0x140): undefined reference to `CryptoPP::BufferedTransformation::ChannelPut2(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, unsigned char const*, unsigned long, int, bool)'
> /usr/bin/ld: ./libcryptopp.a(dll.o):(.rodata._ZTVN8CryptoPP18StringSinkTemplateINSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEEEE[_ZTVN8CryptoPP18StringSinkTemplateINSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEEEE]+0x148): undefined reference to `CryptoPP::BufferedTransformation::ChannelPutModifiable2(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, unsigned char*, unsigned long, int, bool)'
> /usr/bin/ld: ./libcryptopp.a(dll.o):(.rodata._ZTVN8CryptoPP18StringSinkTemplateINSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEEEE[_ZTVN8CryptoPP18StringSinkTemplateINSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEEEE]+0x150): undefined reference to `CryptoPP::BufferedTransformation::ChannelFlush(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, bool, int, bool)'
> /usr/bin/ld: ./libcryptopp.a(dll.o):(.rodata._ZTVN8CryptoPP18StringSinkTemplateINSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEEEE[_ZTVN8CryptoPP18StringSinkTemplateINSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEEEE]+0x158): undefined reference to `CryptoPP::BufferedTransformation::ChannelMessageSeriesEnd(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, int, bool)'
> /usr/bin/ld: ./libcryptopp.a(dll.o):(.rodata._ZTVN8CryptoPP18StringSinkTemplateINSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEEEE[_ZTVN8CryptoPP18StringSinkTemplateINSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEEEE]+0x160): undefined reference to `CryptoPP::BufferedTransformation::SetRetrievalChannel(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&)'
> /usr/bin/ld: ./libcryptopp.a(dll.o):(.rodata._ZTVN8CryptoPP18StringSinkTemplateINSt3__16vectorIhNS1_9allocatorIhEEEEEE[_ZTVN8CryptoPP18StringSinkTemplateINSt3__16vectorIhNS1_9allocatorIhEEEEEE]+0x138): undefined reference to `CryptoPP::BufferedTransformation::ChannelCreatePutSpace(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, unsigned long&)'
> /usr/bin/ld: ./libcryptopp.a(dll.o):(.rodata._ZTVN8CryptoPP18StringSinkTemplateINSt3__16vectorIhNS1_9allocatorIhEEEEEE[_ZTVN8CryptoPP18StringSinkTemplateINSt3__16vectorIhNS1_9allocatorIhEEEEEE]+0x140): undefined reference to `CryptoPP::BufferedTransformation::ChannelPut2(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, unsigned char const*, unsigned long, int, bool)'
> /usr/bin/ld: ./libcryptopp.a(dll.o):(.rodata._ZTVN8CryptoPP18StringSinkTemplateINSt3__16vectorIhNS1_9allocatorIhEEEEEE[_ZTVN8CryptoPP18StringSinkTemplateINSt3__16vectorIhNS1_9allocatorIhEEEEEE]+0x148): undefined reference to `CryptoPP::BufferedTransformation::ChannelPutModifiable2(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, unsigned char*, unsigned long, int, bool)'
> /usr/bin/ld: ./libcryptopp.a(dll.o):(.rodata._ZTVN8CryptoPP18StringSinkTemplateINSt3__16vectorIhNS1_9allocatorIhEEEEEE[_ZTVN8CryptoPP18StringSinkTemplateINSt3__16vectorIhNS1_9allocatorIhEEEEEE]+0x150): undefined reference to `CryptoPP::BufferedTransformation::ChannelFlush(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, bool, int, bool)'
> /usr/bin/ld: ./libcryptopp.a(dll.o):(.rodata._ZTVN8CryptoPP18StringSinkTemplateINSt3__16vectorIhNS1_9allocatorIhEEEEEE[_ZTVN8CryptoPP18StringSinkTemplateINSt3__16vectorIhNS1_9allocatorIhEEEEEE]+0x158): undefined reference to `CryptoPP::BufferedTransformation::ChannelMessageSeriesEnd(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, int, bool)'
> /usr/bin/ld: ./libcryptopp.a(dll.o):(.rodata._ZTVN8CryptoPP18StringSinkTemplateINSt3__16vectorIhNS1_9allocatorIhEEEEEE[_ZTVN8CryptoPP18StringSinkTemplateINSt3__16vectorIhNS1_9allocatorIhEEEEEE]+0x160): undefined reference to `CryptoPP::BufferedTransformation::SetRetrievalChannel(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&)'
> /usr/bin/ld: ./libcryptopp.a(ec2n.o): in function `CryptoPP::EC2N::EncodePoint(CryptoPP::BufferedTransformation&, CryptoPP::EC2NPoint const&, bool) const':
> ec2n.cpp:(.text+0xb3b): undefined reference to `CryptoPP::DEFAULT_CHANNEL'
> /usr/bin/ld: ./libcryptopp.a(ecp.o): in function `CryptoPP::ECP::EncodePoint(CryptoPP::BufferedTransformation&, CryptoPP::ECPPoint const&, bool) const':
> ecp.cpp:(.text+0xe8b): undefined reference to `CryptoPP::DEFAULT_CHANNEL'
> /usr/bin/ld: ./libcryptopp.a(fipstest.o): in function `CryptoPP::KnownAnswerTest(CryptoPP::HashTransformation&, char const*, char const*)':
> fipstest.cpp:(.text+0xfd6): undefined reference to `CryptoPP::DEFAULT_CHANNEL'
> /usr/bin/ld: fipstest.cpp:(.text+0xfdc): undefined reference to `CryptoPP::DEFAULT_CHANNEL'
> /usr/bin/ld: ./libcryptopp.a(fipstest.o): in function `CryptoPP::IntegrityCheckModule(char const*, unsigned char const*, CryptoPP::SecBlock<unsigned char, CryptoPP::AllocatorWithCleanup<unsigned char, false> >*, unsigned long*)':
> fipstest.cpp:(.text+0x1c53): undefined reference to `CryptoPP::DEFAULT_CHANNEL'
> /usr/bin/ld: ./libcryptopp.a(fipstest.o):fipstest.cpp:(.text+0x1c59): more undefined references to `CryptoPP::DEFAULT_CHANNEL' follow
> /usr/bin/ld: datatest.o: in function `CryptoPP::Test::TestAuthenticatedSymmetricCipher(std::__1::map<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::less<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >, std::__1::allocator<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > > > >&, CryptoPP::NameValuePairs const&)':
> datatest.cpp:(.text+0x5c18): undefined reference to `CryptoPP::AAD_CHANNEL'
> /usr/bin/ld: datatest.cpp:(.text+0x5c3c): undefined reference to `CryptoPP::DEFAULT_CHANNEL'
> /usr/bin/ld: datatest.cpp:(.text+0x5c5e): undefined reference to `CryptoPP::AAD_CHANNEL'
> /usr/bin/ld: datatest.cpp:(.text+0x5c8f): undefined reference to `CryptoPP::DEFAULT_CHANNEL'
> /usr/bin/ld: datatest.cpp:(.text+0x5cd1): undefined reference to `CryptoPP::AAD_CHANNEL'
> /usr/bin/ld: datatest.cpp:(.text+0x5cf3): undefined reference to `CryptoPP::DEFAULT_CHANNEL'
> /usr/bin/ld: datatest.cpp:(.text+0x5d15): undefined reference to `CryptoPP::AAD_CHANNEL'
> /usr/bin/ld: validat3.o: in function `CryptoPP::SourceTemplate<CryptoPP::RandomNumberStore>::Pump2(unsigned long&, bool)':
> validat3.cpp:(.text._ZN8CryptoPP14SourceTemplateINS_17RandomNumberStoreEE5Pump2ERmb[_ZN8CryptoPP14SourceTemplateINS_17RandomNumberStoreEE5Pump2ERmb]+0x4c): undefined reference to `CryptoPP::DEFAULT_CHANNEL'
> /usr/bin/ld: validat3.o: in function `CryptoPP::SourceTemplate<CryptoPP::RandomNumberStore>::PumpMessages2(unsigned int&, bool)':
> validat3.cpp:(.text._ZN8CryptoPP14SourceTemplateINS_17RandomNumberStoreEE13PumpMessages2ERjb[_ZN8CryptoPP14SourceTemplateINS_17RandomNumberStoreEE13PumpMessages2ERjb]+0x4c): undefined reference to `CryptoPP::DEFAULT_CHANNEL'
> /usr/bin/ld: validat3.cpp:(.text._ZN8CryptoPP14SourceTemplateINS_17RandomNumberStoreEE13PumpMessages2ERjb[_ZN8CryptoPP14SourceTemplateINS_17RandomNumberStoreEE13PumpMessages2ERjb]+0x59): undefined reference to `CryptoPP::BufferedTransformation::TransferMessagesTo2(CryptoPP::BufferedTransformation&, unsigned int&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, bool)'
> /usr/bin/ld: validat3.o: in function `CryptoPP::SourceTemplate<CryptoPP::RandomNumberStore>::PumpAll2(bool)':
> validat3.cpp:(.text._ZN8CryptoPP14SourceTemplateINS_17RandomNumberStoreEE8PumpAll2Eb[_ZN8CryptoPP14SourceTemplateINS_17RandomNumberStoreEE8PumpAll2Eb]+0x4a): undefined reference to `CryptoPP::DEFAULT_CHANNEL'
> /usr/bin/ld: validat3.cpp:(.text._ZN8CryptoPP14SourceTemplateINS_17RandomNumberStoreEE8PumpAll2Eb[_ZN8CryptoPP14SourceTemplateINS_17RandomNumberStoreEE8PumpAll2Eb]+0x5b): undefined reference to `CryptoPP::BufferedTransformation::TransferAllTo2(CryptoPP::BufferedTransformation&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, bool)'
> /usr/bin/ld: validat3.o:(.rodata._ZTVN8CryptoPP18RandomNumberSourceE[_ZTVN8CryptoPP18RandomNumberSourceE]+0x138): undefined reference to `CryptoPP::BufferedTransformation::ChannelCreatePutSpace(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, unsigned long&)'
> /usr/bin/ld: validat3.o:(.rodata._ZTVN8CryptoPP18RandomNumberSourceE[_ZTVN8CryptoPP18RandomNumberSourceE]+0x148): undefined reference to `CryptoPP::BufferedTransformation::ChannelPutModifiable2(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, unsigned char*, unsigned long, int, bool)'
> /usr/bin/ld: validat3.o:(.rodata._ZTVN8CryptoPP18RandomNumberSourceE[_ZTVN8CryptoPP18RandomNumberSourceE]+0x150): undefined reference to `CryptoPP::BufferedTransformation::ChannelFlush(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, bool, int, bool)'
> /usr/bin/ld: validat3.o:(.rodata._ZTVN8CryptoPP18RandomNumberSourceE[_ZTVN8CryptoPP18RandomNumberSourceE]+0x160): undefined reference to `CryptoPP::BufferedTransformation::SetRetrievalChannel(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&)'
> /usr/bin/ld: validat3.o:(.rodata._ZTVN8CryptoPP14SourceTemplateINS_17RandomNumberStoreEEE[_ZTVN8CryptoPP14SourceTemplateINS_17RandomNumberStoreEEE]+0x138): undefined reference to `CryptoPP::BufferedTransformation::ChannelCreatePutSpace(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, unsigned long&)'
> /usr/bin/ld: validat3.o:(.rodata._ZTVN8CryptoPP14SourceTemplateINS_17RandomNumberStoreEEE[_ZTVN8CryptoPP14SourceTemplateINS_17RandomNumberStoreEEE]+0x148): undefined reference to `CryptoPP::BufferedTransformation::ChannelPutModifiable2(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, unsigned char*, unsigned long, int, bool)'
> /usr/bin/ld: validat3.o:(.rodata._ZTVN8CryptoPP14SourceTemplateINS_17RandomNumberStoreEEE[_ZTVN8CryptoPP14SourceTemplateINS_17RandomNumberStoreEEE]+0x150): undefined reference to `CryptoPP::BufferedTransformation::ChannelFlush(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, bool, int, bool)'
> /usr/bin/ld: validat3.o:(.rodata._ZTVN8CryptoPP14SourceTemplateINS_17RandomNumberStoreEEE[_ZTVN8CryptoPP14SourceTemplateINS_17RandomNumberStoreEEE]+0x160): undefined reference to `CryptoPP::BufferedTransformation::SetRetrievalChannel(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&)'
> /usr/bin/ld: validat3.o:(.rodata._ZTVN8CryptoPP9Hash_DRBGINS_4SHA1ELj16ELj55EEE[_ZTVN8CryptoPP9Hash_DRBGINS_4SHA1ELj16ELj55EEE]+0x68): undefined reference to `CryptoPP::RandomNumberGenerator::GenerateIntoBufferedTransformation(CryptoPP::BufferedTransformation&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, unsigned long)'
> /usr/bin/ld: validat3.o:(.rodata._ZTVN8CryptoPP9Hash_DRBGINS_6SHA256ELj16ELj55EEE[_ZTVN8CryptoPP9Hash_DRBGINS_6SHA256ELj16ELj55EEE]+0x68): undefined reference to `CryptoPP::RandomNumberGenerator::GenerateIntoBufferedTransformation(CryptoPP::BufferedTransformation&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, unsigned long)'
> /usr/bin/ld: validat3.o:(.rodata._ZTVN8CryptoPP9Hash_DRBGINS_6SHA512ELj32ELj111EEE[_ZTVN8CryptoPP9Hash_DRBGINS_6SHA512ELj32ELj111EEE]+0x68): undefined reference to `CryptoPP::RandomNumberGenerator::GenerateIntoBufferedTransformation(CryptoPP::BufferedTransformation&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, unsigned long)'
> /usr/bin/ld: validat3.o:(.rodata._ZTVN8CryptoPP9NIST_DRBGE[_ZTVN8CryptoPP9NIST_DRBGE]+0x68): undefined reference to `CryptoPP::RandomNumberGenerator::GenerateIntoBufferedTransformation(CryptoPP::BufferedTransformation&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, unsigned long)'
> /usr/bin/ld: validat4.o: in function `CryptoPP::Test::ValidateCipherModes()':
> validat4.cpp:(.text+0x4888): undefined reference to `CryptoPP::DEFAULT_CHANNEL'
> /usr/bin/ld: validat4.cpp:(.text+0x488e): undefined reference to `CryptoPP::DEFAULT_CHANNEL'
> /usr/bin/ld: validat4.cpp:(.text+0x49d3): undefined reference to `CryptoPP::DEFAULT_CHANNEL'
> /usr/bin/ld: validat4.cpp:(.text+0x49d9): undefined reference to `CryptoPP::DEFAULT_CHANNEL'
> /usr/bin/ld: validat4.o: in function `CryptoPP::Unflushable<CryptoPP::Sink>::Flush(bool, int, bool)':
> validat4.cpp:(.text._ZN8CryptoPP11UnflushableINS_4SinkEE5FlushEbib[_ZN8CryptoPP11UnflushableINS_4SinkEE5FlushEbib]+0x3e): undefined reference to `CryptoPP::DEFAULT_CHANNEL'
> /usr/bin/ld: validat4.o:(.rodata+0x520): undefined reference to `CryptoPP::BufferedTransformation::ChannelCreatePutSpace(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, unsigned long&)'
> /usr/bin/ld: validat4.o:(.rodata+0x528): undefined reference to `CryptoPP::BufferedTransformation::ChannelPut2(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, unsigned char const*, unsigned long, int, bool)'
> /usr/bin/ld: validat4.o:(.rodata+0x530): undefined reference to `CryptoPP::BufferedTransformation::ChannelPutModifiable2(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, unsigned char*, unsigned long, int, bool)'
> /usr/bin/ld: validat4.o:(.rodata+0x538): undefined reference to `CryptoPP::BufferedTransformation::ChannelFlush(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, bool, int, bool)'
> /usr/bin/ld: validat4.o:(.rodata+0x540): undefined reference to `CryptoPP::BufferedTransformation::ChannelMessageSeriesEnd(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, int, bool)'
> /usr/bin/ld: validat4.o:(.rodata+0x548): undefined reference to `CryptoPP::BufferedTransformation::SetRetrievalChannel(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&)'
> /usr/bin/ld: validat4.o:(.rodata+0x760): undefined reference to `CryptoPP::BufferedTransformation::ChannelCreatePutSpace(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, unsigned long&)'
> /usr/bin/ld: validat4.o:(.rodata+0x768): undefined reference to `CryptoPP::BufferedTransformation::ChannelPut2(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, unsigned char const*, unsigned long, int, bool)'
> /usr/bin/ld: validat4.o:(.rodata+0x770): undefined reference to `CryptoPP::BufferedTransformation::ChannelPutModifiable2(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, unsigned char*, unsigned long, int, bool)'
> /usr/bin/ld: validat4.o:(.rodata+0x780): undefined reference to `CryptoPP::BufferedTransformation::ChannelMessageSeriesEnd(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, int, bool)'
> /usr/bin/ld: validat4.o:(.rodata+0x788): undefined reference to `CryptoPP::BufferedTransformation::SetRetrievalChannel(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&)'
> /usr/bin/ld: validat4.o:(.rodata._ZTVN8CryptoPP9HMAC_DRBGINS_4SHA1ELj16ELj55EEE[_ZTVN8CryptoPP9HMAC_DRBGINS_4SHA1ELj16ELj55EEE]+0x68): undefined reference to `CryptoPP::RandomNumberGenerator::GenerateIntoBufferedTransformation(CryptoPP::BufferedTransformation&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, unsigned long)'
> /usr/bin/ld: validat4.o:(.rodata._ZTVN8CryptoPP4Test12FilterTesterE[_ZTVN8CryptoPP4Test12FilterTesterE]+0x138): undefined reference to `CryptoPP::BufferedTransformation::ChannelCreatePutSpace(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, unsigned long&)'
> /usr/bin/ld: validat4.o:(.rodata._ZTVN8CryptoPP4Test12FilterTesterE[_ZTVN8CryptoPP4Test12FilterTesterE]+0x140): undefined reference to `CryptoPP::BufferedTransformation::ChannelPut2(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, unsigned char const*, unsigned long, int, bool)'
> /usr/bin/ld: validat4.o:(.rodata._ZTVN8CryptoPP4Test12FilterTesterE[_ZTVN8CryptoPP4Test12FilterTesterE]+0x148): undefined reference to `CryptoPP::BufferedTransformation::ChannelPutModifiable2(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, unsigned char*, unsigned long, int, bool)'
> /usr/bin/ld: validat4.o:(.rodata._ZTVN8CryptoPP4Test12FilterTesterE[_ZTVN8CryptoPP4Test12FilterTesterE]+0x158): undefined reference to `CryptoPP::BufferedTransformation::ChannelMessageSeriesEnd(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, int, bool)'
> /usr/bin/ld: validat4.o:(.rodata._ZTVN8CryptoPP4Test12FilterTesterE[_ZTVN8CryptoPP4Test12FilterTesterE]+0x160): undefined reference to `CryptoPP::BufferedTransformation::SetRetrievalChannel(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&)'
> /usr/bin/ld: validat4.o:(.rodata._ZTVN8CryptoPP11UnflushableINS_4SinkEEE[_ZTVN8CryptoPP11UnflushableINS_4SinkEEE]+0x138): undefined reference to `CryptoPP::BufferedTransformation::ChannelCreatePutSpace(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, unsigned long&)'
> /usr/bin/ld: validat4.o:(.rodata._ZTVN8CryptoPP11UnflushableINS_4SinkEEE[_ZTVN8CryptoPP11UnflushableINS_4SinkEEE]+0x140): undefined reference to `CryptoPP::BufferedTransformation::ChannelPut2(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, unsigned char const*, unsigned long, int, bool)'
> /usr/bin/ld: validat4.o:(.rodata._ZTVN8CryptoPP11UnflushableINS_4SinkEEE[_ZTVN8CryptoPP11UnflushableINS_4SinkEEE]+0x148): undefined reference to `CryptoPP::BufferedTransformation::ChannelPutModifiable2(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, unsigned char*, unsigned long, int, bool)'
> /usr/bin/ld: validat4.o:(.rodata._ZTVN8CryptoPP11UnflushableINS_4SinkEEE[_ZTVN8CryptoPP11UnflushableINS_4SinkEEE]+0x158): undefined reference to `CryptoPP::BufferedTransformation::ChannelMessageSeriesEnd(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, int, bool)'
> /usr/bin/ld: validat4.o:(.rodata._ZTVN8CryptoPP11UnflushableINS_4SinkEEE[_ZTVN8CryptoPP11UnflushableINS_4SinkEEE]+0x160): undefined reference to `CryptoPP::BufferedTransformation::SetRetrievalChannel(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&)'
> /usr/bin/ld: validat4.o:(.rodata._ZTVN8CryptoPP38CipherModeFinalTemplate_ExternalCipherINS_20ConcretePolicyHolderINS_5EmptyENS_22AdditiveCipherTemplateINS_20AbstractPolicyHolderINS_28AdditiveCipherAbstractPolicyENS_14OFB_ModePolicyEEEEES5_EEEE[_ZTVN8CryptoPP38CipherModeFinalTemplate_ExternalCipherINS_20ConcretePolicyHolderINS_5EmptyENS_22AdditiveCipherTemplateINS_20AbstractPolicyHolderINS_28AdditiveCipherAbstractPolicyENS_14OFB_ModePolicyEEEEES5_EEEE]+0x2b8): undefined reference to `CryptoPP::RandomNumberGenerator::GenerateIntoBufferedTransformation(CryptoPP::BufferedTransformation&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, unsigned long)'
> /usr/bin/ld: validat4.o:(.rodata._ZTVN8CryptoPP20SymmetricCipherFinalINS_5Weak19ARC4_BaseES2_EE[_ZTVN8CryptoPP20SymmetricCipherFinalINS_5Weak19ARC4_BaseES2_EE]+0x68): undefined reference to `CryptoPP::RandomNumberGenerator::GenerateIntoBufferedTransformation(CryptoPP::BufferedTransformation&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, unsigned long)'
> /usr/bin/ld: validat4.o:(.rodata._ZTVN8CryptoPP13AlgorithmImplINS_25SimpleKeyingInterfaceImplINS_5Weak19ARC4_BaseES3_EES3_EE[_ZTVN8CryptoPP13AlgorithmImplINS_25SimpleKeyingInterfaceImplINS_5Weak19ARC4_BaseES3_EES3_EE]+0x68): undefined reference to `CryptoPP::RandomNumberGenerator::GenerateIntoBufferedTransformation(CryptoPP::BufferedTransformation&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, unsigned long)'
> /usr/bin/ld: validat4.o:(.rodata._ZTVN8CryptoPP25SimpleKeyingInterfaceImplINS_5Weak19ARC4_BaseES2_EE[_ZTVN8CryptoPP25SimpleKeyingInterfaceImplINS_5Weak19ARC4_BaseES2_EE]+0x68): undefined reference to `CryptoPP::RandomNumberGenerator::GenerateIntoBufferedTransformation(CryptoPP::BufferedTransformation&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, unsigned long)'
> /usr/bin/ld: validat4.o:(.rodata._ZTVN8CryptoPP20SymmetricCipherFinalINS_20ConcretePolicyHolderINS_11SEAL_PolicyINS_10EnumToTypeINS_9ByteOrderELi1EEEEENS_22AdditiveCipherTemplateINS_20AbstractPolicyHolderINS_28AdditiveCipherAbstractPolicyENS_15SymmetricCipherEEEEES9_EENS_9SEAL_InfoIS5_EEEE[_ZTVN8CryptoPP20SymmetricCipherFinalINS_20ConcretePolicyHolderINS_11SEAL_PolicyINS_10EnumToTypeINS_9ByteOrderELi1EEEEENS_22AdditiveCipherTemplateINS_20AbstractPolicyHolderINS_28AdditiveCipherAbstractPolicyENS_15SymmetricCipherEEEEES9_EENS_9SEAL_InfoIS5_EEEE]+0x1f8): undefined reference to `CryptoPP::RandomNumberGenerator::GenerateIntoBufferedTransformation(CryptoPP::BufferedTransformation&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, unsigned long)'
> /usr/bin/ld: validat4.o:(.rodata._ZTVN8CryptoPP13AlgorithmImplINS_25SimpleKeyingInterfaceImplINS_20ConcretePolicyHolderINS_11SEAL_PolicyINS_10EnumToTypeINS_9ByteOrderELi1EEEEENS_22AdditiveCipherTemplateINS_20AbstractPolicyHolderINS_28AdditiveCipherAbstractPolicyENS_15SymmetricCipherEEEEESA_EENS_9SEAL_InfoIS6_EEEESG_EE[_ZTVN8CryptoPP13AlgorithmImplINS_25SimpleKeyingInterfaceImplINS_20ConcretePolicyHolderINS_11SEAL_PolicyINS_10EnumToTypeINS_9ByteOrderELi1EEEEENS_22AdditiveCipherTemplateINS_20AbstractPolicyHolderINS_28AdditiveCipherAbstractPolicyENS_15SymmetricCipherEEEEESA_EENS_9SEAL_InfoIS6_EEEESG_EE]+0x1f0): more undefined references to `CryptoPP::RandomNumberGenerator::GenerateIntoBufferedTransformation(CryptoPP::BufferedTransformation&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, unsigned long)' follow
> /usr/bin/ld: ./libcryptopp.a(asn.o): in function `CryptoPP::BERDecodeOctetString(CryptoPP::BufferedTransformation&, CryptoPP::BufferedTransformation&)':
> asn.cpp:(.text+0x582): undefined reference to `CryptoPP::DEFAULT_CHANNEL'
> /usr/bin/ld: ./libcryptopp.a(asn.o): in function `CryptoPP::DERReencode(CryptoPP::BufferedTransformation&, CryptoPP::BufferedTransformation&)':
> asn.cpp:(.text+0xd10): undefined reference to `CryptoPP::DEFAULT_CHANNEL'
> /usr/bin/ld: ./libcryptopp.a(asn.o): in function `CryptoPP::DERGeneralEncoder::MessageEnd()':
> asn.cpp:(.text+0xf7a): undefined reference to `CryptoPP::DEFAULT_CHANNEL'
> /usr/bin/ld: ./libcryptopp.a(asn.o): in function `CryptoPP::BERDecodePeekLength(CryptoPP::BufferedTransformation const&)':
> asn.cpp:(.text+0x1017): undefined reference to `CryptoPP::DEFAULT_CHANNEL'
> /usr/bin/ld: ./libcryptopp.a(asn.o): in function `CryptoPP::OID::DEREncode(CryptoPP::BufferedTransformation&) const':
> asn.cpp:(.text+0x13a7): undefined reference to `CryptoPP::DEFAULT_CHANNEL'
> /usr/bin/ld: ./libcryptopp.a(asn.o):asn.cpp:(.text+0x190f): more undefined references to `CryptoPP::DEFAULT_CHANNEL' follow
> /usr/bin/ld: ./libcryptopp.a(asn.o):(.rodata+0x160): undefined reference to `CryptoPP::BufferedTransformation::ChannelCreatePutSpace(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, unsigned long&)'
> /usr/bin/ld: ./libcryptopp.a(asn.o):(.rodata+0x170): undefined reference to `CryptoPP::BufferedTransformation::ChannelPutModifiable2(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, unsigned char*, unsigned long, int, bool)'
> /usr/bin/ld: ./libcryptopp.a(asn.o):(.rodata+0x178): undefined reference to `CryptoPP::BufferedTransformation::ChannelFlush(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, bool, int, bool)'
> /usr/bin/ld: ./libcryptopp.a(asn.o):(.rodata+0x188): undefined reference to `CryptoPP::BufferedTransformation::SetRetrievalChannel(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&)'
> /usr/bin/ld: ./libcryptopp.a(asn.o):(.rodata+0x328): undefined reference to `CryptoPP::BufferedTransformation::ChannelCreatePutSpace(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, unsigned long&)'
> /usr/bin/ld: ./libcryptopp.a(asn.o):(.rodata+0x330): undefined reference to `CryptoPP::BufferedTransformation::ChannelPut2(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, unsigned char const*, unsigned long, int, bool)'
> /usr/bin/ld: ./libcryptopp.a(asn.o):(.rodata+0x338): undefined reference to `CryptoPP::BufferedTransformation::ChannelPutModifiable2(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, unsigned char*, unsigned long, int, bool)'
> /usr/bin/ld: ./libcryptopp.a(asn.o):(.rodata+0x340): undefined reference to `CryptoPP::BufferedTransformation::ChannelFlush(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, bool, int, bool)'
> /usr/bin/ld: ./libcryptopp.a(asn.o):(.rodata+0x348): undefined reference to `CryptoPP::BufferedTransformation::ChannelMessageSeriesEnd(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, int, bool)'
> /usr/bin/ld: ./libcryptopp.a(asn.o):(.rodata+0x350): undefined reference to `CryptoPP::BufferedTransformation::SetRetrievalChannel(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&)'
> /usr/bin/ld: ./libcryptopp.a(authenc.o):(.rodata+0x150): undefined reference to `CryptoPP::AuthenticatedSymmetricCipher::AlgorithmName() const'
> /usr/bin/ld: ./libcryptopp.a(authenc.o):(.rodata+0x200): undefined reference to `non-virtual thunk to CryptoPP::AuthenticatedSymmetricCipher::AlgorithmName() const'
> /usr/bin/ld: ./libcryptopp.a(authenc.o):(.rodata+0x2b0): undefined reference to `non-virtual thunk to CryptoPP::AuthenticatedSymmetricCipher::AlgorithmName() const'
> /usr/bin/ld: ./libcryptopp.a(base32.o):(.rodata+0x9f8): undefined reference to `CryptoPP::BufferedTransformation::ChannelCreatePutSpace(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, unsigned long&)'
> /usr/bin/ld: ./libcryptopp.a(base32.o):(.rodata+0xa00): undefined reference to `CryptoPP::BufferedTransformation::ChannelPut2(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, unsigned char const*, unsigned long, int, bool)'
> /usr/bin/ld: ./libcryptopp.a(base32.o):(.rodata+0xa08): undefined reference to `CryptoPP::BufferedTransformation::ChannelPutModifiable2(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, unsigned char*, unsigned long, int, bool)'
> /usr/bin/ld: ./libcryptopp.a(base32.o):(.rodata+0xa10): undefined reference to `CryptoPP::BufferedTransformation::ChannelFlush(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, bool, int, bool)'
> /usr/bin/ld: ./libcryptopp.a(base32.o):(.rodata+0xa18): undefined reference to `CryptoPP::BufferedTransformation::ChannelMessageSeriesEnd(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, int, bool)'
> /usr/bin/ld: ./libcryptopp.a(base32.o):(.rodata+0xa20): undefined reference to `CryptoPP::BufferedTransformation::SetRetrievalChannel(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&)'
> /usr/bin/ld: ./libcryptopp.a(base32.o):(.rodata+0xc70): undefined reference to `CryptoPP::BufferedTransformation::ChannelCreatePutSpace(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, unsigned long&)'
> /usr/bin/ld: ./libcryptopp.a(base32.o):(.rodata+0xc78): undefined reference to `CryptoPP::BufferedTransformation::ChannelPut2(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, unsigned char const*, unsigned long, int, bool)'
> /usr/bin/ld: ./libcryptopp.a(base32.o):(.rodata+0xc80): undefined reference to `CryptoPP::BufferedTransformation::ChannelPutModifiable2(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, unsigned char*, unsigned long, int, bool)'
> /usr/bin/ld: ./libcryptopp.a(base32.o):(.rodata+0xc90): undefined reference to `CryptoPP::BufferedTransformation::ChannelMessageSeriesEnd(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, int, bool)'
> /usr/bin/ld: ./libcryptopp.a(base32.o):(.rodata+0xc98): undefined reference to `CryptoPP::BufferedTransformation::SetRetrievalChannel(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&)'
> /usr/bin/ld: ./libcryptopp.a(base32.o):(.rodata+0xe88): undefined reference to `CryptoPP::BufferedTransformation::ChannelCreatePutSpace(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, unsigned long&)'
> /usr/bin/ld: ./libcryptopp.a(base32.o):(.rodata+0xe90): undefined reference to `CryptoPP::BufferedTransformation::ChannelPut2(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, unsigned char const*, unsigned long, int, bool)'
> /usr/bin/ld: ./libcryptopp.a(base32.o):(.rodata+0xe98): undefined reference to `CryptoPP::BufferedTransformation::ChannelPutModifiable2(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, unsigned char*, unsigned long, int, bool)'
> /usr/bin/ld: ./libcryptopp.a(base32.o):(.rodata+0xea0): undefined reference to `CryptoPP::BufferedTransformation::ChannelFlush(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, bool, int, bool)'
> /usr/bin/ld: ./libcryptopp.a(base32.o):(.rodata+0xea8): undefined reference to `CryptoPP::BufferedTransformation::ChannelMessageSeriesEnd(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, int, bool)'
> /usr/bin/ld: ./libcryptopp.a(base32.o):(.rodata+0xeb0): undefined reference to `CryptoPP::BufferedTransformation::SetRetrievalChannel(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&)'
> /usr/bin/ld: ./libcryptopp.a(base32.o):(.rodata+0x1100): undefined reference to `CryptoPP::BufferedTransformation::ChannelCreatePutSpace(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, unsigned long&)'
> /usr/bin/ld: ./libcryptopp.a(base32.o):(.rodata+0x1108): undefined reference to `CryptoPP::BufferedTransformation::ChannelPut2(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, unsigned char const*, unsigned long, int, bool)'
> /usr/bin/ld: ./libcryptopp.a(base32.o):(.rodata+0x1110): undefined reference to `CryptoPP::BufferedTransformation::ChannelPutModifiable2(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, unsigned char*, unsigned long, int, bool)'
> /usr/bin/ld: ./libcryptopp.a(base32.o):(.rodata+0x1120): undefined reference to `CryptoPP::BufferedTransformation::ChannelMessageSeriesEnd(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, int, bool)'
> /usr/bin/ld: ./libcryptopp.a(base32.o):(.rodata+0x1128): undefined reference to `CryptoPP::BufferedTransformation::SetRetrievalChannel(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&)'
> /usr/bin/ld: ./libcryptopp.a(base64.o):(.rodata+0x9d8): undefined reference to `CryptoPP::BufferedTransformation::ChannelCreatePutSpace(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, unsigned long&)'
> /usr/bin/ld: ./libcryptopp.a(base64.o):(.rodata+0x9e0): undefined reference to `CryptoPP::BufferedTransformation::ChannelPut2(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, unsigned char const*, unsigned long, int, bool)'
> /usr/bin/ld: ./libcryptopp.a(base64.o):(.rodata+0x9e8): undefined reference to `CryptoPP::BufferedTransformation::ChannelPutModifiable2(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, unsigned char*, unsigned long, int, bool)'
> /usr/bin/ld: ./libcryptopp.a(base64.o):(.rodata+0x9f0): undefined reference to `CryptoPP::BufferedTransformation::ChannelFlush(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, bool, int, bool)'
> /usr/bin/ld: ./libcryptopp.a(base64.o):(.rodata+0x9f8): undefined reference to `CryptoPP::BufferedTransformation::ChannelMessageSeriesEnd(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, int, bool)'
> /usr/bin/ld: ./libcryptopp.a(base64.o):(.rodata+0xa00): undefined reference to `CryptoPP::BufferedTransformation::SetRetrievalChannel(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&)'
> /usr/bin/ld: ./libcryptopp.a(base64.o):(.rodata+0xc50): undefined reference to `CryptoPP::BufferedTransformation::ChannelCreatePutSpace(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, unsigned long&)'
> /usr/bin/ld: ./libcryptopp.a(base64.o):(.rodata+0xc58): undefined reference to `CryptoPP::BufferedTransformation::ChannelPut2(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, unsigned char const*, unsigned long, int, bool)'
> /usr/bin/ld: ./libcryptopp.a(base64.o):(.rodata+0xc60): undefined reference to `CryptoPP::BufferedTransformation::ChannelPutModifiable2(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, unsigned char*, unsigned long, int, bool)'
> /usr/bin/ld: ./libcryptopp.a(base64.o):(.rodata+0xc70): undefined reference to `CryptoPP::BufferedTransformation::ChannelMessageSeriesEnd(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, int, bool)'
> /usr/bin/ld: ./libcryptopp.a(base64.o):(.rodata+0xc78): undefined reference to `CryptoPP::BufferedTransformation::SetRetrievalChannel(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&)'
> /usr/bin/ld: ./libcryptopp.a(base64.o):(.rodata+0xe68): undefined reference to `CryptoPP::BufferedTransformation::ChannelCreatePutSpace(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, unsigned long&)'
> /usr/bin/ld: ./libcryptopp.a(base64.o):(.rodata+0xe70): undefined reference to `CryptoPP::BufferedTransformation::ChannelPut2(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, unsigned char const*, unsigned long, int, bool)'
> /usr/bin/ld: ./libcryptopp.a(base64.o):(.rodata+0xe78): undefined reference to `CryptoPP::BufferedTransformation::ChannelPutModifiable2(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, unsigned char*, unsigned long, int, bool)'
> /usr/bin/ld: ./libcryptopp.a(base64.o):(.rodata+0xe80): undefined reference to `CryptoPP::BufferedTransformation::ChannelFlush(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, bool, int, bool)'
> /usr/bin/ld: ./libcryptopp.a(base64.o):(.rodata+0xe88): undefined reference to `CryptoPP::BufferedTransformation::ChannelMessageSeriesEnd(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, int, bool)'
> /usr/bin/ld: ./libcryptopp.a(base64.o):(.rodata+0xe90): undefined reference to `CryptoPP::BufferedTransformation::SetRetrievalChannel(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&)'
> /usr/bin/ld: ./libcryptopp.a(base64.o):(.rodata+0x10e0): undefined reference to `CryptoPP::BufferedTransformation::ChannelCreatePutSpace(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, unsigned long&)'
> /usr/bin/ld: ./libcryptopp.a(base64.o):(.rodata+0x10e8): undefined reference to `CryptoPP::BufferedTransformation::ChannelPut2(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, unsigned char const*, unsigned long, int, bool)'
> /usr/bin/ld: ./libcryptopp.a(base64.o):(.rodata+0x10f0): undefined reference to `CryptoPP::BufferedTransformation::ChannelPutModifiable2(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, unsigned char*, unsigned long, int, bool)'
> /usr/bin/ld: ./libcryptopp.a(base64.o):(.rodata+0x1100): undefined reference to `CryptoPP::BufferedTransformation::ChannelMessageSeriesEnd(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, int, bool)'
> /usr/bin/ld: ./libcryptopp.a(base64.o):(.rodata+0x1108): undefined reference to `CryptoPP::BufferedTransformation::SetRetrievalChannel(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&)'
> /usr/bin/ld: ./libcryptopp.a(basecode.o): in function `CryptoPP::BaseN_Encoder::Put2(unsigned char const*, unsigned long, int, bool)':
> basecode.cpp:(.text+0x48d): undefined reference to `CryptoPP::DEFAULT_CHANNEL'
> /usr/bin/ld: basecode.cpp:(.text+0x648): undefined reference to `CryptoPP::DEFAULT_CHANNEL'
> /usr/bin/ld: ./libcryptopp.a(basecode.o): in function `CryptoPP::BaseN_Decoder::Put2(unsigned char const*, unsigned long, int, bool)':
> basecode.cpp:(.text+0xad0): undefined reference to `CryptoPP::DEFAULT_CHANNEL'
> /usr/bin/ld: basecode.cpp:(.text+0xb8e): undefined reference to `CryptoPP::DEFAULT_CHANNEL'
> /usr/bin/ld: ./libcryptopp.a(basecode.o): in function `CryptoPP::Grouper::Put2(unsigned char const*, unsigned long, int, bool)':
> basecode.cpp:(.text+0x10bb): undefined reference to `CryptoPP::DEFAULT_CHANNEL'
> /usr/bin/ld: ./libcryptopp.a(basecode.o):basecode.cpp:(.text+0x11aa): more undefined references to `CryptoPP::DEFAULT_CHANNEL' follow
> /usr/bin/ld: ./libcryptopp.a(basecode.o):(.rodata+0x160): undefined reference to `CryptoPP::BufferedTransformation::ChannelCreatePutSpace(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, unsigned long&)'
> /usr/bin/ld: ./libcryptopp.a(basecode.o):(.rodata+0x168): undefined reference to `CryptoPP::BufferedTransformation::ChannelPut2(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, unsigned char const*, unsigned long, int, bool)'
> /usr/bin/ld: ./libcryptopp.a(basecode.o):(.rodata+0x170): undefined reference to `CryptoPP::BufferedTransformation::ChannelPutModifiable2(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, unsigned char*, unsigned long, int, bool)'
> /usr/bin/ld: ./libcryptopp.a(basecode.o):(.rodata+0x180): undefined reference to `CryptoPP::BufferedTransformation::ChannelMessageSeriesEnd(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, int, bool)'
> /usr/bin/ld: ./libcryptopp.a(basecode.o):(.rodata+0x188): undefined reference to `CryptoPP::BufferedTransformation::SetRetrievalChannel(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&)'
> /usr/bin/ld: ./libcryptopp.a(basecode.o):(.rodata+0x378): undefined reference to `CryptoPP::BufferedTransformation::ChannelCreatePutSpace(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, unsigned long&)'
> /usr/bin/ld: ./libcryptopp.a(basecode.o):(.rodata+0x380): undefined reference to `CryptoPP::BufferedTransformation::ChannelPut2(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, unsigned char const*, unsigned long, int, bool)'
> /usr/bin/ld: ./libcryptopp.a(basecode.o):(.rodata+0x388): undefined reference to `CryptoPP::BufferedTransformation::ChannelPutModifiable2(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, unsigned char*, unsigned long, int, bool)'
> /usr/bin/ld: ./libcryptopp.a(basecode.o):(.rodata+0x398): undefined reference to `CryptoPP::BufferedTransformation::ChannelMessageSeriesEnd(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, int, bool)'
> /usr/bin/ld: ./libcryptopp.a(basecode.o):(.rodata+0x3a0): undefined reference to `CryptoPP::BufferedTransformation::SetRetrievalChannel(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&)'
> /usr/bin/ld: ./libcryptopp.a(basecode.o):(.rodata+0x590): undefined reference to `CryptoPP::BufferedTransformation::ChannelCreatePutSpace(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, unsigned long&)'
> /usr/bin/ld: ./libcryptopp.a(basecode.o):(.rodata+0x598): undefined reference to `CryptoPP::BufferedTransformation::ChannelPut2(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, unsigned char const*, unsigned long, int, bool)'
> /usr/bin/ld: ./libcryptopp.a(basecode.o):(.rodata+0x5a0): undefined reference to `CryptoPP::BufferedTransformation::ChannelPutModifiable2(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, unsigned char*, unsigned long, int, bool)'
> /usr/bin/ld: ./libcryptopp.a(basecode.o):(.rodata+0x5a8): undefined reference to `CryptoPP::BufferedTransformation::ChannelFlush(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, bool, int, bool)'
> /usr/bin/ld: ./libcryptopp.a(basecode.o):(.rodata+0x5b0): undefined reference to `CryptoPP::BufferedTransformation::ChannelMessageSeriesEnd(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, int, bool)'
> /usr/bin/ld: ./libcryptopp.a(basecode.o):(.rodata+0x5b8): undefined reference to `CryptoPP::BufferedTransformation::SetRetrievalChannel(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&)'
> /usr/bin/ld: ./libcryptopp.a(blumshub.o):(.rodata+0x68): undefined reference to `CryptoPP::RandomNumberGenerator::GenerateIntoBufferedTransformation(CryptoPP::BufferedTransformation&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, unsigned long)'
> /usr/bin/ld: ./libcryptopp.a(blumshub.o):(.rodata+0x190): undefined reference to `CryptoPP::RandomNumberGenerator::GenerateIntoBufferedTransformation(CryptoPP::BufferedTransformation&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, unsigned long)'
> /usr/bin/ld: ./libcryptopp.a(channels.o):(.rodata+0x160): undefined reference to `CryptoPP::BufferedTransformation::SetRetrievalChannel(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&)'
> /usr/bin/ld: ./libcryptopp.a(default.o): in function `CryptoPP::DataEncryptorWithMAC<CryptoPP::DES_EDE2, CryptoPP::SHA1, CryptoPP::HMAC<CryptoPP::SHA1>, CryptoPP::DataParametersInfo<8u, 16u, 20u, 8u, 200u> >::DataEncryptorWithMAC(char const*, CryptoPP::BufferedTransformation*)':
> default.cpp:(.text._ZN8CryptoPP20DataEncryptorWithMACINS_8DES_EDE2ENS_4SHA1ENS_4HMACIS2_EENS_18DataParametersInfoILj8ELj16ELj20ELj8ELj200EEEEC2EPKcPNS_22BufferedTransformationE[_ZN8CryptoPP20DataEncryptorWithMACINS_8DES_EDE2ENS_4SHA1ENS_4HMACIS2_EENS_18DataParametersInfoILj8ELj16ELj20ELj8ELj200EEEEC5EPKcPNS_22BufferedTransformationE]+0x113): undefined reference to `CryptoPP::DEFAULT_CHANNEL'
> /usr/bin/ld: default.cpp:(.text._ZN8CryptoPP20DataEncryptorWithMACINS_8DES_EDE2ENS_4SHA1ENS_4HMACIS2_EENS_18DataParametersInfoILj8ELj16ELj20ELj8ELj200EEEEC2EPKcPNS_22BufferedTransformationE[_ZN8CryptoPP20DataEncryptorWithMACINS_8DES_EDE2ENS_4SHA1ENS_4HMACIS2_EENS_18DataParametersInfoILj8ELj16ELj20ELj8ELj200EEEEC5EPKcPNS_22BufferedTransformationE]+0x119): undefined reference to `CryptoPP::DEFAULT_CHANNEL'
> /usr/bin/ld: ./libcryptopp.a(default.o): in function `CryptoPP::DataEncryptorWithMAC<CryptoPP::DES_EDE2, CryptoPP::SHA1, CryptoPP::HMAC<CryptoPP::SHA1>, CryptoPP::DataParametersInfo<8u, 16u, 20u, 8u, 200u> >::DataEncryptorWithMAC(unsigned char const*, unsigned long, CryptoPP::BufferedTransformation*)':
> default.cpp:(.text._ZN8CryptoPP20DataEncryptorWithMACINS_8DES_EDE2ENS_4SHA1ENS_4HMACIS2_EENS_18DataParametersInfoILj8ELj16ELj20ELj8ELj200EEEEC2EPKhmPNS_22BufferedTransformationE[_ZN8CryptoPP20DataEncryptorWithMACINS_8DES_EDE2ENS_4SHA1ENS_4HMACIS2_EENS_18DataParametersInfoILj8ELj16ELj20ELj8ELj200EEEEC5EPKhmPNS_22BufferedTransformationE]+0x104): undefined reference to `CryptoPP::DEFAULT_CHANNEL'
> /usr/bin/ld: default.cpp:(.text._ZN8CryptoPP20DataEncryptorWithMACINS_8DES_EDE2ENS_4SHA1ENS_4HMACIS2_EENS_18DataParametersInfoILj8ELj16ELj20ELj8ELj200EEEEC2EPKhmPNS_22BufferedTransformationE[_ZN8CryptoPP20DataEncryptorWithMACINS_8DES_EDE2ENS_4SHA1ENS_4HMACIS2_EENS_18DataParametersInfoILj8ELj16ELj20ELj8ELj200EEEEC5EPKhmPNS_22BufferedTransformationE]+0x10a): undefined reference to `CryptoPP::DEFAULT_CHANNEL'
> /usr/bin/ld: ./libcryptopp.a(default.o): in function `CryptoPP::DataEncryptorWithMAC<CryptoPP::Rijndael, CryptoPP::SHA256, CryptoPP::HMAC<CryptoPP::SHA256>, CryptoPP::DataParametersInfo<16u, 16u, 32u, 8u, 2500u> >::DataEncryptorWithMAC(char const*, CryptoPP::BufferedTransformation*)':
> default.cpp:(.text._ZN8CryptoPP20DataEncryptorWithMACINS_8RijndaelENS_6SHA256ENS_4HMACIS2_EENS_18DataParametersInfoILj16ELj16ELj32ELj8ELj2500EEEEC2EPKcPNS_22BufferedTransformationE[_ZN8CryptoPP20DataEncryptorWithMACINS_8RijndaelENS_6SHA256ENS_4HMACIS2_EENS_18DataParametersInfoILj16ELj16ELj32ELj8ELj2500EEEEC5EPKcPNS_22BufferedTransformationE]+0x113): undefined reference to `CryptoPP::DEFAULT_CHANNEL'
> /usr/bin/ld: ./libcryptopp.a(default.o):default.cpp:(.text._ZN8CryptoPP20DataEncryptorWithMACINS_8RijndaelENS_6SHA256ENS_4HMACIS2_EENS_18DataParametersInfoILj16ELj16ELj32ELj8ELj2500EEEEC2EPKcPNS_22BufferedTransformationE[_ZN8CryptoPP20DataEncryptorWithMACINS_8RijndaelENS_6SHA256ENS_4HMACIS2_EENS_18DataParametersInfoILj16ELj16ELj32ELj8ELj2500EEEEC5EPKcPNS_22BufferedTransformationE]+0x119): more undefined references to `CryptoPP::DEFAULT_CHANNEL' follow
> /usr/bin/ld: ./libcryptopp.a(default.o):(.rodata._ZTVN8CryptoPP13DataEncryptorINS_8DES_EDE2ENS_4SHA1ENS_18DataParametersInfoILj8ELj16ELj20ELj8ELj200EEEEE[_ZTVN8CryptoPP13DataEncryptorINS_8DES_EDE2ENS_4SHA1ENS_18DataParametersInfoILj8ELj16ELj20ELj8ELj200EEEEE]+0x138): undefined reference to `CryptoPP::BufferedTransformation::ChannelCreatePutSpace(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, unsigned long&)'
> /usr/bin/ld: ./libcryptopp.a(default.o):(.rodata._ZTVN8CryptoPP13DataEncryptorINS_8DES_EDE2ENS_4SHA1ENS_18DataParametersInfoILj8ELj16ELj20ELj8ELj200EEEEE[_ZTVN8CryptoPP13DataEncryptorINS_8DES_EDE2ENS_4SHA1ENS_18DataParametersInfoILj8ELj16ELj20ELj8ELj200EEEEE]+0x140): undefined reference to `CryptoPP::BufferedTransformation::ChannelPut2(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, unsigned char const*, unsigned long, int, bool)'
> /usr/bin/ld: ./libcryptopp.a(default.o):(.rodata._ZTVN8CryptoPP13DataEncryptorINS_8DES_EDE2ENS_4SHA1ENS_18DataParametersInfoILj8ELj16ELj20ELj8ELj200EEEEE[_ZTVN8CryptoPP13DataEncryptorINS_8DES_EDE2ENS_4SHA1ENS_18DataParametersInfoILj8ELj16ELj20ELj8ELj200EEEEE]+0x148): undefined reference to `CryptoPP::BufferedTransformation::ChannelPutModifiable2(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, unsigned char*, unsigned long, int, bool)'
> /usr/bin/ld: ./libcryptopp.a(default.o):(.rodata._ZTVN8CryptoPP13DataEncryptorINS_8DES_EDE2ENS_4SHA1ENS_18DataParametersInfoILj8ELj16ELj20ELj8ELj200EEEEE[_ZTVN8CryptoPP13DataEncryptorINS_8DES_EDE2ENS_4SHA1ENS_18DataParametersInfoILj8ELj16ELj20ELj8ELj200EEEEE]+0x150): undefined reference to `CryptoPP::BufferedTransformation::ChannelFlush(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, bool, int, bool)'
> /usr/bin/ld: ./libcryptopp.a(default.o):(.rodata._ZTVN8CryptoPP13DataEncryptorINS_8DES_EDE2ENS_4SHA1ENS_18DataParametersInfoILj8ELj16ELj20ELj8ELj200EEEEE[_ZTVN8CryptoPP13DataEncryptorINS_8DES_EDE2ENS_4SHA1ENS_18DataParametersInfoILj8ELj16ELj20ELj8ELj200EEEEE]+0x158): undefined reference to `CryptoPP::BufferedTransformation::ChannelMessageSeriesEnd(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, int, bool)'
> /usr/bin/ld: ./libcryptopp.a(default.o):(.rodata._ZTVN8CryptoPP13DataEncryptorINS_8DES_EDE2ENS_4SHA1ENS_18DataParametersInfoILj8ELj16ELj20ELj8ELj200EEEEE[_ZTVN8CryptoPP13DataEncryptorINS_8DES_EDE2ENS_4SHA1ENS_18DataParametersInfoILj8ELj16ELj20ELj8ELj200EEEEE]+0x160): undefined reference to `CryptoPP::BufferedTransformation::SetRetrievalChannel(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&)'
> /usr/bin/ld: ./libcryptopp.a(default.o):(.rodata._ZTVN8CryptoPP13DataDecryptorINS_8DES_EDE2ENS_4SHA1ENS_18DataParametersInfoILj8ELj16ELj20ELj8ELj200EEEEE[_ZTVN8CryptoPP13DataDecryptorINS_8DES_EDE2ENS_4SHA1ENS_18DataParametersInfoILj8ELj16ELj20ELj8ELj200EEEEE]+0x138): undefined reference to `CryptoPP::BufferedTransformation::ChannelCreatePutSpace(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, unsigned long&)'
> /usr/bin/ld: ./libcryptopp.a(default.o):(.rodata._ZTVN8CryptoPP13DataDecryptorINS_8DES_EDE2ENS_4SHA1ENS_18DataParametersInfoILj8ELj16ELj20ELj8ELj200EEEEE[_ZTVN8CryptoPP13DataDecryptorINS_8DES_EDE2ENS_4SHA1ENS_18DataParametersInfoILj8ELj16ELj20ELj8ELj200EEEEE]+0x140): undefined reference to `CryptoPP::BufferedTransformation::ChannelPut2(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, unsigned char const*, unsigned long, int, bool)'
> /usr/bin/ld: ./libcryptopp.a(default.o):(.rodata._ZTVN8CryptoPP13DataDecryptorINS_8DES_EDE2ENS_4SHA1ENS_18DataParametersInfoILj8ELj16ELj20ELj8ELj200EEEEE[_ZTVN8CryptoPP13DataDecryptorINS_8DES_EDE2ENS_4SHA1ENS_18DataParametersInfoILj8ELj16ELj20ELj8ELj200EEEEE]+0x148): undefined reference to `CryptoPP::BufferedTransformation::ChannelPutModifiable2(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, unsigned char*, unsigned long, int, bool)'
> /usr/bin/ld: ./libcryptopp.a(default.o):(.rodata._ZTVN8CryptoPP13DataDecryptorINS_8DES_EDE2ENS_4SHA1ENS_18DataParametersInfoILj8ELj16ELj20ELj8ELj200EEEEE[_ZTVN8CryptoPP13DataDecryptorINS_8DES_EDE2ENS_4SHA1ENS_18DataParametersInfoILj8ELj16ELj20ELj8ELj200EEEEE]+0x150): undefined reference to `CryptoPP::BufferedTransformation::ChannelFlush(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, bool, int, bool)'
> /usr/bin/ld: ./libcryptopp.a(default.o):(.rodata._ZTVN8CryptoPP13DataDecryptorINS_8DES_EDE2ENS_4SHA1ENS_18DataParametersInfoILj8ELj16ELj20ELj8ELj200EEEEE[_ZTVN8CryptoPP13DataDecryptorINS_8DES_EDE2ENS_4SHA1ENS_18DataParametersInfoILj8ELj16ELj20ELj8ELj200EEEEE]+0x158): undefined reference to `CryptoPP::BufferedTransformation::ChannelMessageSeriesEnd(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, int, bool)'
> /usr/bin/ld: ./libcryptopp.a(default.o):(.rodata._ZTVN8CryptoPP13DataDecryptorINS_8DES_EDE2ENS_4SHA1ENS_18DataParametersInfoILj8ELj16ELj20ELj8ELj200EEEEE[_ZTVN8CryptoPP13DataDecryptorINS_8DES_EDE2ENS_4SHA1ENS_18DataParametersInfoILj8ELj16ELj20ELj8ELj200EEEEE]+0x160): undefined reference to `CryptoPP::BufferedTransformation::SetRetrievalChannel(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&)'
> /usr/bin/ld: ./libcryptopp.a(default.o):(.rodata._ZTVN8CryptoPP13DataEncryptorINS_8RijndaelENS_6SHA256ENS_18DataParametersInfoILj16ELj16ELj32ELj8ELj2500EEEEE[_ZTVN8CryptoPP13DataEncryptorINS_8RijndaelENS_6SHA256ENS_18DataParametersInfoILj16ELj16ELj32ELj8ELj2500EEEEE]+0x138): undefined reference to `CryptoPP::BufferedTransformation::ChannelCreatePutSpace(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, unsigned long&)'
> /usr/bin/ld: ./libcryptopp.a(default.o):(.rodata._ZTVN8CryptoPP13DataEncryptorINS_8RijndaelENS_6SHA256ENS_18DataParametersInfoILj16ELj16ELj32ELj8ELj2500EEEEE[_ZTVN8CryptoPP13DataEncryptorINS_8RijndaelENS_6SHA256ENS_18DataParametersInfoILj16ELj16ELj32ELj8ELj2500EEEEE]+0x140): undefined reference to `CryptoPP::BufferedTransformation::ChannelPut2(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, unsigned char const*, unsigned long, int, bool)'
> /usr/bin/ld: ./libcryptopp.a(default.o):(.rodata._ZTVN8CryptoPP13DataEncryptorINS_8RijndaelENS_6SHA256ENS_18DataParametersInfoILj16ELj16ELj32ELj8ELj2500EEEEE[_ZTVN8CryptoPP13DataEncryptorINS_8RijndaelENS_6SHA256ENS_18DataParametersInfoILj16ELj16ELj32ELj8ELj2500EEEEE]+0x148): undefined reference to `CryptoPP::BufferedTransformation::ChannelPutModifiable2(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, unsigned char*, unsigned long, int, bool)'
> /usr/bin/ld: ./libcryptopp.a(default.o):(.rodata._ZTVN8CryptoPP13DataEncryptorINS_8RijndaelENS_6SHA256ENS_18DataParametersInfoILj16ELj16ELj32ELj8ELj2500EEEEE[_ZTVN8CryptoPP13DataEncryptorINS_8RijndaelENS_6SHA256ENS_18DataParametersInfoILj16ELj16ELj32ELj8ELj2500EEEEE]+0x150): undefined reference to `CryptoPP::BufferedTransformation::ChannelFlush(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, bool, int, bool)'
> /usr/bin/ld: ./libcryptopp.a(default.o):(.rodata._ZTVN8CryptoPP13DataEncryptorINS_8RijndaelENS_6SHA256ENS_18DataParametersInfoILj16ELj16ELj32ELj8ELj2500EEEEE[_ZTVN8CryptoPP13DataEncryptorINS_8RijndaelENS_6SHA256ENS_18DataParametersInfoILj16ELj16ELj32ELj8ELj2500EEEEE]+0x158): undefined reference to `CryptoPP::BufferedTransformation::ChannelMessageSeriesEnd(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, int, bool)'
> /usr/bin/ld: ./libcryptopp.a(default.o):(.rodata._ZTVN8CryptoPP13DataEncryptorINS_8RijndaelENS_6SHA256ENS_18DataParametersInfoILj16ELj16ELj32ELj8ELj2500EEEEE[_ZTVN8CryptoPP13DataEncryptorINS_8RijndaelENS_6SHA256ENS_18DataParametersInfoILj16ELj16ELj32ELj8ELj2500EEEEE]+0x160): undefined reference to `CryptoPP::BufferedTransformation::SetRetrievalChannel(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&)'
> /usr/bin/ld: ./libcryptopp.a(default.o):(.rodata._ZTVN8CryptoPP13DataDecryptorINS_8RijndaelENS_6SHA256ENS_18DataParametersInfoILj16ELj16ELj32ELj8ELj2500EEEEE[_ZTVN8CryptoPP13DataDecryptorINS_8RijndaelENS_6SHA256ENS_18DataParametersInfoILj16ELj16ELj32ELj8ELj2500EEEEE]+0x138): undefined reference to `CryptoPP::BufferedTransformation::ChannelCreatePutSpace(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, unsigned long&)'
> /usr/bin/ld: ./libcryptopp.a(default.o):(.rodata._ZTVN8CryptoPP13DataDecryptorINS_8RijndaelENS_6SHA256ENS_18DataParametersInfoILj16ELj16ELj32ELj8ELj2500EEEEE[_ZTVN8CryptoPP13DataDecryptorINS_8RijndaelENS_6SHA256ENS_18DataParametersInfoILj16ELj16ELj32ELj8ELj2500EEEEE]+0x140): undefined reference to `CryptoPP::BufferedTransformation::ChannelPut2(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, unsigned char const*, unsigned long, int, bool)'
> /usr/bin/ld: ./libcryptopp.a(default.o):(.rodata._ZTVN8CryptoPP13DataDecryptorINS_8RijndaelENS_6SHA256ENS_18DataParametersInfoILj16ELj16ELj32ELj8ELj2500EEEEE[_ZTVN8CryptoPP13DataDecryptorINS_8RijndaelENS_6SHA256ENS_18DataParametersInfoILj16ELj16ELj32ELj8ELj2500EEEEE]+0x148): undefined reference to `CryptoPP::BufferedTransformation::ChannelPutModifiable2(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, unsigned char*, unsigned long, int, bool)'
> /usr/bin/ld: ./libcryptopp.a(default.o):(.rodata._ZTVN8CryptoPP13DataDecryptorINS_8RijndaelENS_6SHA256ENS_18DataParametersInfoILj16ELj16ELj32ELj8ELj2500EEEEE[_ZTVN8CryptoPP13DataDecryptorINS_8RijndaelENS_6SHA256ENS_18DataParametersInfoILj16ELj16ELj32ELj8ELj2500EEEEE]+0x150): undefined reference to `CryptoPP::BufferedTransformation::ChannelFlush(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, bool, int, bool)'
> /usr/bin/ld: ./libcryptopp.a(default.o):(.rodata._ZTVN8CryptoPP13DataDecryptorINS_8RijndaelENS_6SHA256ENS_18DataParametersInfoILj16ELj16ELj32ELj8ELj2500EEEEE[_ZTVN8CryptoPP13DataDecryptorINS_8RijndaelENS_6SHA256ENS_18DataParametersInfoILj16ELj16ELj32ELj8ELj2500EEEEE]+0x158): undefined reference to `CryptoPP::BufferedTransformation::ChannelMessageSeriesEnd(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, int, bool)'
> /usr/bin/ld: ./libcryptopp.a(default.o):(.rodata._ZTVN8CryptoPP13DataDecryptorINS_8RijndaelENS_6SHA256ENS_18DataParametersInfoILj16ELj16ELj32ELj8ELj2500EEEEE[_ZTVN8CryptoPP13DataDecryptorINS_8RijndaelENS_6SHA256ENS_18DataParametersInfoILj16ELj16ELj32ELj8ELj2500EEEEE]+0x160): undefined reference to `CryptoPP::BufferedTransformation::SetRetrievalChannel(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&)'
> /usr/bin/ld: ./libcryptopp.a(default.o):(.rodata._ZTVN8CryptoPP20DataEncryptorWithMACINS_8DES_EDE2ENS_4SHA1ENS_4HMACIS2_EENS_18DataParametersInfoILj8ELj16ELj20ELj8ELj200EEEEE[_ZTVN8CryptoPP20DataEncryptorWithMACINS_8DES_EDE2ENS_4SHA1ENS_4HMACIS2_EENS_18DataParametersInfoILj8ELj16ELj20ELj8ELj200EEEEE]+0x138): undefined reference to `CryptoPP::BufferedTransformation::ChannelCreatePutSpace(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, unsigned long&)'
> /usr/bin/ld: ./libcryptopp.a(default.o):(.rodata._ZTVN8CryptoPP20DataEncryptorWithMACINS_8DES_EDE2ENS_4SHA1ENS_4HMACIS2_EENS_18DataParametersInfoILj8ELj16ELj20ELj8ELj200EEEEE[_ZTVN8CryptoPP20DataEncryptorWithMACINS_8DES_EDE2ENS_4SHA1ENS_4HMACIS2_EENS_18DataParametersInfoILj8ELj16ELj20ELj8ELj200EEEEE]+0x140): undefined reference to `CryptoPP::BufferedTransformation::ChannelPut2(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, unsigned char const*, unsigned long, int, bool)'
> /usr/bin/ld: ./libcryptopp.a(default.o):(.rodata._ZTVN8CryptoPP20DataEncryptorWithMACINS_8DES_EDE2ENS_4SHA1ENS_4HMACIS2_EENS_18DataParametersInfoILj8ELj16ELj20ELj8ELj200EEEEE[_ZTVN8CryptoPP20DataEncryptorWithMACINS_8DES_EDE2ENS_4SHA1ENS_4HMACIS2_EENS_18DataParametersInfoILj8ELj16ELj20ELj8ELj200EEEEE]+0x148): undefined reference to `CryptoPP::BufferedTransformation::ChannelPutModifiable2(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, unsigned char*, unsigned long, int, bool)'
> /usr/bin/ld: ./libcryptopp.a(default.o):(.rodata._ZTVN8CryptoPP20DataEncryptorWithMACINS_8DES_EDE2ENS_4SHA1ENS_4HMACIS2_EENS_18DataParametersInfoILj8ELj16ELj20ELj8ELj200EEEEE[_ZTVN8CryptoPP20DataEncryptorWithMACINS_8DES_EDE2ENS_4SHA1ENS_4HMACIS2_EENS_18DataParametersInfoILj8ELj16ELj20ELj8ELj200EEEEE]+0x150): undefined reference to `CryptoPP::BufferedTransformation::ChannelFlush(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, bool, int, bool)'
> /usr/bin/ld: ./libcryptopp.a(default.o):(.rodata._ZTVN8CryptoPP20DataEncryptorWithMACINS_8DES_EDE2ENS_4SHA1ENS_4HMACIS2_EENS_18DataParametersInfoILj8ELj16ELj20ELj8ELj200EEEEE[_ZTVN8CryptoPP20DataEncryptorWithMACINS_8DES_EDE2ENS_4SHA1ENS_4HMACIS2_EENS_18DataParametersInfoILj8ELj16ELj20ELj8ELj200EEEEE]+0x158): undefined reference to `CryptoPP::BufferedTransformation::ChannelMessageSeriesEnd(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, int, bool)'
> /usr/bin/ld: ./libcryptopp.a(default.o):(.rodata._ZTVN8CryptoPP20DataEncryptorWithMACINS_8DES_EDE2ENS_4SHA1ENS_4HMACIS2_EENS_18DataParametersInfoILj8ELj16ELj20ELj8ELj200EEEEE[_ZTVN8CryptoPP20DataEncryptorWithMACINS_8DES_EDE2ENS_4SHA1ENS_4HMACIS2_EENS_18DataParametersInfoILj8ELj16ELj20ELj8ELj200EEEEE]+0x160): undefined reference to `CryptoPP::BufferedTransformation::SetRetrievalChannel(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&)'
> /usr/bin/ld: ./libcryptopp.a(default.o):(.rodata._ZTVN8CryptoPP20DataDecryptorWithMACINS_8DES_EDE2ENS_4SHA1ENS_4HMACIS2_EENS_18DataParametersInfoILj8ELj16ELj20ELj8ELj200EEEEE[_ZTVN8CryptoPP20DataDecryptorWithMACINS_8DES_EDE2ENS_4SHA1ENS_4HMACIS2_EENS_18DataParametersInfoILj8ELj16ELj20ELj8ELj200EEEEE]+0x138): undefined reference to `CryptoPP::BufferedTransformation::ChannelCreatePutSpace(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, unsigned long&)'
> /usr/bin/ld: ./libcryptopp.a(default.o):(.rodata._ZTVN8CryptoPP20DataDecryptorWithMACINS_8DES_EDE2ENS_4SHA1ENS_4HMACIS2_EENS_18DataParametersInfoILj8ELj16ELj20ELj8ELj200EEEEE[_ZTVN8CryptoPP20DataDecryptorWithMACINS_8DES_EDE2ENS_4SHA1ENS_4HMACIS2_EENS_18DataParametersInfoILj8ELj16ELj20ELj8ELj200EEEEE]+0x140): undefined reference to `CryptoPP::BufferedTransformation::ChannelPut2(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, unsigned char const*, unsigned long, int, bool)'
> /usr/bin/ld: ./libcryptopp.a(default.o):(.rodata._ZTVN8CryptoPP20DataDecryptorWithMACINS_8DES_EDE2ENS_4SHA1ENS_4HMACIS2_EENS_18DataParametersInfoILj8ELj16ELj20ELj8ELj200EEEEE[_ZTVN8CryptoPP20DataDecryptorWithMACINS_8DES_EDE2ENS_4SHA1ENS_4HMACIS2_EENS_18DataParametersInfoILj8ELj16ELj20ELj8ELj200EEEEE]+0x148): undefined reference to `CryptoPP::BufferedTransformation::ChannelPutModifiable2(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, unsigned char*, unsigned long, int, bool)'
> /usr/bin/ld: ./libcryptopp.a(default.o):(.rodata._ZTVN8CryptoPP20DataDecryptorWithMACINS_8DES_EDE2ENS_4SHA1ENS_4HMACIS2_EENS_18DataParametersInfoILj8ELj16ELj20ELj8ELj200EEEEE[_ZTVN8CryptoPP20DataDecryptorWithMACINS_8DES_EDE2ENS_4SHA1ENS_4HMACIS2_EENS_18DataParametersInfoILj8ELj16ELj20ELj8ELj200EEEEE]+0x150): undefined reference to `CryptoPP::BufferedTransformation::ChannelFlush(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, bool, int, bool)'
> /usr/bin/ld: ./libcryptopp.a(default.o):(.rodata._ZTVN8CryptoPP20DataDecryptorWithMACINS_8DES_EDE2ENS_4SHA1ENS_4HMACIS2_EENS_18DataParametersInfoILj8ELj16ELj20ELj8ELj200EEEEE[_ZTVN8CryptoPP20DataDecryptorWithMACINS_8DES_EDE2ENS_4SHA1ENS_4HMACIS2_EENS_18DataParametersInfoILj8ELj16ELj20ELj8ELj200EEEEE]+0x158): undefined reference to `CryptoPP::BufferedTransformation::ChannelMessageSeriesEnd(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, int, bool)'
> /usr/bin/ld: ./libcryptopp.a(default.o):(.rodata._ZTVN8CryptoPP20DataDecryptorWithMACINS_8DES_EDE2ENS_4SHA1ENS_4HMACIS2_EENS_18DataParametersInfoILj8ELj16ELj20ELj8ELj200EEEEE[_ZTVN8CryptoPP20DataDecryptorWithMACINS_8DES_EDE2ENS_4SHA1ENS_4HMACIS2_EENS_18DataParametersInfoILj8ELj16ELj20ELj8ELj200EEEEE]+0x160): undefined reference to `CryptoPP::BufferedTransformation::SetRetrievalChannel(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&)'
> /usr/bin/ld: ./libcryptopp.a(default.o):(.rodata._ZTVN8CryptoPP20DataDecryptorWithMACINS_8RijndaelENS_6SHA256ENS_4HMACIS2_EENS_18DataParametersInfoILj16ELj16ELj32ELj8ELj2500EEEEE[_ZTVN8CryptoPP20DataDecryptorWithMACINS_8RijndaelENS_6SHA256ENS_4HMACIS2_EENS_18DataParametersInfoILj16ELj16ELj32ELj8ELj2500EEEEE]+0x138): undefined reference to `CryptoPP::BufferedTransformation::ChannelCreatePutSpace(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, unsigned long&)'
> /usr/bin/ld: ./libcryptopp.a(default.o):(.rodata._ZTVN8CryptoPP20DataDecryptorWithMACINS_8RijndaelENS_6SHA256ENS_4HMACIS2_EENS_18DataParametersInfoILj16ELj16ELj32ELj8ELj2500EEEEE[_ZTVN8CryptoPP20DataDecryptorWithMACINS_8RijndaelENS_6SHA256ENS_4HMACIS2_EENS_18DataParametersInfoILj16ELj16ELj32ELj8ELj2500EEEEE]+0x140): undefined reference to `CryptoPP::BufferedTransformation::ChannelPut2(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, unsigned char const*, unsigned long, int, bool)'
> /usr/bin/ld: ./libcryptopp.a(default.o):(.rodata._ZTVN8CryptoPP20DataDecryptorWithMACINS_8RijndaelENS_6SHA256ENS_4HMACIS2_EENS_18DataParametersInfoILj16ELj16ELj32ELj8ELj2500EEEEE[_ZTVN8CryptoPP20DataDecryptorWithMACINS_8RijndaelENS_6SHA256ENS_4HMACIS2_EENS_18DataParametersInfoILj16ELj16ELj32ELj8ELj2500EEEEE]+0x148): undefined reference to `CryptoPP::BufferedTransformation::ChannelPutModifiable2(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, unsigned char*, unsigned long, int, bool)'
> /usr/bin/ld: ./libcryptopp.a(default.o):(.rodata._ZTVN8CryptoPP20DataDecryptorWithMACINS_8RijndaelENS_6SHA256ENS_4HMACIS2_EENS_18DataParametersInfoILj16ELj16ELj32ELj8ELj2500EEEEE[_ZTVN8CryptoPP20DataDecryptorWithMACINS_8RijndaelENS_6SHA256ENS_4HMACIS2_EENS_18DataParametersInfoILj16ELj16ELj32ELj8ELj2500EEEEE]+0x150): undefined reference to `CryptoPP::BufferedTransformation::ChannelFlush(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, bool, int, bool)'
> /usr/bin/ld: ./libcryptopp.a(default.o):(.rodata._ZTVN8CryptoPP20DataDecryptorWithMACINS_8RijndaelENS_6SHA256ENS_4HMACIS2_EENS_18DataParametersInfoILj16ELj16ELj32ELj8ELj2500EEEEE[_ZTVN8CryptoPP20DataDecryptorWithMACINS_8RijndaelENS_6SHA256ENS_4HMACIS2_EENS_18DataParametersInfoILj16ELj16ELj32ELj8ELj2500EEEEE]+0x158): undefined reference to `CryptoPP::BufferedTransformation::ChannelMessageSeriesEnd(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, int, bool)'
> /usr/bin/ld: ./libcryptopp.a(default.o):(.rodata._ZTVN8CryptoPP20DataDecryptorWithMACINS_8RijndaelENS_6SHA256ENS_4HMACIS2_EENS_18DataParametersInfoILj16ELj16ELj32ELj8ELj2500EEEEE[_ZTVN8CryptoPP20DataDecryptorWithMACINS_8RijndaelENS_6SHA256ENS_4HMACIS2_EENS_18DataParametersInfoILj16ELj16ELj32ELj8ELj2500EEEEE]+0x160): undefined reference to `CryptoPP::BufferedTransformation::SetRetrievalChannel(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&)'
> /usr/bin/ld: ./libcryptopp.a(files.o):(.rodata+0x138): undefined reference to `CryptoPP::BufferedTransformation::ChannelCreatePutSpace(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, unsigned long&)'
> /usr/bin/ld: ./libcryptopp.a(files.o):(.rodata+0x148): undefined reference to `CryptoPP::BufferedTransformation::ChannelPutModifiable2(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, unsigned char*, unsigned long, int, bool)'
> /usr/bin/ld: ./libcryptopp.a(files.o):(.rodata+0x150): undefined reference to `CryptoPP::BufferedTransformation::ChannelFlush(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, bool, int, bool)'
> /usr/bin/ld: ./libcryptopp.a(files.o):(.rodata+0x160): undefined reference to `CryptoPP::BufferedTransformation::SetRetrievalChannel(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&)'
> /usr/bin/ld: ./libcryptopp.a(files.o):(.rodata+0x380): undefined reference to `CryptoPP::BufferedTransformation::ChannelCreatePutSpace(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, unsigned long&)'
> /usr/bin/ld: ./libcryptopp.a(files.o):(.rodata+0x388): undefined reference to `CryptoPP::BufferedTransformation::ChannelPut2(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, unsigned char const*, unsigned long, int, bool)'
> /usr/bin/ld: ./libcryptopp.a(files.o):(.rodata+0x390): undefined reference to `CryptoPP::BufferedTransformation::ChannelPutModifiable2(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, unsigned char*, unsigned long, int, bool)'
> /usr/bin/ld: ./libcryptopp.a(files.o):(.rodata+0x398): undefined reference to `CryptoPP::BufferedTransformation::ChannelFlush(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, bool, int, bool)'
> /usr/bin/ld: ./libcryptopp.a(files.o):(.rodata+0x3a0): undefined reference to `CryptoPP::BufferedTransformation::ChannelMessageSeriesEnd(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, int, bool)'
> /usr/bin/ld: ./libcryptopp.a(files.o):(.rodata+0x3a8): undefined reference to `CryptoPP::BufferedTransformation::SetRetrievalChannel(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&)'
> /usr/bin/ld: ./libcryptopp.a(filters.o): in function `CryptoPP::Filter::Flush(bool, int, bool)':
> filters.cpp:(.text+0x4dd): undefined reference to `CryptoPP::DEFAULT_CHANNEL'
> /usr/bin/ld: ./libcryptopp.a(filters.o): in function `CryptoPP::Filter::MessageSeriesEnd(int, bool)':
> filters.cpp:(.text+0x695): undefined reference to `CryptoPP::DEFAULT_CHANNEL'
> /usr/bin/ld: ./libcryptopp.a(filters.o): in function `CryptoPP::MeterFilter::PutMaybeModifiable(unsigned char*, unsigned long, int, bool, bool)':
> filters.cpp:(.text+0xbd7): undefined reference to `CryptoPP::DEFAULT_CHANNEL'
> /usr/bin/ld: filters.cpp:(.text+0xc64): undefined reference to `CryptoPP::DEFAULT_CHANNEL'
> /usr/bin/ld: filters.cpp:(.text+0xea9): undefined reference to `CryptoPP::DEFAULT_CHANNEL'
> /usr/bin/ld: ./libcryptopp.a(filters.o):filters.cpp:(.text+0xf08): more undefined references to `CryptoPP::DEFAULT_CHANNEL' follow
> /usr/bin/ld: ./libcryptopp.a(filters.o): in function `CryptoPP::AuthenticatedEncryptionFilter::AuthenticatedEncryptionFilter(CryptoPP::AuthenticatedSymmetricCipher&, CryptoPP::BufferedTransformation*, bool, int, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, CryptoPP::BlockPaddingSchemeDef::BlockPaddingScheme)':
> filters.cpp:(.text+0x5346): undefined reference to `CryptoPP::AAD_CHANNEL'
> /usr/bin/ld: ./libcryptopp.a(filters.o): in function `CryptoPP::AuthenticatedEncryptionFilter::ChannelCreatePutSpace(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, unsigned long&)':
> filters.cpp:(.text+0x5441): undefined reference to `CryptoPP::AAD_CHANNEL'
> /usr/bin/ld: ./libcryptopp.a(filters.o): in function `CryptoPP::AuthenticatedEncryptionFilter::ChannelPut2(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, unsigned char const*, unsigned long, int, bool)':
> filters.cpp:(.text+0x55af): undefined reference to `CryptoPP::AAD_CHANNEL'
> /usr/bin/ld: ./libcryptopp.a(filters.o): in function `CryptoPP::AuthenticatedDecryptionFilter::ChannelCreatePutSpace(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, unsigned long&)':
> filters.cpp:(.text+0x5b47): undefined reference to `CryptoPP::AAD_CHANNEL'
> /usr/bin/ld: ./libcryptopp.a(filters.o): in function `CryptoPP::AuthenticatedDecryptionFilter::ChannelPut2(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, unsigned char const*, unsigned long, int, bool)':
> filters.cpp:(.text+0x5cd0): undefined reference to `CryptoPP::AAD_CHANNEL'
> /usr/bin/ld: ./libcryptopp.a(filters.o): in function `CryptoPP::SignerFilter::Put2(unsigned char const*, unsigned long, int, bool)':
> filters.cpp:(.text+0x6001): undefined reference to `CryptoPP::DEFAULT_CHANNEL'
> /usr/bin/ld: filters.cpp:(.text+0x6154): undefined reference to `CryptoPP::DEFAULT_CHANNEL'
> /usr/bin/ld: ./libcryptopp.a(filters.o):(.rodata+0x138): undefined reference to `CryptoPP::BufferedTransformation::ChannelCreatePutSpace(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, unsigned long&)'
> /usr/bin/ld: ./libcryptopp.a(filters.o):(.rodata+0x140): undefined reference to `CryptoPP::BufferedTransformation::ChannelPut2(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, unsigned char const*, unsigned long, int, bool)'
> /usr/bin/ld: ./libcryptopp.a(filters.o):(.rodata+0x148): undefined reference to `CryptoPP::BufferedTransformation::ChannelPutModifiable2(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, unsigned char*, unsigned long, int, bool)'
> /usr/bin/ld: ./libcryptopp.a(filters.o):(.rodata+0x150): undefined reference to `CryptoPP::BufferedTransformation::ChannelFlush(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, bool, int, bool)'
> /usr/bin/ld: ./libcryptopp.a(filters.o):(.rodata+0x158): undefined reference to `CryptoPP::BufferedTransformation::ChannelMessageSeriesEnd(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, int, bool)'
> /usr/bin/ld: ./libcryptopp.a(filters.o):(.rodata+0x160): undefined reference to `CryptoPP::BufferedTransformation::SetRetrievalChannel(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&)'
> /usr/bin/ld: ./libcryptopp.a(filters.o):(.rodata+0x310): undefined reference to `CryptoPP::BufferedTransformation::ChannelCreatePutSpace(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, unsigned long&)'
> /usr/bin/ld: ./libcryptopp.a(filters.o):(.rodata+0x318): undefined reference to `CryptoPP::BufferedTransformation::ChannelPut2(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, unsigned char const*, unsigned long, int, bool)'
> /usr/bin/ld: ./libcryptopp.a(filters.o):(.rodata+0x320): undefined reference to `CryptoPP::BufferedTransformation::ChannelPutModifiable2(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, unsigned char*, unsigned long, int, bool)'
> /usr/bin/ld: ./libcryptopp.a(filters.o):(.rodata+0x328): undefined reference to `CryptoPP::BufferedTransformation::ChannelFlush(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, bool, int, bool)'
> /usr/bin/ld: ./libcryptopp.a(filters.o):(.rodata+0x330): undefined reference to `CryptoPP::BufferedTransformation::ChannelMessageSeriesEnd(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, int, bool)'
> /usr/bin/ld: ./libcryptopp.a(filters.o):(.rodata+0x338): undefined reference to `CryptoPP::BufferedTransformation::SetRetrievalChannel(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&)'
> /usr/bin/ld: ./libcryptopp.a(filters.o):(.rodata+0x550): undefined reference to `CryptoPP::BufferedTransformation::ChannelCreatePutSpace(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, unsigned long&)'
> /usr/bin/ld: ./libcryptopp.a(filters.o):(.rodata+0x558): undefined reference to `CryptoPP::BufferedTransformation::ChannelPut2(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, unsigned char const*, unsigned long, int, bool)'
> /usr/bin/ld: ./libcryptopp.a(filters.o):(.rodata+0x560): undefined reference to `CryptoPP::BufferedTransformation::ChannelPutModifiable2(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, unsigned char*, unsigned long, int, bool)'
> /usr/bin/ld: ./libcryptopp.a(filters.o):(.rodata+0x568): undefined reference to `CryptoPP::BufferedTransformation::ChannelFlush(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, bool, int, bool)'
> /usr/bin/ld: ./libcryptopp.a(filters.o):(.rodata+0x570): undefined reference to `CryptoPP::BufferedTransformation::ChannelMessageSeriesEnd(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, int, bool)'
> /usr/bin/ld: ./libcryptopp.a(filters.o):(.rodata+0x578): undefined reference to `CryptoPP::BufferedTransformation::SetRetrievalChannel(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&)'
> /usr/bin/ld: ./libcryptopp.a(filters.o):(.rodata+0x790): undefined reference to `CryptoPP::BufferedTransformation::ChannelCreatePutSpace(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, unsigned long&)'
> /usr/bin/ld: ./libcryptopp.a(filters.o):(.rodata+0x798): undefined reference to `CryptoPP::BufferedTransformation::ChannelPut2(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, unsigned char const*, unsigned long, int, bool)'
> /usr/bin/ld: ./libcryptopp.a(filters.o):(.rodata+0x7a0): undefined reference to `CryptoPP::BufferedTransformation::ChannelPutModifiable2(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, unsigned char*, unsigned long, int, bool)'
> /usr/bin/ld: ./libcryptopp.a(filters.o):(.rodata+0x7a8): undefined reference to `CryptoPP::BufferedTransformation::ChannelFlush(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, bool, int, bool)'
> /usr/bin/ld: ./libcryptopp.a(filters.o):(.rodata+0x7b0): undefined reference to `CryptoPP::BufferedTransformation::ChannelMessageSeriesEnd(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, int, bool)'
> /usr/bin/ld: ./libcryptopp.a(filters.o):(.rodata+0x7b8): undefined reference to `CryptoPP::BufferedTransformation::SetRetrievalChannel(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&)'
> /usr/bin/ld: ./libcryptopp.a(filters.o):(.rodata+0x9f0): undefined reference to `CryptoPP::BufferedTransformation::ChannelCreatePutSpace(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, unsigned long&)'
> /usr/bin/ld: ./libcryptopp.a(filters.o):(.rodata+0x9f8): undefined reference to `CryptoPP::BufferedTransformation::ChannelPut2(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, unsigned char const*, unsigned long, int, bool)'
> /usr/bin/ld: ./libcryptopp.a(filters.o):(.rodata+0xa00): undefined reference to `CryptoPP::BufferedTransformation::ChannelPutModifiable2(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, unsigned char*, unsigned long, int, bool)'
> /usr/bin/ld: ./libcryptopp.a(filters.o):(.rodata+0xa08): undefined reference to `CryptoPP::BufferedTransformation::ChannelFlush(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, bool, int, bool)'
> /usr/bin/ld: ./libcryptopp.a(filters.o):(.rodata+0xa10): undefined reference to `CryptoPP::BufferedTransformation::ChannelMessageSeriesEnd(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, int, bool)'
> /usr/bin/ld: ./libcryptopp.a(filters.o):(.rodata+0xa18): undefined reference to `CryptoPP::BufferedTransformation::SetRetrievalChannel(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&)'
> /usr/bin/ld: ./libcryptopp.a(filters.o):(.rodata+0xbe8): undefined reference to `CryptoPP::BufferedTransformation::ChannelCreatePutSpace(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, unsigned long&)'
> /usr/bin/ld: ./libcryptopp.a(filters.o):(.rodata+0xbf0): undefined reference to `CryptoPP::BufferedTransformation::ChannelPut2(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, unsigned char const*, unsigned long, int, bool)'
> /usr/bin/ld: ./libcryptopp.a(filters.o):(.rodata+0xbf8): undefined reference to `CryptoPP::BufferedTransformation::ChannelPutModifiable2(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, unsigned char*, unsigned long, int, bool)'
> /usr/bin/ld: ./libcryptopp.a(filters.o):(.rodata+0xc00): undefined reference to `CryptoPP::BufferedTransformation::ChannelFlush(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, bool, int, bool)'
> /usr/bin/ld: ./libcryptopp.a(filters.o):(.rodata+0xc08): undefined reference to `CryptoPP::BufferedTransformation::ChannelMessageSeriesEnd(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, int, bool)'
> /usr/bin/ld: ./libcryptopp.a(filters.o):(.rodata+0xc10): undefined reference to `CryptoPP::BufferedTransformation::SetRetrievalChannel(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&)'
> /usr/bin/ld: ./libcryptopp.a(filters.o):(.rodata+0xe38): undefined reference to `CryptoPP::BufferedTransformation::ChannelPutModifiable2(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, unsigned char*, unsigned long, int, bool)'
> /usr/bin/ld: ./libcryptopp.a(filters.o):(.rodata+0xe40): undefined reference to `CryptoPP::BufferedTransformation::ChannelFlush(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, bool, int, bool)'
> /usr/bin/ld: ./libcryptopp.a(filters.o):(.rodata+0xe48): undefined reference to `CryptoPP::BufferedTransformation::ChannelMessageSeriesEnd(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, int, bool)'
> /usr/bin/ld: ./libcryptopp.a(filters.o):(.rodata+0xe50): undefined reference to `CryptoPP::BufferedTransformation::SetRetrievalChannel(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&)'
> /usr/bin/ld: ./libcryptopp.a(filters.o):(.rodata+0x10a0): undefined reference to `CryptoPP::BufferedTransformation::ChannelFlush(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, bool, int, bool)'
> /usr/bin/ld: ./libcryptopp.a(filters.o):(.rodata+0x10a8): undefined reference to `CryptoPP::BufferedTransformation::ChannelMessageSeriesEnd(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, int, bool)'
> /usr/bin/ld: ./libcryptopp.a(filters.o):(.rodata+0x10b0): undefined reference to `CryptoPP::BufferedTransformation::SetRetrievalChannel(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&)'
> /usr/bin/ld: ./libcryptopp.a(filters.o):(.rodata+0x12c8): undefined reference to `CryptoPP::BufferedTransformation::ChannelCreatePutSpace(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, unsigned long&)'
> /usr/bin/ld: ./libcryptopp.a(filters.o):(.rodata+0x12d0): undefined reference to `CryptoPP::BufferedTransformation::ChannelPut2(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, unsigned char const*, unsigned long, int, bool)'
> /usr/bin/ld: ./libcryptopp.a(filters.o):(.rodata+0x12d8): undefined reference to `CryptoPP::BufferedTransformation::ChannelPutModifiable2(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, unsigned char*, unsigned long, int, bool)'
> /usr/bin/ld: ./libcryptopp.a(filters.o):(.rodata+0x12e0): undefined reference to `CryptoPP::BufferedTransformation::ChannelFlush(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, bool, int, bool)'
> /usr/bin/ld: ./libcryptopp.a(filters.o):(.rodata+0x12e8): undefined reference to `CryptoPP::BufferedTransformation::ChannelMessageSeriesEnd(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, int, bool)'
> /usr/bin/ld: ./libcryptopp.a(filters.o):(.rodata+0x12f0): undefined reference to `CryptoPP::BufferedTransformation::SetRetrievalChannel(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&)'
> /usr/bin/ld: ./libcryptopp.a(filters.o):(.rodata+0x1588): undefined reference to `CryptoPP::BufferedTransformation::ChannelCreatePutSpace(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, unsigned long&)'
> /usr/bin/ld: ./libcryptopp.a(filters.o):(.rodata+0x1598): undefined reference to `CryptoPP::BufferedTransformation::ChannelPutModifiable2(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, unsigned char*, unsigned long, int, bool)'
> /usr/bin/ld: ./libcryptopp.a(filters.o):(.rodata+0x15a0): undefined reference to `CryptoPP::BufferedTransformation::ChannelFlush(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, bool, int, bool)'
> /usr/bin/ld: ./libcryptopp.a(filters.o):(.rodata+0x15b0): undefined reference to `CryptoPP::BufferedTransformation::SetRetrievalChannel(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&)'
> /usr/bin/ld: ./libcryptopp.a(filters.o):(.rodata+0x17d0): undefined reference to `CryptoPP::BufferedTransformation::ChannelCreatePutSpace(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, unsigned long&)'
> /usr/bin/ld: ./libcryptopp.a(filters.o):(.rodata+0x17d8): undefined reference to `CryptoPP::BufferedTransformation::ChannelPut2(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, unsigned char const*, unsigned long, int, bool)'
> /usr/bin/ld: ./libcryptopp.a(filters.o):(.rodata+0x17e0): undefined reference to `CryptoPP::BufferedTransformation::ChannelPutModifiable2(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, unsigned char*, unsigned long, int, bool)'
> /usr/bin/ld: ./libcryptopp.a(filters.o):(.rodata+0x17e8): undefined reference to `CryptoPP::BufferedTransformation::ChannelFlush(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, bool, int, bool)'
> /usr/bin/ld: ./libcryptopp.a(filters.o):(.rodata+0x17f0): undefined reference to `CryptoPP::BufferedTransformation::ChannelMessageSeriesEnd(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, int, bool)'
> /usr/bin/ld: ./libcryptopp.a(filters.o):(.rodata+0x17f8): undefined reference to `CryptoPP::BufferedTransformation::SetRetrievalChannel(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&)'
> /usr/bin/ld: ./libcryptopp.a(filters.o):(.rodata+0x1bd0): undefined reference to `CryptoPP::BufferedTransformation::ChannelCreatePutSpace(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, unsigned long&)'
> /usr/bin/ld: ./libcryptopp.a(filters.o):(.rodata+0x1bd8): undefined reference to `CryptoPP::BufferedTransformation::ChannelPut2(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, unsigned char const*, unsigned long, int, bool)'
> /usr/bin/ld: ./libcryptopp.a(filters.o):(.rodata+0x1be0): undefined reference to `CryptoPP::BufferedTransformation::ChannelPutModifiable2(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, unsigned char*, unsigned long, int, bool)'
> /usr/bin/ld: ./libcryptopp.a(filters.o):(.rodata+0x1bf0): undefined reference to `CryptoPP::BufferedTransformation::ChannelMessageSeriesEnd(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, int, bool)'
> /usr/bin/ld: ./libcryptopp.a(filters.o):(.rodata+0x1bf8): undefined reference to `CryptoPP::BufferedTransformation::SetRetrievalChannel(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&)'
> /usr/bin/ld: ./libcryptopp.a(filters.o):(.rodata+0x1e58): undefined reference to `CryptoPP::BufferedTransformation::SetRetrievalChannel(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&)'
> /usr/bin/ld: ./libcryptopp.a(filters.o):(.rodata+0x2058): undefined reference to `CryptoPP::BufferedTransformation::ChannelCreatePutSpace(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, unsigned long&)'
> /usr/bin/ld: ./libcryptopp.a(filters.o):(.rodata+0x2060): undefined reference to `CryptoPP::BufferedTransformation::ChannelPut2(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, unsigned char const*, unsigned long, int, bool)'
> /usr/bin/ld: ./libcryptopp.a(filters.o):(.rodata+0x2068): undefined reference to `CryptoPP::BufferedTransformation::ChannelPutModifiable2(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, unsigned char*, unsigned long, int, bool)'
> /usr/bin/ld: ./libcryptopp.a(filters.o):(.rodata+0x2070): undefined reference to `CryptoPP::BufferedTransformation::ChannelFlush(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, bool, int, bool)'
> /usr/bin/ld: ./libcryptopp.a(filters.o):(.rodata+0x2078): undefined reference to `CryptoPP::BufferedTransformation::ChannelMessageSeriesEnd(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, int, bool)'
> /usr/bin/ld: ./libcryptopp.a(filters.o):(.rodata+0x2080): undefined reference to `CryptoPP::BufferedTransformation::SetRetrievalChannel(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&)'
> /usr/bin/ld: ./libcryptopp.a(filters.o):(.rodata+0x2250): undefined reference to `CryptoPP::BufferedTransformation::ChannelCreatePutSpace(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, unsigned long&)'
> /usr/bin/ld: ./libcryptopp.a(filters.o):(.rodata+0x2258): undefined reference to `CryptoPP::BufferedTransformation::ChannelPut2(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, unsigned char const*, unsigned long, int, bool)'
> /usr/bin/ld: ./libcryptopp.a(filters.o):(.rodata+0x2260): undefined reference to `CryptoPP::BufferedTransformation::ChannelPutModifiable2(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, unsigned char*, unsigned long, int, bool)'
> /usr/bin/ld: ./libcryptopp.a(filters.o):(.rodata+0x2268): undefined reference to `CryptoPP::BufferedTransformation::ChannelFlush(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, bool, int, bool)'
> /usr/bin/ld: ./libcryptopp.a(filters.o):(.rodata+0x2270): undefined reference to `CryptoPP::BufferedTransformation::ChannelMessageSeriesEnd(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, int, bool)'
> /usr/bin/ld: ./libcryptopp.a(filters.o):(.rodata+0x2278): undefined reference to `CryptoPP::BufferedTransformation::SetRetrievalChannel(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&)'
> /usr/bin/ld: ./libcryptopp.a(filters.o):(.rodata+0x2440): undefined reference to `CryptoPP::BufferedTransformation::ChannelCreatePutSpace(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, unsigned long&)'
> /usr/bin/ld: ./libcryptopp.a(filters.o):(.rodata+0x2448): undefined reference to `CryptoPP::BufferedTransformation::ChannelPut2(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, unsigned char const*, unsigned long, int, bool)'
> /usr/bin/ld: ./libcryptopp.a(filters.o):(.rodata+0x2450): undefined reference to `CryptoPP::BufferedTransformation::ChannelPutModifiable2(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, unsigned char*, unsigned long, int, bool)'
> /usr/bin/ld: ./libcryptopp.a(filters.o):(.rodata+0x2458): undefined reference to `CryptoPP::BufferedTransformation::ChannelFlush(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, bool, int, bool)'
> /usr/bin/ld: ./libcryptopp.a(filters.o):(.rodata+0x2460): undefined reference to `CryptoPP::BufferedTransformation::ChannelMessageSeriesEnd(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, int, bool)'
> /usr/bin/ld: ./libcryptopp.a(filters.o):(.rodata+0x2468): undefined reference to `CryptoPP::BufferedTransformation::SetRetrievalChannel(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&)'
> /usr/bin/ld: ./libcryptopp.a(filters.o):(.rodata+0x2638): undefined reference to `CryptoPP::BufferedTransformation::ChannelCreatePutSpace(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, unsigned long&)'
> /usr/bin/ld: ./libcryptopp.a(filters.o):(.rodata+0x2648): undefined reference to `CryptoPP::BufferedTransformation::ChannelPutModifiable2(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, unsigned char*, unsigned long, int, bool)'
> /usr/bin/ld: ./libcryptopp.a(filters.o):(.rodata+0x2650): undefined reference to `CryptoPP::BufferedTransformation::ChannelFlush(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, bool, int, bool)'
> /usr/bin/ld: ./libcryptopp.a(filters.o):(.rodata+0x2660): undefined reference to `CryptoPP::BufferedTransformation::SetRetrievalChannel(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&)'
> /usr/bin/ld: ./libcryptopp.a(filters.o):(.rodata+0x2838): undefined reference to `CryptoPP::BufferedTransformation::ChannelCreatePutSpace(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, unsigned long&)'
> /usr/bin/ld: ./libcryptopp.a(filters.o):(.rodata+0x2848): undefined reference to `CryptoPP::BufferedTransformation::ChannelPutModifiable2(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, unsigned char*, unsigned long, int, bool)'
> /usr/bin/ld: ./libcryptopp.a(filters.o):(.rodata+0x2850): undefined reference to `CryptoPP::BufferedTransformation::ChannelFlush(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, bool, int, bool)'
> /usr/bin/ld: ./libcryptopp.a(filters.o):(.rodata+0x2860): undefined reference to `CryptoPP::BufferedTransformation::SetRetrievalChannel(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&)'
> /usr/bin/ld: ./libcryptopp.a(filters.o):(.rodata+0x2a38): undefined reference to `CryptoPP::BufferedTransformation::ChannelCreatePutSpace(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, unsigned long&)'
> /usr/bin/ld: ./libcryptopp.a(filters.o):(.rodata+0x2a48): undefined reference to `CryptoPP::BufferedTransformation::ChannelPutModifiable2(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, unsigned char*, unsigned long, int, bool)'
> /usr/bin/ld: ./libcryptopp.a(filters.o):(.rodata+0x2a50): undefined reference to `CryptoPP::BufferedTransformation::ChannelFlush(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, bool, int, bool)'
> /usr/bin/ld: ./libcryptopp.a(filters.o):(.rodata+0x2a60): undefined reference to `CryptoPP::BufferedTransformation::SetRetrievalChannel(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&)'
> /usr/bin/ld: ./libcryptopp.a(filters.o):(.rodata+0x2c30): undefined reference to `CryptoPP::BufferedTransformation::ChannelCreatePutSpace(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, unsigned long&)'
> /usr/bin/ld: ./libcryptopp.a(filters.o):(.rodata+0x2c40): undefined reference to `CryptoPP::BufferedTransformation::ChannelPutModifiable2(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, unsigned char*, unsigned long, int, bool)'
> /usr/bin/ld: ./libcryptopp.a(filters.o):(.rodata+0x2c48): undefined reference to `CryptoPP::BufferedTransformation::ChannelFlush(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, bool, int, bool)'
> /usr/bin/ld: ./libcryptopp.a(filters.o):(.rodata+0x2c58): undefined reference to `CryptoPP::BufferedTransformation::SetRetrievalChannel(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&)'
> /usr/bin/ld: ./libcryptopp.a(gcm.o):(.rodata+0x2d8): undefined reference to `CryptoPP::RandomNumberGenerator::GenerateIntoBufferedTransformation(CryptoPP::BufferedTransformation&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, unsigned long)'
> /usr/bin/ld: ./libcryptopp.a(gzip.o):(.rodata+0x138): undefined reference to `CryptoPP::BufferedTransformation::ChannelCreatePutSpace(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, unsigned long&)'
> /usr/bin/ld: ./libcryptopp.a(gzip.o):(.rodata+0x140): undefined reference to `CryptoPP::BufferedTransformation::ChannelPut2(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, unsigned char const*, unsigned long, int, bool)'
> /usr/bin/ld: ./libcryptopp.a(gzip.o):(.rodata+0x148): undefined reference to `CryptoPP::BufferedTransformation::ChannelPutModifiable2(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, unsigned char*, unsigned long, int, bool)'
> /usr/bin/ld: ./libcryptopp.a(gzip.o):(.rodata+0x150): undefined reference to `CryptoPP::BufferedTransformation::ChannelFlush(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, bool, int, bool)'
> /usr/bin/ld: ./libcryptopp.a(gzip.o):(.rodata+0x158): undefined reference to `CryptoPP::BufferedTransformation::ChannelMessageSeriesEnd(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, int, bool)'
> /usr/bin/ld: ./libcryptopp.a(gzip.o):(.rodata+0x160): undefined reference to `CryptoPP::BufferedTransformation::SetRetrievalChannel(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&)'
> /usr/bin/ld: ./libcryptopp.a(gzip.o):(.rodata+0x340): undefined reference to `CryptoPP::BufferedTransformation::ChannelCreatePutSpace(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, unsigned long&)'
> /usr/bin/ld: ./libcryptopp.a(gzip.o):(.rodata+0x348): undefined reference to `CryptoPP::BufferedTransformation::ChannelPut2(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, unsigned char const*, unsigned long, int, bool)'
> /usr/bin/ld: ./libcryptopp.a(gzip.o):(.rodata+0x350): undefined reference to `CryptoPP::BufferedTransformation::ChannelPutModifiable2(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, unsigned char*, unsigned long, int, bool)'
> /usr/bin/ld: ./libcryptopp.a(gzip.o):(.rodata+0x358): undefined reference to `CryptoPP::BufferedTransformation::ChannelFlush(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, bool, int, bool)'
> /usr/bin/ld: ./libcryptopp.a(gzip.o):(.rodata+0x360): undefined reference to `CryptoPP::BufferedTransformation::ChannelMessageSeriesEnd(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, int, bool)'
> /usr/bin/ld: ./libcryptopp.a(gzip.o):(.rodata+0x368): undefined reference to `CryptoPP::BufferedTransformation::SetRetrievalChannel(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&)'
> /usr/bin/ld: ./libcryptopp.a(hex.o):(.rodata+0x578): undefined reference to `CryptoPP::BufferedTransformation::ChannelCreatePutSpace(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, unsigned long&)'
> /usr/bin/ld: ./libcryptopp.a(hex.o):(.rodata+0x580): undefined reference to `CryptoPP::BufferedTransformation::ChannelPut2(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, unsigned char const*, unsigned long, int, bool)'
> /usr/bin/ld: ./libcryptopp.a(hex.o):(.rodata+0x588): undefined reference to `CryptoPP::BufferedTransformation::ChannelPutModifiable2(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, unsigned char*, unsigned long, int, bool)'
> /usr/bin/ld: ./libcryptopp.a(hex.o):(.rodata+0x590): undefined reference to `CryptoPP::BufferedTransformation::ChannelFlush(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, bool, int, bool)'
> /usr/bin/ld: ./libcryptopp.a(hex.o):(.rodata+0x598): undefined reference to `CryptoPP::BufferedTransformation::ChannelMessageSeriesEnd(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, int, bool)'
> /usr/bin/ld: ./libcryptopp.a(hex.o):(.rodata+0x5a0): undefined reference to `CryptoPP::BufferedTransformation::SetRetrievalChannel(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&)'
> /usr/bin/ld: ./libcryptopp.a(hex.o):(.rodata+0x7e8): undefined reference to `CryptoPP::BufferedTransformation::ChannelCreatePutSpace(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, unsigned long&)'
> /usr/bin/ld: ./libcryptopp.a(hex.o):(.rodata+0x7f0): undefined reference to `CryptoPP::BufferedTransformation::ChannelPut2(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, unsigned char const*, unsigned long, int, bool)'
> /usr/bin/ld: ./libcryptopp.a(hex.o):(.rodata+0x7f8): undefined reference to `CryptoPP::BufferedTransformation::ChannelPutModifiable2(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, unsigned char*, unsigned long, int, bool)'
> /usr/bin/ld: ./libcryptopp.a(hex.o):(.rodata+0x808): undefined reference to `CryptoPP::BufferedTransformation::ChannelMessageSeriesEnd(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, int, bool)'
> /usr/bin/ld: ./libcryptopp.a(hex.o):(.rodata+0x810): undefined reference to `CryptoPP::BufferedTransformation::SetRetrievalChannel(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&)'
> /usr/bin/ld: ./libcryptopp.a(ida.o): in function `CryptoPP::SecretRecovery::FlushOutputQueues()':
> ida.cpp:(.text+0x1c9c): undefined reference to `CryptoPP::DEFAULT_CHANNEL'
> /usr/bin/ld: ida.cpp:(.text+0x1ced): undefined reference to `CryptoPP::DEFAULT_CHANNEL'
> /usr/bin/ld: ./libcryptopp.a(ida.o): in function `CryptoPP::SecretRecovery::OutputMessageEnds()':
> ida.cpp:(.text+0x1d97): undefined reference to `CryptoPP::DEFAULT_CHANNEL'
> /usr/bin/ld: ./libcryptopp.a(ida.o): in function `CryptoPP::InformationRecovery::FlushOutputQueues()':
> ida.cpp:(.text+0x21d3): undefined reference to `CryptoPP::DEFAULT_CHANNEL'
> /usr/bin/ld: ida.cpp:(.text+0x225f): undefined reference to `CryptoPP::DEFAULT_CHANNEL'
> /usr/bin/ld: ./libcryptopp.a(ida.o):ida.cpp:(.text+0x22a3): more undefined references to `CryptoPP::DEFAULT_CHANNEL' follow
> /usr/bin/ld: ./libcryptopp.a(ida.o):(.rodata+0x158): undefined reference to `CryptoPP::BufferedTransformation::ChannelMessageSeriesEnd(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, int, bool)'
> /usr/bin/ld: ./libcryptopp.a(ida.o):(.rodata+0x160): undefined reference to `CryptoPP::BufferedTransformation::SetRetrievalChannel(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&)'
> /usr/bin/ld: ./libcryptopp.a(ida.o):(.rodata+0x358): undefined reference to `CryptoPP::BufferedTransformation::ChannelCreatePutSpace(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, unsigned long&)'
> /usr/bin/ld: ./libcryptopp.a(ida.o):(.rodata+0x360): undefined reference to `CryptoPP::BufferedTransformation::ChannelPut2(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, unsigned char const*, unsigned long, int, bool)'
> /usr/bin/ld: ./libcryptopp.a(ida.o):(.rodata+0x368): undefined reference to `CryptoPP::BufferedTransformation::ChannelPutModifiable2(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, unsigned char*, unsigned long, int, bool)'
> /usr/bin/ld: ./libcryptopp.a(ida.o):(.rodata+0x370): undefined reference to `CryptoPP::BufferedTransformation::ChannelFlush(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, bool, int, bool)'
> /usr/bin/ld: ./libcryptopp.a(ida.o):(.rodata+0x378): undefined reference to `CryptoPP::BufferedTransformation::ChannelMessageSeriesEnd(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, int, bool)'
> /usr/bin/ld: ./libcryptopp.a(ida.o):(.rodata+0x380): undefined reference to `CryptoPP::BufferedTransformation::SetRetrievalChannel(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&)'
> /usr/bin/ld: ./libcryptopp.a(ida.o):(.rodata+0x588): undefined reference to `CryptoPP::BufferedTransformation::ChannelMessageSeriesEnd(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, int, bool)'
> /usr/bin/ld: ./libcryptopp.a(ida.o):(.rodata+0x590): undefined reference to `CryptoPP::BufferedTransformation::SetRetrievalChannel(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&)'
> /usr/bin/ld: ./libcryptopp.a(ida.o):(.rodata+0x790): undefined reference to `CryptoPP::BufferedTransformation::ChannelCreatePutSpace(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, unsigned long&)'
> /usr/bin/ld: ./libcryptopp.a(ida.o):(.rodata+0x798): undefined reference to `CryptoPP::BufferedTransformation::ChannelPut2(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, unsigned char const*, unsigned long, int, bool)'
> /usr/bin/ld: ./libcryptopp.a(ida.o):(.rodata+0x7a0): undefined reference to `CryptoPP::BufferedTransformation::ChannelPutModifiable2(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, unsigned char*, unsigned long, int, bool)'
> /usr/bin/ld: ./libcryptopp.a(ida.o):(.rodata+0x7a8): undefined reference to `CryptoPP::BufferedTransformation::ChannelFlush(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, bool, int, bool)'
> /usr/bin/ld: ./libcryptopp.a(ida.o):(.rodata+0x7b0): undefined reference to `CryptoPP::BufferedTransformation::ChannelMessageSeriesEnd(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, int, bool)'
> /usr/bin/ld: ./libcryptopp.a(ida.o):(.rodata+0x7b8): undefined reference to `CryptoPP::BufferedTransformation::SetRetrievalChannel(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&)'
> /usr/bin/ld: ./libcryptopp.a(ida.o):(.rodata+0x9c8): undefined reference to `CryptoPP::BufferedTransformation::ChannelMessageSeriesEnd(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, int, bool)'
> /usr/bin/ld: ./libcryptopp.a(ida.o):(.rodata+0x9d0): undefined reference to `CryptoPP::BufferedTransformation::SetRetrievalChannel(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&)'
> /usr/bin/ld: ./libcryptopp.a(ida.o):(.rodata+0xbd8): undefined reference to `CryptoPP::BufferedTransformation::ChannelCreatePutSpace(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, unsigned long&)'
> /usr/bin/ld: ./libcryptopp.a(ida.o):(.rodata+0xbe0): undefined reference to `CryptoPP::BufferedTransformation::ChannelPut2(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, unsigned char const*, unsigned long, int, bool)'
> /usr/bin/ld: ./libcryptopp.a(ida.o):(.rodata+0xbe8): undefined reference to `CryptoPP::BufferedTransformation::ChannelPutModifiable2(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, unsigned char*, unsigned long, int, bool)'
> /usr/bin/ld: ./libcryptopp.a(ida.o):(.rodata+0xbf8): undefined reference to `CryptoPP::BufferedTransformation::ChannelMessageSeriesEnd(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, int, bool)'
> /usr/bin/ld: ./libcryptopp.a(ida.o):(.rodata+0xc00): undefined reference to `CryptoPP::BufferedTransformation::SetRetrievalChannel(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&)'
> /usr/bin/ld: ./libcryptopp.a(ida.o):(.rodata._ZTVN8CryptoPP13AutoSignalingINS_22BufferedTransformationEEE[_ZTVN8CryptoPP13AutoSignalingINS_22BufferedTransformationEEE]+0x138): undefined reference to `CryptoPP::BufferedTransformation::ChannelCreatePutSpace(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, unsigned long&)'
> /usr/bin/ld: ./libcryptopp.a(ida.o):(.rodata._ZTVN8CryptoPP13AutoSignalingINS_22BufferedTransformationEEE[_ZTVN8CryptoPP13AutoSignalingINS_22BufferedTransformationEEE]+0x140): undefined reference to `CryptoPP::BufferedTransformation::ChannelPut2(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, unsigned char const*, unsigned long, int, bool)'
> /usr/bin/ld: ./libcryptopp.a(ida.o):(.rodata._ZTVN8CryptoPP13AutoSignalingINS_22BufferedTransformationEEE[_ZTVN8CryptoPP13AutoSignalingINS_22BufferedTransformationEEE]+0x148): undefined reference to `CryptoPP::BufferedTransformation::ChannelPutModifiable2(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, unsigned char*, unsigned long, int, bool)'
> /usr/bin/ld: ./libcryptopp.a(ida.o):(.rodata._ZTVN8CryptoPP13AutoSignalingINS_22BufferedTransformationEEE[_ZTVN8CryptoPP13AutoSignalingINS_22BufferedTransformationEEE]+0x150): undefined reference to `CryptoPP::BufferedTransformation::ChannelFlush(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, bool, int, bool)'
> /usr/bin/ld: ./libcryptopp.a(ida.o):(.rodata._ZTVN8CryptoPP13AutoSignalingINS_22BufferedTransformationEEE[_ZTVN8CryptoPP13AutoSignalingINS_22BufferedTransformationEEE]+0x158): undefined reference to `CryptoPP::BufferedTransformation::ChannelMessageSeriesEnd(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, int, bool)'
> /usr/bin/ld: ./libcryptopp.a(ida.o):(.rodata._ZTVN8CryptoPP13AutoSignalingINS_22BufferedTransformationEEE[_ZTVN8CryptoPP13AutoSignalingINS_22BufferedTransformationEEE]+0x160): undefined reference to `CryptoPP::BufferedTransformation::SetRetrievalChannel(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&)'
> /usr/bin/ld: ./libcryptopp.a(mqueue.o): in function `CryptoPP::EqualityComparisonFilter::HandleMismatchDetected(bool)':
> mqueue.cpp:(.text+0xb83): undefined reference to `CryptoPP::DEFAULT_CHANNEL'
> /usr/bin/ld: ./libcryptopp.a(mqueue.o): in function `CryptoPP::EqualityComparisonFilter::ChannelMessageSeriesEnd(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, int, bool)':
> mqueue.cpp:(.text+0xd06): undefined reference to `CryptoPP::DEFAULT_CHANNEL'
> /usr/bin/ld: ./libcryptopp.a(mqueue.o):(.rodata+0x138): undefined reference to `CryptoPP::BufferedTransformation::ChannelCreatePutSpace(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, unsigned long&)'
> /usr/bin/ld: ./libcryptopp.a(mqueue.o):(.rodata+0x140): undefined reference to `CryptoPP::BufferedTransformation::ChannelPut2(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, unsigned char const*, unsigned long, int, bool)'
> /usr/bin/ld: ./libcryptopp.a(mqueue.o):(.rodata+0x148): undefined reference to `CryptoPP::BufferedTransformation::ChannelPutModifiable2(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, unsigned char*, unsigned long, int, bool)'
> /usr/bin/ld: ./libcryptopp.a(mqueue.o):(.rodata+0x150): undefined reference to `CryptoPP::BufferedTransformation::ChannelFlush(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, bool, int, bool)'
> /usr/bin/ld: ./libcryptopp.a(mqueue.o):(.rodata+0x158): undefined reference to `CryptoPP::BufferedTransformation::ChannelMessageSeriesEnd(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, int, bool)'
> /usr/bin/ld: ./libcryptopp.a(mqueue.o):(.rodata+0x160): undefined reference to `CryptoPP::BufferedTransformation::SetRetrievalChannel(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&)'
> /usr/bin/ld: ./libcryptopp.a(mqueue.o):(.rodata+0x358): undefined reference to `CryptoPP::BufferedTransformation::SetRetrievalChannel(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&)'
> /usr/bin/ld: ./libcryptopp.a(osrng.o):(.rodata+0x68): undefined reference to `CryptoPP::RandomNumberGenerator::GenerateIntoBufferedTransformation(CryptoPP::BufferedTransformation&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, unsigned long)'
> /usr/bin/ld: ./libcryptopp.a(osrng.o):(.rodata+0xe0): undefined reference to `CryptoPP::RandomNumberGenerator::GenerateIntoBufferedTransformation(CryptoPP::BufferedTransformation&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, unsigned long)'
> /usr/bin/ld: ./libcryptopp.a(padlkrng.o):(.rodata+0x68): undefined reference to `CryptoPP::RandomNumberGenerator::GenerateIntoBufferedTransformation(CryptoPP::BufferedTransformation&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, unsigned long)'
> /usr/bin/ld: ./libcryptopp.a(pubkey.o): in function `CryptoPP::P1363_MGF1KDF2_Common(CryptoPP::HashTransformation&, unsigned char*, unsigned long, unsigned char const*, unsigned long, unsigned char const*, unsigned long, bool, unsigned int)':
> pubkey.cpp:(.text+0x117): undefined reference to `CryptoPP::DEFAULT_CHANNEL'
> /usr/bin/ld: ./libcryptopp.a(queue.o): in function `CryptoPP::ByteQueue::Get(unsigned char*, unsigned long)':
> queue.cpp:(.text+0xbe9): undefined reference to `CryptoPP::DEFAULT_CHANNEL'
> /usr/bin/ld: ./libcryptopp.a(queue.o): in function `CryptoPP::ByteQueue::Peek(unsigned char*, unsigned long) const':
> queue.cpp:(.text+0xce9): undefined reference to `CryptoPP::DEFAULT_CHANNEL'
> /usr/bin/ld: ./libcryptopp.a(queue.o): in function `CryptoPP::ByteQueue::Walker::Get(unsigned char&)':
> queue.cpp:(.text+0x1859): undefined reference to `CryptoPP::DEFAULT_CHANNEL'
> /usr/bin/ld: ./libcryptopp.a(queue.o): in function `CryptoPP::ByteQueue::Walker::Get(unsigned char*, unsigned long)':
> queue.cpp:(.text+0x1ad9): undefined reference to `CryptoPP::DEFAULT_CHANNEL'
> /usr/bin/ld: ./libcryptopp.a(queue.o):queue.cpp:(.text+0x1b59): more undefined references to `CryptoPP::DEFAULT_CHANNEL' follow
> /usr/bin/ld: ./libcryptopp.a(queue.o):(.rodata+0x138): undefined reference to `CryptoPP::BufferedTransformation::ChannelCreatePutSpace(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, unsigned long&)'
> /usr/bin/ld: ./libcryptopp.a(queue.o):(.rodata+0x140): undefined reference to `CryptoPP::BufferedTransformation::ChannelPut2(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, unsigned char const*, unsigned long, int, bool)'
> /usr/bin/ld: ./libcryptopp.a(queue.o):(.rodata+0x148): undefined reference to `CryptoPP::BufferedTransformation::ChannelPutModifiable2(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, unsigned char*, unsigned long, int, bool)'
> /usr/bin/ld: ./libcryptopp.a(queue.o):(.rodata+0x150): undefined reference to `CryptoPP::BufferedTransformation::ChannelFlush(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, bool, int, bool)'
> /usr/bin/ld: ./libcryptopp.a(queue.o):(.rodata+0x158): undefined reference to `CryptoPP::BufferedTransformation::ChannelMessageSeriesEnd(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, int, bool)'
> /usr/bin/ld: ./libcryptopp.a(queue.o):(.rodata+0x160): undefined reference to `CryptoPP::BufferedTransformation::SetRetrievalChannel(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&)'
> /usr/bin/ld: ./libcryptopp.a(queue.o):(.rodata+0x2f8): undefined reference to `CryptoPP::BufferedTransformation::ChannelCreatePutSpace(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, unsigned long&)'
> /usr/bin/ld: ./libcryptopp.a(queue.o):(.rodata+0x308): undefined reference to `CryptoPP::BufferedTransformation::ChannelPutModifiable2(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, unsigned char*, unsigned long, int, bool)'
> /usr/bin/ld: ./libcryptopp.a(queue.o):(.rodata+0x310): undefined reference to `CryptoPP::BufferedTransformation::ChannelFlush(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, bool, int, bool)'
> /usr/bin/ld: ./libcryptopp.a(queue.o):(.rodata+0x320): undefined reference to `CryptoPP::BufferedTransformation::SetRetrievalChannel(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&)'
> /usr/bin/ld: ./libcryptopp.a(queue.o):(.rodata._ZTVN8CryptoPP10BufferlessINS_22BufferedTransformationEEE[_ZTVN8CryptoPP10BufferlessINS_22BufferedTransformationEEE]+0x138): undefined reference to `CryptoPP::BufferedTransformation::ChannelCreatePutSpace(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, unsigned long&)'
> /usr/bin/ld: ./libcryptopp.a(queue.o):(.rodata._ZTVN8CryptoPP10BufferlessINS_22BufferedTransformationEEE[_ZTVN8CryptoPP10BufferlessINS_22BufferedTransformationEEE]+0x140): undefined reference to `CryptoPP::BufferedTransformation::ChannelPut2(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, unsigned char const*, unsigned long, int, bool)'
> /usr/bin/ld: ./libcryptopp.a(queue.o):(.rodata._ZTVN8CryptoPP10BufferlessINS_22BufferedTransformationEEE[_ZTVN8CryptoPP10BufferlessINS_22BufferedTransformationEEE]+0x148): undefined reference to `CryptoPP::BufferedTransformation::ChannelPutModifiable2(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, unsigned char*, unsigned long, int, bool)'
> /usr/bin/ld: ./libcryptopp.a(queue.o):(.rodata._ZTVN8CryptoPP10BufferlessINS_22BufferedTransformationEEE[_ZTVN8CryptoPP10BufferlessINS_22BufferedTransformationEEE]+0x150): undefined reference to `CryptoPP::BufferedTransformation::ChannelFlush(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, bool, int, bool)'
> /usr/bin/ld: ./libcryptopp.a(queue.o):(.rodata._ZTVN8CryptoPP10BufferlessINS_22BufferedTransformationEEE[_ZTVN8CryptoPP10BufferlessINS_22BufferedTransformationEEE]+0x158): undefined reference to `CryptoPP::BufferedTransformation::ChannelMessageSeriesEnd(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, int, bool)'
> /usr/bin/ld: ./libcryptopp.a(queue.o):(.rodata._ZTVN8CryptoPP10BufferlessINS_22BufferedTransformationEEE[_ZTVN8CryptoPP10BufferlessINS_22BufferedTransformationEEE]+0x160): undefined reference to `CryptoPP::BufferedTransformation::SetRetrievalChannel(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&)'
> /usr/bin/ld: ./libcryptopp.a(randpool.o): in function `CryptoPP::OldRandomPool::GenerateBlock(unsigned char*, unsigned long)':
> randpool.cpp:(.text+0xb87): undefined reference to `CryptoPP::DEFAULT_CHANNEL'
> /usr/bin/ld: ./libcryptopp.a(rdrand.o):(.rodata+0x68): undefined reference to `CryptoPP::RandomNumberGenerator::GenerateIntoBufferedTransformation(CryptoPP::BufferedTransformation&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, unsigned long)'
> /usr/bin/ld: ./libcryptopp.a(rdrand.o):(.rodata+0xe0): undefined reference to `CryptoPP::RandomNumberGenerator::GenerateIntoBufferedTransformation(CryptoPP::BufferedTransformation&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, unsigned long)'
> /usr/bin/ld: ./libcryptopp.a(rng.o): in function `CryptoPP::X917RNG::X917RNG(CryptoPP::BlockTransformation*, unsigned char const*, unsigned char const*)':
> rng.cpp:(.text+0x584): undefined reference to `CryptoPP::DEFAULT_CHANNEL'
> /usr/bin/ld: ./libcryptopp.a(rng.o):(.rodata+0x1c0): undefined reference to `CryptoPP::BufferedTransformation::ChannelCreatePutSpace(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, unsigned long&)'
> /usr/bin/ld: ./libcryptopp.a(rng.o):(.rodata+0x1c8): undefined reference to `CryptoPP::BufferedTransformation::ChannelPut2(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, unsigned char const*, unsigned long, int, bool)'
> /usr/bin/ld: ./libcryptopp.a(rng.o):(.rodata+0x1d0): undefined reference to `CryptoPP::BufferedTransformation::ChannelPutModifiable2(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, unsigned char*, unsigned long, int, bool)'
> /usr/bin/ld: ./libcryptopp.a(rng.o):(.rodata+0x1d8): undefined reference to `CryptoPP::BufferedTransformation::ChannelFlush(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, bool, int, bool)'
> /usr/bin/ld: ./libcryptopp.a(rng.o):(.rodata+0x1e0): undefined reference to `CryptoPP::BufferedTransformation::ChannelMessageSeriesEnd(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, int, bool)'
> /usr/bin/ld: ./libcryptopp.a(rng.o):(.rodata+0x1e8): undefined reference to `CryptoPP::BufferedTransformation::SetRetrievalChannel(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&)'
> /usr/bin/ld: ./libcryptopp.a(rng.o):(.rodata+0x2b0): undefined reference to `CryptoPP::RandomNumberGenerator::GenerateIntoBufferedTransformation(CryptoPP::BufferedTransformation&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, unsigned long)'
> /usr/bin/ld: ./libcryptopp.a(zdeflate.o): in function `CryptoPP::Deflator::Put2(unsigned char const*, unsigned long, int, bool)':
> zdeflate.cpp:(.text+0x3181): undefined reference to `CryptoPP::DEFAULT_CHANNEL'
> /usr/bin/ld: ./libcryptopp.a(zdeflate.o):(.rodata+0x138): undefined reference to `CryptoPP::BufferedTransformation::ChannelCreatePutSpace(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, unsigned long&)'
> /usr/bin/ld: ./libcryptopp.a(zdeflate.o):(.rodata+0x140): undefined reference to `CryptoPP::BufferedTransformation::ChannelPut2(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, unsigned char const*, unsigned long, int, bool)'
> /usr/bin/ld: ./libcryptopp.a(zdeflate.o):(.rodata+0x148): undefined reference to `CryptoPP::BufferedTransformation::ChannelPutModifiable2(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, unsigned char*, unsigned long, int, bool)'
> /usr/bin/ld: ./libcryptopp.a(zdeflate.o):(.rodata+0x150): undefined reference to `CryptoPP::BufferedTransformation::ChannelFlush(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, bool, int, bool)'
> /usr/bin/ld: ./libcryptopp.a(zdeflate.o):(.rodata+0x158): undefined reference to `CryptoPP::BufferedTransformation::ChannelMessageSeriesEnd(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, int, bool)'
> /usr/bin/ld: ./libcryptopp.a(zdeflate.o):(.rodata+0x160): undefined reference to `CryptoPP::BufferedTransformation::SetRetrievalChannel(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&)'
> /usr/bin/ld: ./libcryptopp.a(zinflate.o): in function `CryptoPP::Inflator::Put2(unsigned char const*, unsigned long, int, bool)':
> zinflate.cpp:(.text+0x17e6): undefined reference to `CryptoPP::DEFAULT_CHANNEL'
> /usr/bin/ld: ./libcryptopp.a(zinflate.o): in function `CryptoPP::Inflator::ProcessInput(bool)':
> zinflate.cpp:(.text+0x1a5b): undefined reference to `CryptoPP::DEFAULT_CHANNEL'
> /usr/bin/ld: zinflate.cpp:(.text+0x1acc): undefined reference to `CryptoPP::DEFAULT_CHANNEL'
> /usr/bin/ld: ./libcryptopp.a(zinflate.o):(.rodata+0x180): undefined reference to `CryptoPP::BufferedTransformation::ChannelCreatePutSpace(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, unsigned long&)'
> /usr/bin/ld: ./libcryptopp.a(zinflate.o):(.rodata+0x188): undefined reference to `CryptoPP::BufferedTransformation::ChannelPut2(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, unsigned char const*, unsigned long, int, bool)'
> /usr/bin/ld: ./libcryptopp.a(zinflate.o):(.rodata+0x190): undefined reference to `CryptoPP::BufferedTransformation::ChannelPutModifiable2(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, unsigned char*, unsigned long, int, bool)'
> /usr/bin/ld: ./libcryptopp.a(zinflate.o):(.rodata+0x198): undefined reference to `CryptoPP::BufferedTransformation::ChannelFlush(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, bool, int, bool)'
> /usr/bin/ld: ./libcryptopp.a(zinflate.o):(.rodata+0x1a0): undefined reference to `CryptoPP::BufferedTransformation::ChannelMessageSeriesEnd(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, int, bool)'
> /usr/bin/ld: ./libcryptopp.a(zinflate.o):(.rodata+0x1a8): undefined reference to `CryptoPP::BufferedTransformation::SetRetrievalChannel(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&)'
> /usr/bin/ld: ./libcryptopp.a(zinflate.o):(.rodata._ZTVN8CryptoPP13AutoSignalingINS_6FilterEEE[_ZTVN8CryptoPP13AutoSignalingINS_6FilterEEE]+0x138): undefined reference to `CryptoPP::BufferedTransformation::ChannelCreatePutSpace(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, unsigned long&)'
> /usr/bin/ld: ./libcryptopp.a(zinflate.o):(.rodata._ZTVN8CryptoPP13AutoSignalingINS_6FilterEEE[_ZTVN8CryptoPP13AutoSignalingINS_6FilterEEE]+0x140): undefined reference to `CryptoPP::BufferedTransformation::ChannelPut2(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, unsigned char const*, unsigned long, int, bool)'
> /usr/bin/ld: ./libcryptopp.a(zinflate.o):(.rodata._ZTVN8CryptoPP13AutoSignalingINS_6FilterEEE[_ZTVN8CryptoPP13AutoSignalingINS_6FilterEEE]+0x148): undefined reference to `CryptoPP::BufferedTransformation::ChannelPutModifiable2(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, unsigned char*, unsigned long, int, bool)'
> /usr/bin/ld: ./libcryptopp.a(zinflate.o):(.rodata._ZTVN8CryptoPP13AutoSignalingINS_6FilterEEE[_ZTVN8CryptoPP13AutoSignalingINS_6FilterEEE]+0x150): undefined reference to `CryptoPP::BufferedTransformation::ChannelFlush(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, bool, int, bool)'
> /usr/bin/ld: ./libcryptopp.a(zinflate.o):(.rodata._ZTVN8CryptoPP13AutoSignalingINS_6FilterEEE[_ZTVN8CryptoPP13AutoSignalingINS_6FilterEEE]+0x158): undefined reference to `CryptoPP::BufferedTransformation::ChannelMessageSeriesEnd(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, int, bool)'
> /usr/bin/ld: ./libcryptopp.a(zinflate.o):(.rodata._ZTVN8CryptoPP13AutoSignalingINS_6FilterEEE[_ZTVN8CryptoPP13AutoSignalingINS_6FilterEEE]+0x160): undefined reference to `CryptoPP::BufferedTransformation::SetRetrievalChannel(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&)'
> | Improper linkage against libc++ and some project's object files | https://api.github.com/repos/weidai11/cryptopp/issues/974/comments | 2 | 2020-10-04T08:24:34Z | 2021-02-03T18:14:40Z | https://github.com/weidai11/cryptopp/issues/974 | 714,263,194 | 974 |
[
"weidai11",
"cryptopp"
] | ### Unable to run cryptest.exe on MinGW
* Operating System : Windows 10 (version 2004) x64 (also verified on Windows 7 x64, Windows 8.1 x64)
* Crypto++ Version : 8.2.0
* Used `mingw32-make` to build the library.
* The output for `mingw32-make` command didn't showed any error.
* __Running `mingw32-make test` gave this error :__
```
./cryptest.exe v
mingw32-make: *** [GNUmakefile:1147: test] Error -1073741511
```
* `g++` version : `10.2.0-3`
* `make` version : `4.3-1`
<hr>
Also, unable to use this package : [mingw-w64-crypto++](https://packages.msys2.org/package/mingw-w64-x86_64-crypto++).
Note that in both the cases no compiler/linker error is thrown. Only the built programs are throwing exception(s) (noticed core dump and heap corruption) at runtime.
| Unable to run cryptest.exe on MinGW | https://api.github.com/repos/weidai11/cryptopp/issues/973/comments | 1 | 2020-10-03T20:32:19Z | 2020-11-01T05:09:19Z | https://github.com/weidai11/cryptopp/issues/973 | 714,170,627 | 973 |
[
"weidai11",
"cryptopp"
] | Windows 10, using the latest Microsoft Visual Studio 2019.
Build cryptlib (cryptlib.vcxproj) fails:
```
1>cpu.cpp(314): error C3861: '_xgetbv': identifier not found
```
```
// Visual Studio 2010 and above, 32 and 64-bit
#if defined(_MSC_VER) && (_MSC_VER >= 1600)
314 >>>> return _xgetbv(num);
// Visual Studio 2008 and below, 64-bit
#elif defined(_MSC_VER) && defined(_M_X64)
return XGETBV64(num);
// Visual Studio 2008 and below, 32-bit
#elif defined(_MSC_VER) && defined(_M_IX86)
```
I changed it to return XGETBV64(num); in the 64 bit build that builds.
| Unable to compile cryptlib | https://api.github.com/repos/weidai11/cryptopp/issues/972/comments | 4 | 2020-09-30T14:21:24Z | 2020-11-21T00:15:59Z | https://github.com/weidai11/cryptopp/issues/972 | 711,991,844 | 972 |
[
"weidai11",
"cryptopp"
] | Build Error log :
```
Error 8 error : member "CryptoPP::AllocatorBase<T>::size_type [with T=CryptoPP::word64={unsigned __int64}]" is not a type name C:\Users\Anant Devi\Desktop\Crypto-project\secblock.h 182 1 cryptlib
Error 7 error : member "CryptoPP::AllocatorBase<T>::size_type [with T=CryptoPP::word32={unsigned int}]" is not a type name C:\Users\Anant Devi\Desktop\Crypto-project\secblock.h 182 1 cryptlib
Error 6 error : member "CryptoPP::AllocatorBase<T>::size_type [with T=CryptoPP::word16={unsigned short}]" is not a type name C:\Users\Anant Devi\Desktop\Crypto-project\secblock.h 182 1 cryptlib
Error 5 error : member "CryptoPP::AllocatorBase<T>::size_type [with T=CryptoPP::byte={unsigned char}]" is not a type name C:\Users\Anant Devi\Desktop\Crypto-project\secblock.h 182 1 cryptlib
Error 1 error : identifier "constexpr" is undefined C:\Users\Anant Devi\Desktop\Crypto-project\secblock.h 72 1 cryptlib
Error 3 error : expected a ";" C:\Users\Anant Devi\Desktop\Crypto-project\secblock.h 72 1 cryptlib
Error 10 error : expected a ";" C:\Users\Anant Devi\Desktop\Crypto-project\secblock.h 311 1 cryptlib
Error 12 error : expected a ";" C:\Users\Anant Devi\Desktop\Crypto-project\secblock.h 468 1 cryptlib
Error 15 error : expected a ";" C:\Users\Anant Devi\Desktop\Crypto-project\secblock.h 665 1 cryptlib
Error 2 error : "size_type" has already been declared in the current scope C:\Users\Anant Devi\Desktop\Crypto-project\secblock.h 72 1 cryptlib
Error 9 error : "size_type" has already been declared in the current scope C:\Users\Anant Devi\Desktop\Crypto-project\secblock.h 311 1 cryptlib
Error 11 error : "size_type" has already been declared in the current scope C:\Users\Anant Devi\Desktop\Crypto-project\secblock.h 468 1 cryptlib
Error 14 error : "size_type" has already been declared in the current scope C:\Users\Anant Devi\Desktop\Crypto-project\secblock.h 665 1 cryptlib
```
| Unable to build the Cryptopp library using Intel c++ compiler 19 | https://api.github.com/repos/weidai11/cryptopp/issues/971/comments | 5 | 2020-09-30T11:42:38Z | 2020-10-27T13:19:54Z | https://github.com/weidai11/cryptopp/issues/971 | 711,874,328 | 971 |
[
"weidai11",
"cryptopp"
] | ### Crypto++ Issue Report
Operating System: Linux
The recent generations of IBMz hardware (z13, z14, z15) have SIMD vector extensions and cryptographic accelerators. The SIMD features are similar to Power Altivec and VSX SIMD. The SIMD optimizations in Crypto++ should be extended to exploit the SIMD and accelerator features in IBMz.
Linux on Z access is available to Open Source developers through the [LinuxONE Community Cloud](https://linuxone.cloud.marist.edu/#/register?flag=VM) . | IBM Linux on Z (s390x) SIMD optimization | https://api.github.com/repos/weidai11/cryptopp/issues/969/comments | 5 | 2020-09-23T17:19:37Z | 2021-02-26T01:02:45Z | https://github.com/weidai11/cryptopp/issues/969 | 707,543,700 | 969 |
[
"weidai11",
"cryptopp"
] | ## Background
The memset_z function is defined in misc.h, and is intended to act as a drop-in replacement for memset (provided in the cstring header of the standard library). The important feature of memset_z is that calls to memset_z should never be optimized out by a compiler. This is due to its implementation, which involves the use of the 'volatile' keyword.
Normally, if a compiler sees that after a call such as "memset(foo, 0, foo_size)" foo is never read or written, the compiler can ignore the call in order to improve execution speed. However, if the contents of foo are sensitive and should be cleared from memory before the memory is deallocated (e.g. foo contains a secret key), then it is desirable to ensure the compiler doesn't ignore the call.
Compiler optimizations can be configured at will; they are usually enabled in a build system's release configuration and disabled in a debug configuration.
In Crypto++ 8.2.0, memset_z is called in misc.h and in secblock.h .
## Issue
In Crypto++ 8.2.0, memset_z can, in fact, be optimized out during compilation.
Consider the following test code, which uses an exact copy of memset_z as written in misc.h:
#include <cstring>
#include <iostream>
inline void * memset_z(void *ptr, int value, size_t num)
{
// avoid extranous warning on GCC 4.3.2 Ubuntu 8.10
#if CRYPTOPP_GCC_VERSION >= 30001
if (__builtin_constant_p(num) && num==0)
return ptr;
#endif
volatile void* x = memset(ptr, value, num);
return const_cast<void*>(x);
}
int main(void)
{
char str[10] = "abc123xyz";
std::cout << str << std::endl;
memset_z(str, 0, 10);
return 0;
}
I compiled this code using Visual Studio 2019 and CMake with the following compilers:
* MSVC 14.26
* Clang 10.0.0
* Mingw64 g++ 10.2.0
In each case I used the 'release with debug information' configuration, and placed a breakpoint at the return statement in main(). At that point, watching 'str' shows that it still contains "abc123xyz" whereas it should be an empty string. Of course, using a debug configuration (optimizations disabled) results in the correct behavior.
## Proposed solution
Either of the following alternative implementations of memset_z results in the correct behavior in all of the compilers that I tried:
typedef void* (*memset_type)(void*, int, size_t);
volatile memset_type memset_z = memset;
or
inline void * memset_z(void *ptr, int value, size_t num)
{
volatile char* ptr_vol = const_cast<volatile char*>(static_cast<char*>(ptr));
while(num--)
*(ptr_vol++) = value;
return ptr;
}
The first alternative is faster, as it is just a pointer to memset (and which must always be dereferenced because it is volatile), whereas the second uses a loop.
| memset_z function is optimized out by some compilers | https://api.github.com/repos/weidai11/cryptopp/issues/966/comments | 1 | 2020-09-14T05:27:05Z | 2020-09-15T03:59:23Z | https://github.com/weidai11/cryptopp/issues/966 | 700,772,614 | 966 |
[
"weidai11",
"cryptopp"
] | https://github.com/weidai11/cryptopp/blob/631b7082c33d3cb4246eb4ccb7545f2afd8e2446/config_misc.h#L170-L171
The linked article is quite good, and suggestions are useful.
Though MS itself refuses to make their own library code thouroughly cleaned up, and there are other blogs with articles explaining how to decrease the amount of uninformative diagnostics. Also useful advices, because there could be literally thousands of such lines in Error log.
As an example of my issue, C4191 was disabled in one of the header files, but got re-enabled in `config_misc.h` (not included explicitly), and this created dozens of warnings (MS library templates).
Please consider restricting the scope of enabled warnings to Crypto++ library code.
Possibly, by applying `warning(push)` and `warning(pop)` pragmas and/or by moving enabling pragmas to the headers that would never get included into user's code.
| Scope of enabled compiler warnings | https://api.github.com/repos/weidai11/cryptopp/issues/965/comments | 1 | 2020-09-13T12:21:24Z | 2023-10-02T06:46:41Z | https://github.com/weidai11/cryptopp/issues/965 | 700,559,897 | 965 |
[
"weidai11",
"cryptopp"
] | ### Crypto++ Issue Report
Thanks for taking the time to report an issue. Reporting issues helps us improve stability and reliability for all users, so it is a valuable contribution.
Please do not ask questions in the bug tracker. Please ask questions on the Crypto++ Users List at http://groups.google.com/forum/#!forum/cryptopp-users.
Please _do not_ ask questions at Stack Overflow. We may not be able to answer your question.
There is a wiki page with information on filing useful bug reports. If you have some time please visit http://www.cryptopp.com/wiki/Bug_Report on the wiki. The executive summary is:
* State the operating system and version (Ubutnu 17 x86_64, Windows 7 Professional x64, etc)
* State the version of the Crypto++ library (Crypto++ 7.0, Master, etc)
* State how you built the library (Makefile, Cmake, distro, etc)
* Show a typical command line (the output of the compiler for cryptlib.cpp)
* Show the link command (the output of the linker for libcryptopp.so or cryptest.exe)
* Show the exact error message you are receiving (copy and paste it); or
* Clearly state the undesired behavior (and state the expected behavior)
```cpp
1>C:\cryptopp\seckey.h(39,11): error C2059: syntax error: 'constant'
1>C:\cryptopp\seckey.h(45,2): error C2913: explicit specialization; 'CryptoPP::FixedBlockSize' is not a specialization of a class template
1>C:\cryptopp\seckey.h(63,27): error C2059: syntax error: 'constant'
1>C:\cryptopp\seckey.h(63,58): error C2059: syntax error: 'constant'
1>C:\cryptopp\seckey.h(123,11): error C2059: syntax error: 'constant'
1>C:\cryptopp\seckey.h(154,2): error C2913: explicit specialization; 'CryptoPP::FixedKeyLength' is not a specialization of a class template
1>C:\cryptopp\seckey.h(154,2): fatal error C1903: unable to recover from previous error(s); stopping compilation
```
The errors above happen when including the includes to crypto++ into an project with the latest c++ preview version (aka c++ 20 on MSVC at the moment).
I am compiling on x64 Windows 10 latest insider preview version on the dev channel. I am building the library with latest preview version of vs2019 as well.
I expected that the compile would work as this project used crypto++ sources from back on 5.2.1 and I needed to update it mainly because it does not work *well* with how C++ 20 and changed how exceptions are (removed std::unhandled_exception).
Also why does the library check and see if ``std::unhandled_exceptions() == 0`` on the headers won't it increment when there are unhanled exceptions to catch?
I could just update the files to the 5.2.1 version of crypto++ however I would rather keep it up to date instead if possible. | Compile error on tip of branch master when compiling in c++ 20 mode on MSVC. | https://api.github.com/repos/weidai11/cryptopp/issues/964/comments | 3 | 2020-09-11T05:31:58Z | 2023-10-02T08:25:53Z | https://github.com/weidai11/cryptopp/issues/964 | 698,865,159 | 964 |
[
"weidai11",
"cryptopp"
] | -Linux admired-pod-193.localdomain 4.15.0-109-generic #110-Ubuntu SMP Tue Jun 23 02:39:32 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
-cryptopp-CRYPTOPP_8_1_0
Program terminated with signal SIGABRT, Aborted.
#0 __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:51
51 ../sysdeps/unix/sysv/linux/raise.c: No such file or directory.
[Current thread is 1 (Thread 0x7f41a1263700 (LWP 20417))]
(gdb) bt
#0 __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:51
#1 0x00007f41a2f098b1 in __GI_abort () at abort.c:79
#2 0x00007f41a38fc957 in ?? () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
#3 0x00007f41a3902ae6 in ?? () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
#4 0x00007f41a3902b21 in std::terminate() () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
#5 0x00007f41a3902d54 in __cxa_throw () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
#6 0x0000563d777b558e in CryptoPP::StreamTransformationFilter::LastPut (this=<optimized out>, inString=0x7f4194008450 "\332\344\340A$\033\035N\202j\326\tè\f@", length=<optimized out>) at filters.cpp:839
#7 0x0000563d777b491d in CryptoPP::FilterWithBufferedInput::PutMaybeModifiable (this=0x7f4194007230, inString=<optimized out>, length=<optimized out>, messageEnd=-1, blocking=<optimized out>, modifiable=<optimized out>)
at filters.cpp:431
#8 0x0000563d7772d4ec in CryptoPP::BufferedTransformation::ChannelPut2 (this=0x7f4194007230, channel=..., inString=<optimized out>, length=<optimized out>, messageEnd=<optimized out>, blocking=<optimized out>)
at cryptlib.cpp:468
#9 0x0000563d7772e682 in CryptoPP::BufferedTransformation::ChannelMessageEnd (blocking=true, propagation=<optimized out>, channel="", this=0x7f4194007230) at cryptlib.h:2156
#10 CryptoPP::BufferedTransformation::TransferMessagesTo2 (this=0x7f41a12622b0, target=..., messageCount=@0x7f41a126203c: 0, channel="", blocking=<optimized out>) at cryptlib.cpp:655
#11 0x0000563d7772f151 in CryptoPP::BufferedTransformation::TransferAllTo2 (this=0x7f41a12622b0, target=..., channel="", blocking=<optimized out>) at cryptlib.cpp:696
#12 0x0000563d774a7c0e in CryptoPP::SourceTemplate<CryptoPP::StringStore>::PumpAll2 (this=0x7f41a1262280, blocking=true) at ../third/build/cryptopp/include/filters.h:1378
#13 0x0000563d774a4c04 in CryptoPP::Source::PumpAll (this=0x7f41a1262280) at ../third/build/cryptopp/include/filters.h:1319
#14 0x0000563d774a4c4d in CryptoPP::Source::SourceInitialize (this=0x7f41a1262280, pumpAll=true, parameters=...) at ../third/build/cryptopp/include/filters.h:1354
#15 0x0000563d774a4d0d in CryptoPP::StringSource::StringSource (this=0x7f41a1262280,
string="\304ME\370eB\342\262\001\230!\340\360\262\366V-\253\367+\214\364\261\305\021˿\344\b\313>(Ύ\224toN\227Wz\347\372b\316nJ\327+\316\356a\276o\200&\330\346\324g\306\301\377,\231\310Rꦮ\301\203\241\220))?f\\\267\036\320\030V\262\374\302\017)\203B\263\373\216\261\222\\\200\006\216\030\v\326\313\321\347,x\002O#\372\r\270R\246\333e\305\342\210v\262\225\255 n\315\372\355\071\260i\001#\021\271y\035|\336\324Ϻ\332\344\340A$\033\035N\202j\326\tè\f@", pumpAll=true, attachment=0x7f4194007230) at ../third/build/cryptopp/include/filters.h:1420
#16 0x0000563d774a34ac in ECBSAes::Decrypt (this=0x7f41a12623b0,
strCipher="\304ME\370eB\342\262\001\230!\340\360\262\366V-\253\367+\214\364\261\305\021˿\344\b\313>(Ύ\224toN\227Wz\347\372b\316nJ\327+\316\356a\276o\200&\330\346\324g\306\301\377,\231\310Rꦮ\301\203\241\220))?f\\\267\036\320\030V\262\374\302\017)\203B\263\373\216\261\222\\\200\006\216\030\v\326\313\321\347,x\002O#\372\r\270R\246\333e\305\342\210v\262\225\255 n\315\372\355\071\260i\001#\021\271y\035|\336\324Ϻ\332\344\340A$\033\035N\202j\326\tè\f@") at common/ecbsaes.cc:82
| core occurs when using ECB to decrypt text with another key which is different from the encypt key. | https://api.github.com/repos/weidai11/cryptopp/issues/963/comments | 1 | 2020-09-01T06:19:30Z | 2021-02-03T18:15:41Z | https://github.com/weidai11/cryptopp/issues/963 | 689,850,314 | 963 |
[
"weidai11",
"cryptopp"
] | Platform: ArchLinux (rolling release)
Crypto++ version: master and 8.2.0
Build steps for Crypto++: I tried both the distro version (8.2.0) and build from master (with make)
Example program:
```cpp
#include <cryptopp/files.h>
int main(int argc, char** argv) {
if (argc != 2) {
return 1;
}
CryptoPP::ByteQueue queue{};
CryptoPP::FileSource source{argv[1], true, new CryptoPP::Redirector{queue}};
return 0;
}
```
(The program is based on this question: https://stackoverflow.com/questions/60016795/loading-large-image-file-throws-exception-stdbad-alloc-in-cryptoppfilesource)
Compiled with:
```bash
$ g++ $(pkg-config --cflags --libs libcryptopp) test.cpp
```
The program works when reading a file of size 255 bytes, but it crashes when reading a file of size 256 bytes.
```bash
$ dd if=/dev/random of=testfile_255 bs=1 count=255
$ dd if=/dev/random of=testfile_256 bs=1 count=256
$ ./a.out testfile_255 # works
$ ./a.out testfile_256 # crashes
terminate called after throwing an instance of 'std::bad_alloc'
what(): std::bad_alloc
Aborted (core dumped)
```
Expected behavior: No crash
GDB stack trace:
```gdb
#0 0x00007ffff7ad8615 in raise () from /usr/lib/libc.so.6
#1 0x00007ffff7ac1862 in abort () from /usr/lib/libc.so.6
#2 0x00007ffff7e5a86a in __gnu_cxx::__verbose_terminate_handler () at /build/gcc/src/gcc/libstdc++-v3/libsupc++/vterminate.cc:95
#3 0x00007ffff7e66d9a in __cxxabiv1::__terminate (handler=<optimized out>) at /build/gcc/src/gcc/libstdc++-v3/libsupc++/eh_terminate.cc:48
#4 0x00007ffff7e66e07 in std::terminate () at /build/gcc/src/gcc/libstdc++-v3/libsupc++/eh_terminate.cc:58
#5 0x00007ffff7e670ae in __cxxabiv1::__cxa_throw (obj=<optimized out>, tinfo=0x7ffff7f91ee0 <typeinfo for std::bad_alloc>,
dest=0x7ffff7e65340 <std::bad_alloc::~bad_alloc()>) at /build/gcc/src/gcc/libstdc++-v3/libsupc++/eh_throw.cc:95
#6 0x00005555555b28b3 in CryptoPP::CallNewHandler () at /usr/include/c++/10.2.0/bits/exception.h:63
#7 CryptoPP::CallNewHandler () at allocate.cpp:30
#8 0x00005555555e1853 in CryptoPP::UnalignedAllocate (size=size@entry=18446744073709551359) at allocate.cpp:100
#9 0x000055555569e443 in CryptoPP::AllocatorWithCleanup<unsigned char, false>::allocate (ptr=0x0, size=<optimized out>, this=0x555555738968) at secblock.h:206
#10 CryptoPP::SecBlock<unsigned char, CryptoPP::AllocatorWithCleanup<unsigned char, false> >::SecBlock (size=<optimized out>, this=0x555555738968) at secblock.h:745
#11 CryptoPP::ByteQueueNode::ByteQueueNode (maxSize=<optimized out>, this=0x555555738960) at queue.cpp:20
#12 CryptoPP::ByteQueue::CreatePutSpace (this=0x7fffffffe550, size=@0x7fffffffe360: 18446744073709551359) at queue.cpp:427
#13 0x000055555565e62a in CryptoPP::FilterPutSpaceHelper::HelpCreatePutSpace (bufferSize=<synthetic pointer>: <optimized out>, desiredSize=<optimized out>, minSize=1,
channel="", target=..., this=0x7fffffffe5f0) at filters.h:193
#14 CryptoPP::FileStore::TransferTo2 (this=0x7fffffffe5d0, target=..., transferBytes=@0x7fffffffe3c0: 256, channel="", blocking=<optimized out>) at files.cpp:93
#15 0x00005555555c6fe9 in CryptoPP::BufferedTransformation::TransferMessagesTo2 (blocking=true, channel="", messageCount=@0x7fffffffe41c: 0, target=...,
this=0x7fffffffe5d0) at cryptlib.cpp:652
#16 CryptoPP::BufferedTransformation::TransferMessagesTo2 (this=0x7fffffffe5d0, target=..., messageCount=@0x7fffffffe41c: 0, channel="", blocking=<optimized out>)
at cryptlib.cpp:636
#17 0x00005555555c7274 in CryptoPP::BufferedTransformation::TransferAllTo2 (blocking=<optimized out>, channel=..., target=..., this=<optimized out>) at cryptlib.cpp:698
#18 CryptoPP::BufferedTransformation::TransferAllTo2 (this=0x7fffffffe5d0, target=..., channel="", blocking=<optimized out>) at cryptlib.cpp:686
#19 0x00005555555c4d32 in CryptoPP::SourceTemplate<CryptoPP::FileStore>::PumpAll2(bool) () at cryptlib.h:321
#20 0x00005555555c3b1a in CryptoPP::Source::PumpAll() () at cryptlib.h:321
#21 0x00005555555c3b63 in CryptoPP::Source::SourceInitialize(bool, CryptoPP::NameValuePairs const&) () at cryptlib.h:321
#22 0x00005555555c3d24 in CryptoPP::FileSource::FileSource(char const*, bool, CryptoPP::BufferedTransformation*, bool) () at cryptlib.h:321
#23 0x00005555555c238c in main () at cryptlib.h:321
```
Same runs with some debug output in crypto++:
```bash
$ ./a.out testfile_255
UnalignedAllocate 8
UnalignedAllocate 256
BufferedTransformation::TransferMessagesTo2 4294967295
FileStore::TransferTo2 18446744073709551615
HelpCreatePutSpace 18446744073709551615
BufferedTransformation::TransferMessagesTo2 4294967295
FileStore::TransferTo2 18446744073709551615
$ ./a.out testfile_256
UnalignedAllocate 8
UnalignedAllocate 256
BufferedTransformation::TransferMessagesTo2 4294967295
FileStore::TransferTo2 18446744073709551615
HelpCreatePutSpace 18446744073709551615
HelpCreatePutSpace 18446744073709551359
UnalignedAllocate 18446744073709551359
terminate called after throwing an instance of 'std::bad_alloc'
what(): std::bad_alloc
Aborted (core dumped)
``` | std::bad_alloc when reading file of size >255 bytes | https://api.github.com/repos/weidai11/cryptopp/issues/962/comments | 3 | 2020-08-25T17:54:53Z | 2020-12-20T00:50:08Z | https://github.com/weidai11/cryptopp/issues/962 | 685,678,964 | 962 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.