硬件加速McEliece加密系统
基于CUDA的实现
如何构建和运行:
首先构建软件:
$ mkdir -p build_dir && cd build_dir
$ cmake ../src/
$ make
然后运行测试程序:
$ ./hamc -c -a test -n 2 -p 500 -t 10 -w 30
基于CPU的执行:
HAMC/Varad0612-C-Implementation$ make && ./run
Starting Encryption...
Input seed or -1 to use default seed: -1
MDPC code generated....
Time for H: 0.037965
Construction of G started...
Time for G: 6.039283
Generator matrix gene
1