add cryptsetup

This commit is contained in:
longpanda 2021-08-30 10:54:16 +08:00
parent d71514f23e
commit 1a2a35f5bc
3 changed files with 9 additions and 0 deletions

View File

@ -0,0 +1,9 @@
1. source code: https://mirrors.edge.kernel.org/pub/linux/utils/cryptsetup/v1.7/
2. Use a system with /lib64/libgcrypt.so.20 (Ubuntu)
./configure --enable-static
make -j 16
cd src
gcc -Wall -O2 -o veritysetup veritysetup-utils_crypt.o veritysetup-utils_loop.o veritysetup-utils_tools.o veritysetup-veritysetup.o -lpopt -ldevmapper -lgcrypt -luuid .././lib/.libs/libcryptsetup.a
strip --strip-all veritysetup

BIN
cryptsetup/veritysetup32 Normal file

Binary file not shown.

BIN
cryptsetup/veritysetup64 Normal file

Binary file not shown.