Exact bridges for the serialized GSW algorithms #
The executable word algorithms agree with the typed modular formulas, for every serialized input under the specified total decoders. The equalities do not require a noise bound or a security assumption. Composition with the exact sampling laws retains the complete joint key distribution and the encryption distribution.
Main results #
publicMatrixSerialized_eq,encryptWithCoinsSerialized_eq: exact deterministic bridges.eval_keyGenSerialized,eval_encryptSerialized: exact probabilistic bridges.
References #
The binary signed-remainder computation returns the canonical leading public residue.
The total public-key computation is exactly the typed public matrix of the decoded inputs.
The total secret computation agrees with the same padded and modularly normalized inputs.
A computed ciphertext entry is the canonical residue of the actual modular formula.
All bits of the total ciphertext computation agree with encryption of the decoded inputs.
Canonical sampled inputs produce exactly the original typed public key.
Canonical sampled inputs produce exactly the original typed secret key.
Serialization commutes with the actual typed encryption on canonical inputs.
Every arbitrary input produces the complete declared public word.
Secret normalization retains exactly the declared number of residue bits.
Encryption writes every bit of its square ciphertext, on arbitrary input words and coins.
The efficient key sampler retains the typed construction's complete public/secret joint law.
The efficient encryption sampler agrees with typed encryption of every decoded public word.
Canonical public words have the exact original typed encryption distribution.