mirror of
https://github.com/zama-ai/tfhe-rs.git
synced 2026-01-09 22:57:59 -05:00
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:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user