fact: Definition MOD_CPA_ff_pkg : package MOD_CPA_location [interface #val #[i0] : 'word → 'key] [interface #val #[i1] : 'word → 'word × 'word ]:= [package #def #[i1] (m : 'word) : 'word × 'word { #import {sig #[i0] : 'word → 'key } as eval ;; r ← sample uniform i_words ;; m' ← sample uniform i_words ;; pad ← eval r ;; let c := (m' ⊕ pad) in ret (r, c) } ].
imports: Relational(OrderEnrichedCategory GenericRulesSimple) mathcomp(all_ssreflect all_algebra reals distr realsum ssrnat ssreflect ssrfun ssrbool ssrnum eqtype choice seq) Mon(SPropBase) Crypt(Axioms ChoiceAsOrd SubDistr Couplings UniformDistrLemmas FreeProbProg Theta_dens RulesStateProb pkg_core_definition choice_type pkg_composition pkg_rhl Package Prelude) Coq(Utf8) extructures(ord fset fmap) Equations(Equations)