@@ -39,12 +39,12 @@ pub enum ProofType {
3939 C3aSkShareEncryption = 4 ,
4040 /// C3b — Smudging noise share encryption proof (Proof 3b).
4141 C3bESmShareEncryption = 5 ,
42- /// T2 — DKG share decryption proof (Proof 4).
43- T2DkgShareDecryption = 6 ,
44- /// T5 — Threshold share decryption proof (Proof 6).
45- T5ShareDecryption = 7 ,
46- /// T6 — Decrypted shares aggregation proof (Proof 7).
47- T6DecryptedSharesAggregation = 8 ,
42+ /// C4 — DKG share decryption proof (Proof 4).
43+ C4DkgShareDecryption = 6 ,
44+ /// C6 — Threshold share decryption proof (Proof 6).
45+ C6ThresholdShareDecryption = 7 ,
46+ /// C7 — Decrypted shares aggregation proof (Proof 7).
47+ C7DecryptedSharesAggregation = 8 ,
4848 /// C5 — Public key aggregation proof (Proof 5).
4949 C5PkAggregation = 9 ,
5050}
@@ -59,9 +59,9 @@ impl ProofType {
5959 ProofType :: C2bESmShareComputation => vec ! [ CircuitName :: ESmShareComputation ] ,
6060 ProofType :: C3aSkShareEncryption => vec ! [ CircuitName :: ShareEncryption ] ,
6161 ProofType :: C3bESmShareEncryption => vec ! [ CircuitName :: ShareEncryption ] ,
62- ProofType :: T2DkgShareDecryption => vec ! [ CircuitName :: DkgShareDecryption ] ,
63- ProofType :: T5ShareDecryption => vec ! [ CircuitName :: ThresholdShareDecryption ] ,
64- ProofType :: T6DecryptedSharesAggregation => vec ! [
62+ ProofType :: C4DkgShareDecryption => vec ! [ CircuitName :: DkgShareDecryption ] ,
63+ ProofType :: C6ThresholdShareDecryption => vec ! [ CircuitName :: ThresholdShareDecryption ] ,
64+ ProofType :: C7DecryptedSharesAggregation => vec ! [
6565 CircuitName :: DecryptedSharesAggregationBn ,
6666 CircuitName :: DecryptedSharesAggregationMod ,
6767 ] ,
@@ -78,9 +78,9 @@ impl ProofType {
7878 | ProofType :: C2bESmShareComputation
7979 | ProofType :: C3aSkShareEncryption
8080 | ProofType :: C3bESmShareEncryption
81- | ProofType :: T2DkgShareDecryption => "E3_BAD_DKG_PROOF" ,
82- ProofType :: T5ShareDecryption => "E3_BAD_DECRYPTION_PROOF" ,
83- ProofType :: T6DecryptedSharesAggregation => "E3_BAD_AGGREGATION_PROOF" ,
81+ | ProofType :: C4DkgShareDecryption => "E3_BAD_DKG_PROOF" ,
82+ ProofType :: C6ThresholdShareDecryption => "E3_BAD_DECRYPTION_PROOF" ,
83+ ProofType :: C7DecryptedSharesAggregation => "E3_BAD_AGGREGATION_PROOF" ,
8484 ProofType :: C5PkAggregation => "E3_BAD_PK_AGGREGATION_PROOF" ,
8585 }
8686 }
@@ -392,15 +392,15 @@ mod tests {
392392 vec![ CircuitName :: ShareEncryption ]
393393 ) ;
394394 assert_eq ! (
395- ProofType :: T2DkgShareDecryption . circuit_names( ) ,
395+ ProofType :: C4DkgShareDecryption . circuit_names( ) ,
396396 vec![ CircuitName :: DkgShareDecryption ]
397397 ) ;
398398 assert_eq ! (
399- ProofType :: T5ShareDecryption . circuit_names( ) ,
399+ ProofType :: C6ThresholdShareDecryption . circuit_names( ) ,
400400 vec![ CircuitName :: ThresholdShareDecryption ]
401401 ) ;
402402 assert_eq ! (
403- ProofType :: T6DecryptedSharesAggregation . circuit_names( ) ,
403+ ProofType :: C7DecryptedSharesAggregation . circuit_names( ) ,
404404 vec![
405405 CircuitName :: DecryptedSharesAggregationBn ,
406406 CircuitName :: DecryptedSharesAggregationMod ,
0 commit comments