simon-speck-c
simon-speck-c copied to clipboard
example C language implementation of SIMON and SPECK lightweight block ciphers.
- rpm - deb - ...
# problem Currently in simon-speck-c version, counter range of ctr mode is 128. - NICT requests GCM specification is counter range is 32. - `ctr128_inc` is too slow. # modify...
# prepare ``` cd $HOME curl -O 'https://s3.amazonaws.com/mozilla-games/emscripten/releases/emsdk -portable.tar.gz' tar xvf emsdk-portable.tar.gz pushd emsdk-portable ./emsdk update ./emsdk install sdk-1.37.3 ./emsdk activate emscripten-1.37.3 ./emsdk activate clang-e1.37.3-64bit source ./emsdk_env.sh popd ``` #...
- Speck 32/64 - Speck 64/128
- [ ] X86(SSE)(low priority) - Android - iOS simulator - windows - linux # reference https://github.com/lrwinge/simon_speck_supercop
# TODO - [x] output llvm bitcode static library - [ ] output javascript file. - [ ] unit test - [ ] llvm bitcode - [ ] javascript -...
implement block cipher and stream of Simon.