AArch64 implementation of Chinese SM3 Cryptographic Hash Algorithm. ch, en.
- message extension : Armv8 Neon.
- compression function : A64.
$ mkdir build
$ cd build
$ cmake ..
$ make -j
$ make test
cross compile:
$ mkdir build
$ cd build
$ cmake -DCMAKE_TOOLCHAIN_FILE=../aarch64-linux-gcc.cmake ..
$ make -j
-DCMAKE_BUILD_TYPE : possible values are empty, Debug, Release, RelWithDebInfo and MinSizeRel, default is Release.
-DCMAKE_INSTALL_PREFIX : where to install fp256 library, default is /usr/local.
-DBUILD_STATIC : build static library, default is ON.
-DBUILD_SHARED : build shared library, default is ON.
-DUSE_ASAN : use AddressSanitizer, default is OFF.
Apache 2.0