Skip to content

rpruizc/pqcrypto_wasm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

PQCrypto for WASM

The Post-Quantum Standarization competition has reached its third round. Few algorithms are left as finalists to be standardized and real-world implementations are emerging. In this project, I want to broaden the field of implementations.

WebAssembly (WASM) is a portable binary-code format for executable programs including a textual representation for programs.

The main goal of WASM is to enable high-performance applications on web pages, but the format is designed to be executed and integrated in other environments as well, including standalone ones.

The idea is to take PQCRYPTO algorithm implementations (e.g. Kyber or Saber) and compile them for WASM targets.

Besides potential non-optimality of compiler output, security issues such as random number generation need to be considered and evaluated. The second step is thus an evaluation of the status quo of WASM runtimes.

Depending on my advance, I may shift the focus to optimization (w.r.t. memory or runtime) or recommendations to increase security in the WASM runtime.

Goals and Tasks

  • Compile rust/wat implementations to WASM
  • Verify correctness in browser setup
  • Optimize or evaluate security in WASM

About

Kyber and Saber implementations for WASM

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published