Skip to content

piggypiggy/sm3-aarch64

Folders and files

NameName
Last commit message
Last commit date

Latest commit

3cfebea · Feb 22, 2021

History

14 Commits
Dec 28, 2020
Dec 28, 2020
Jan 10, 2021
Dec 28, 2020
Jan 10, 2021
Jan 10, 2021
Dec 28, 2020
Jan 10, 2021
Jan 1, 2021
Jan 1, 2021
Feb 22, 2021
Jan 10, 2021
Jan 10, 2021
Jan 10, 2021
Jan 1, 2021
Jan 1, 2021
Jan 1, 2021

Repository files navigation

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

Releases

No releases published

Packages

No packages published