Parallel composition of uniform strict-PPT pseudorandom generators #
Given a bitstring generator generator : List Bool → List Bool, a repetition count count, and a
block width width, parallelGenerator generator count width seed splits seed into count
blocks of length width, evaluates generator on each block, and concatenates the outputs
([BS23], §3.4.1).
Differences from [BS23], Theorem 3.2 (pp. 54–59):
- Security (
computationallyIndistinguishable_parallelGenerator) is stated on the output ensemble overcount nindependentn-bit seeds(BitString.uniformList (count n * n)).map (parallelGenerator generator (count n) n)rather than bundled as aPseudorandomGenerator:PseudorandomGeneratorindexes security by the total seed length, and a flat seed of lengthcount n * ndoes not uniquely determinen. - All
count nseeds share the security parameter lengthn. - The repetition parameter
countis required to be computable in deterministic polynomial time in unary (ComputableInPolyTime count encUnary encUnary), matching the book's poly-bounded requirement and inherited fromComputationallyIndistinguishable.replicate_bind. - Rather than instantiating a fresh
Bthat drawsωuniformly from{1, ..., count n},computationallyIndistinguishable_parallelGeneratordelegates directly toComputationallyIndistinguishable.replicate_bind, whose certifiedsequenceTestreduction samples from a padded dyadic range and incurs lossdyadicSize (count n)(withcount n + 1 ≤ dyadicSize (count n) ≤ 2 * (count n + 1)bylt_dyadicSizeanddyadicSize_le;Sequence.sequenceTest_advantage). - The expansion hypothesis
hG.stretch(∀ n, n < length n) ofPseudorandomGeneratoris not needed by the computational indistinguishability proof.
Main definitions #
Cslib.Crypto.parallelGenerator:count-wise parallel composition on bit-list seeds of widthwidth.
Main results #
Cslib.Crypto.computableInPolyTime_parallelGenerator: deterministic polynomial-time efficiency certificate forparallelGenerator.Cslib.Crypto.length_parallelGenerator: output lengthcount * length widthwhengeneratormaps every word to lengthlength word.length.Cslib.Crypto.computationallyIndistinguishable_parallelGenerator: [BS23], Theorem 3.2 for uniform strict-PPT generators.
References #
- [BS23] Dan Boneh and Victor Shoup, A Graduate Course in Applied Cryptography, v0.6, §3.4.1, Theorem 3.2 (pp. 54–59).
count-wise parallel composition of a bitstring generator generator on blocks of width
width: split seed into count rows of length width, apply generator to each row, and
concatenate the outputs ([BS23], §3.4.1).
Polynomial-time efficiency certificate for parallelGenerator: if generator is deterministic
polynomial-time on bitstrings and count, width, seed are polynomial-time in input, then
parallelGenerator generator (count a) (width a) (seed a) is deterministic polynomial-time.
Boneh–Shoup Theorem 3.2 (uniform strict-PPT word layer, pp. 54–59): if generator is a
PseudorandomGenerator with output length length and count is a unary polynomial-time copy
count, then applying generator to count n independent uniform n-bit seeds and concatenating
the outputs is computationally indistinguishable from BitString.uniformList (count n * length n).
Delegates the PPT hybrid reduction (sequenceTest, loss dyadicSize (count n)) and its
isPPTOn_sequenceTest certificate to ComputationallyIndistinguishable.replicate_bind.