Skip to content
This repository was archived by the owner on Jan 15, 2025. It is now read-only.

Areedtz/st2rs

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

109 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

From session types to Rust and ProVerif

In this project, we create a translation between Security Session Types, ProVerif syntax and Rust-code. We take advantage of session types for communication and describe the behaviour of each participant. In this project, we extend Security Session Types further and introduce a translation to the Rust programming language and ProVerif syntax. The protocol itself will be translated into runnable Rust code while symbolic functions will be compiled to unimplemented functions, that the developer will then have to take care of implementing. The ProVerif syntax will be translated into a runnable file, that will be able to execute the queries in the .sst file, and a developer will be able to extend on it with more queries if needed.

Building

It's as simple as running make. This will output a binary named main.native.

$ make

Usage

Usage: ./main.native <FILE> [COMMAND] 

Commands:
    rust        Compiles the given .sst file to rust syntax (default option)
    proverif    Compiles the given .sst file to proverif syntax

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • OCaml 99.8%
  • Makefile 0.2%