Revision 9e114126d5961fa73a21372b8a44f64723d79242 authored by François Dupressoir on 16 January 2020, 20:48:25 UTC, committed by François Dupressoir on 16 January 2020, 20:48:25 UTC
This pushes several complex low-level arguments related to sampling in restricted distributions into the related distribution file. This also generalizes these arguments, so that: - TwoStepSampling no longer requires a full distribution, - WhileSampling takes distributions and tests as procedure arguments rather than clone parameters. Specialized versions of theories and lemmas that reproduce the old behaviours are also included. The Dice_Sampling theory is removed, replaced with Dexcepted.WhileSamplingFixedTest (an abstract theory). Squashed commit of the following: commit e4bf1725f2a327bc58dda51d0079acb8dbb8fb1a Author: François Dupressoir <fdupress@gmail.com> Date: Thu Jan 16 20:40:23 2020 +0000 trailing white space in modified files commit 12d5ff0ae8607be10f7e925d1f0d44dd8e78dbde Author: François Dupressoir <fdupress@gmail.com> Date: Thu Dec 19 15:49:41 2019 +0000 minor cleanup commit 7921a24e13e9f6d19ad02c0a22e8efb49bc37184 Author: François Dupressoir <fdupress@gmail.com> Date: Thu Dec 19 13:47:19 2019 +0000 More general ways of sampling out of a predicate TwoStep no longer requires losslessness. More sharing of proof could be obtained commit 393700f85b47b9d373be983b1451b08ae3d3be94 Author: François Dupressoir <fdupress@gmail.com> Date: Thu Dec 5 21:40:16 2019 +0000 PRP<->PRF uses generic resampling commit 74b9aef924cc313e358510ab9f83bc7410489db4 Author: François Dupressoir <fdupress@gmail.com> Date: Thu Dec 5 21:27:12 2019 +0000 Slight generalization: no longer need a full distribution commit 0853fc0e313bb6adac0ad956417480ebd70f512f Author: François Dupressoir <fdupress@gmail.com> Date: Thu Dec 5 18:34:43 2019 +0000 Dexcepted: equivalence between two ways of sampling used in PRP<->PRF, but also in a current proof TODO: make PRP<->PRF use this
1 parent cd341ca
File | Mode | Size |
---|---|---|
MEE-CBC | ||
cramer-shoup | ||
incomplete | ||
old | ||
plug-and-pray | ||
prg-tutorial | ||
to-port | ||
Dice4_6.ec | -rw-r--r-- | 2.8 KB |
FundamentalLemma.ec | -rw-r--r-- | 2.1 KB |
PIR.ec | -rw-r--r-- | 12.8 KB |
PRG.ec | -rw-r--r-- | 17.0 KB |
Pedersen.ec | -rw-r--r-- | 5.2 KB |
SchnorrPK.ec | -rw-r--r-- | 5.0 KB |
Upto.ec | -rw-r--r-- | 5.1 KB |
WhileSampling.ec | -rw-r--r-- | 702 bytes |
async-while.ec | -rw-r--r-- | 1.8 KB |
br93.ec | -rw-r--r-- | 20.7 KB |
elgamal.ec | -rw-r--r-- | 3.1 KB |
hashed_elgamal_generic.ec | -rw-r--r-- | 9.7 KB |
hashed_elgamal_std.ec | -rw-r--r-- | 4.6 KB |
vonNeumann.eca | -rw-r--r-- | 3.3 KB |
Computing file changes ...