chore(shortint): update default parameters

The default parameters are now offering a security level of 132
bits and uses a p-fail of 2**-64.
This commit is contained in:
David Testé
2024-06-12 13:57:21 +02:00
committed by David Testé
parent ddf236ecbb
commit 179fbfc9bb
50 changed files with 1329 additions and 14885 deletions

View File

@@ -240,7 +240,7 @@ async function compressedCompactPublicKeyTest256BitOnConfig(config) {
async function compactPublicKeyZeroKnowledge() {
let block_params = new ShortintParameters(
ShortintParametersName.PARAM_MESSAGE_2_CARRY_2_COMPACT_PK_KS_PBS_TUNIFORM_2M40,
ShortintParametersName.PARAM_MESSAGE_2_CARRY_2_COMPACT_PK_KS_PBS_TUNIFORM_2M64,
);
let config = TfheConfigBuilder.default()
@@ -492,7 +492,7 @@ async function compressedServerKeyBenchMessage2Carry2() {
async function compactPublicKeyZeroKnowledgeBench() {
let block_params = new ShortintParameters(
ShortintParametersName.PARAM_MESSAGE_2_CARRY_2_COMPACT_PK_KS_PBS_TUNIFORM_2M40,
ShortintParametersName.PARAM_MESSAGE_2_CARRY_2_COMPACT_PK_KS_PBS_TUNIFORM_2M64,
);
let config = TfheConfigBuilder.default()