Skip to content

Latest commit

 

History

History
31 lines (24 loc) · 1.06 KB

README.md

File metadata and controls

31 lines (24 loc) · 1.06 KB

Build Status

AArch64 implementation of Chinese SM3 Cryptographic Hash Algorithm. ch, en.

implementation

  • message extension : Armv8 Neon.
  • compression function : A64.

build

$ 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

option

-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.

license

Apache 2.0