Skip to content

d3k4z/kyber512wasm

Repository files navigation

PQ Kyber port to Web Assembly

So you like NIST's PQ crypto finalists a?

Requirements

  • emsdk (emscripten.org)
  • OpenSSL port to WebAssembly wasmOpenSSL or use the statically compiled ones in ./libs

Usage

... still in progress ...

Use the makefile while editing paths to EMC compiler (EMCC=?)

Statically compiled libcrypto and libssl can be found in ./libs and needs to be copied to {path_to_emsdk}/upstream/emscripten/system/lib

Demo

node --experimental-wasm-threads build/test.js
nnode --experimental-wasm-threads build/demo.js

Compilation Security

-s DYNAMIC_EXECUTION=0

Releases

No releases published

Packages

No packages published