Coder Social home page Coder Social logo

dfirsov / easycrypt-multiple-time-blt-signature Goto Github PK

View Code? Open in Web Editor NEW
0.0 2.0 0.0 36 KB

Verified Multiple-Time Signature Scheme from One-Time Signatures and Timestamping

eC 99.37% Shell 0.63%
cryptography digital-signature formal-methods formal-verification timestamping easycrypt

easycrypt-multiple-time-blt-signature's Introduction

Verified Multiple-Time Signature Scheme from One-Time Signatures and Timestamping

This repository contains the EasyCrypt code associated with the paper "D. Firsov, H. Lakk, A. Truu. Verified Multiple-Time Signature Scheme from One-Time Signatures and Timestamping".

Contents

  • Timestamp.ec - ideal model of backdating resistant timestamping.
  • OTS.ec - Abstract definitions related to one-time signature schemes.
    • OTS/Lamport.ec - Introduction to Easycrypt: Implementation and the security proof of the one-bit Lamport signature.
    • OTS/OTSM.ec - Auxiliary scheme where M one-time keypairs are generated and adversary wins if they manage to forge a signature for at least one of the keypair.
    • OTS/OTSM2OTS.ec - The lemma "otsm2otsUB" relates the probability of success in OTSM game to the success in OTS game.
  • Tags.ec - Abstract definitions related to multiple-time tag-systems.
    • Tags/MultipleTimeConstruction.ec - The implementation of stateless multiple-time tag system from one-time signatures (motivated by "authentication trees" of Merkle and Goldreich). The lemma "multTagsCorrect" proves that for valid keypairs the tag verification agrees with tag generation.
    • Tags/ForwardResistance_Independent_Keys.ec - The lemma "fr2otsUB" proves that the forward-resistance of the implemented multiple-time tag system with independently generated keypairs is upper bounded by existential unforgeability of the underlying one-time signatures scaled by M.
    • Tags/ForwardResistance_PRF_Keys.ec - The lemma "fr2otsAndPRFUB" proves that the forward-resistance of the implemented multiple-time tag system with PRF induced keypairs is upper bounded by existential unforgeability of the underlying one-time signatures scaled by M plus the indistinguishability of the PRF.
  • BLT.ec - The implementation of multiple-time BLT signature scheme parameterized by timestamping repository and multiple-time tag system.
    • BLT/BLT2FR.ec - The lemma "blt2frUB" shows that the existential unforgeability of the multiple-time BLT scheme is upper bounded by multiple-time forward-resistance of the underlying tag system.
  • KeyGen.ec - module type of secret key generators
    • KeyGen/TagKeysEff.ec - The lazy (efficient) PRF based key generation is equivalent to the eager PRF based key generation.
    • KeyGen/OTSMKeys.ec - resampling keys in the table randomly sampled table does not change the distribution of the key table.
  • Hash.ec - hash function and the pre-image resistance game
  • BasicProps.ec - basic frequently used properties and functions
  • PRF/ - the EasyCrypt stdlib definitions of PRF.

Setup

  • For this project we used the version of EasyCrypt (1.0) theorem prover with GIT hash: r2022.04-48-gc8d3d6c1.

  • EasyCrypt was configured with support from the following SMT solvers: [email protected], [email protected], [email protected], [email protected].

  • To check the development run: $> cd DEVELOPMENT_FOLDER $> bash checkall

  • If you want to typecheck this code in Emacs then you must update your load path. Make sure your ~/.emacs file contains the following load paths:

    '(easycrypt-load-path
     (quote
      ( "DEVELOPMENT_PATH/KeyGen" 
        "DEVELOPMENT_PATH/OTS"
        "DEVELOPMENT_PATH/BLT"
        "DEVELOPMENT_PATH/PRF"
        "DEVELOPMENT_PATH/Tags")))
    

easycrypt-multiple-time-blt-signature's People

Contributors

dfirsov avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.