Skip to content

Commit

Permalink
Change Binding formalizations, update all proofs accordingly, add mis…
Browse files Browse the repository at this point in the history
…sing proof in binding hierarchy, and formalize KEM ROM theory.
  • Loading branch information
MM45 committed Nov 21, 2024
1 parent 905db74 commit 4069fbb
Show file tree
Hide file tree
Showing 7 changed files with 3,593 additions and 163 deletions.
20 changes: 19 additions & 1 deletion proofs/FO_KEM.eca
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
require import AllCore.
require KeyEncapsulationMechanisms PublicKeyEncryption.
require PublicKeyEncryptionROM.



(* Types *)
Expand All @@ -12,10 +14,26 @@ type sk_t.
(** Shared/session keys (symmetric) **)
type key_t.

(** Plaintexts **)
type ptxt_t = key_t.

(** Ciphertexts/Encapsulations **)
type ctxt_t.

(** Randomness **)
type rand_t.


(* Clones and imports *)
(** Import basic PKE and KEM definitions **)
clone import PublicKeyEncryption as PKE.
clone import PublicKeyEncryptionROM as PKEROM with
type pk_t <- pk_t,
type sk_t <- sk_t,
type ptxt_t <- ptxt_t,
type ctxt_t <- ctxt_t,

type in_t <- ptxt_t,
type out_t <- rand_t.

import PKE F_RO.
import DeltaCorrectROM.
Loading

0 comments on commit 4069fbb

Please sign in to comment.