Skip to content

ronnyws/PQCleanRust

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PQClean c2rust

This directory contains support for the reimplementation of the PQClean code from C into Rust. This reimplementation can be more of a transliteration, because of the following characteristics of the PQClean code:

  • It only allocates memory on the stack;
  • The sizes of the stack allocations are known at compile-time;
  • It uses a limited number of types (integers and arrays of integers);
  • The functions have no side effects.

Reimplementation plan.

This is action plan for the reimplementation.

Transliteration function by function.

  • The original code is left untouched;
  • The output of the C function and Rust function is compared for equality;

Questions

Bounds checks

When are these removed?

Rust environment

Which Rust version to aim for?

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published