下载最新版 https://www.cryptopp.com/#download
编译安装:
#下载Cryptopp源码
git clone https://gitee.com/PaddleGitee/cryptopp.git
进入文件夹
cd cryptopp
编译,多cpu处理
make -j8
安装,默认路径:/usr/local
sudo make install
1
2
3
4
5
6
7
8
9
安装完成提示 - 安装位置/usr/local:
cp .h /usr/local/include/cryptopp
chmod u=rw,go=r /usr/local/include/cryptopp/.h
cp libcryptopp.a /usr/local/lib
chmod u=rw,go=r /usr/local/lib/libcryptopp.a
cp cryptest.exe /usr/local/bin
chmod u=rwx,go=rx /usr/local/bin/cryptest.exe
cp TestData/.dat /usr/local/share/cryptopp/TestData
chmod u=rw,go=r /usr/local/share/cryptopp/TestData/.dat
cp TestVectors/.txt /usr/local/share/cryptopp/TestVectors
chmod u=rw,go=r /usr/local/share/cryptopp/TestVectors/.txt