@@ -274,7 +274,7 @@ impl<'t, 'g> Prover<'t, 'g> {
274274
275275 // Add the commitment to the transcript.
276276 let V = self . pc_gens . commit ( v, v_blinding) . compress ( ) ;
277- self . transcript . commit_point ( b"V" , & V ) ;
277+ self . transcript . append_point ( b"V" , & V ) ;
278278
279279 ( V , Variable :: Committed ( i) )
280280 }
@@ -377,7 +377,7 @@ impl<'t, 'g> Prover<'t, 'g> {
377377 // We cannot do this in advance because user can commit variables one-by-one,
378378 // but this suffix provides safe disambiguation because each variable
379379 // is prefixed with a separate label.
380- self . transcript . commit_u64 ( b"m" , self . v . len ( ) as u64 ) ;
380+ self . transcript . append_u64 ( b"m" , self . v . len ( ) as u64 ) ;
381381
382382 // Create a `TranscriptRng` from the high-level witness data
383383 //
@@ -397,7 +397,7 @@ impl<'t, 'g> Prover<'t, 'g> {
397397
398398 // Commit the blinding factors for the input wires
399399 for v_b in & self . v_blinding {
400- builder = builder. commit_witness_bytes ( b"v_blinding" , v_b. as_bytes ( ) ) ;
400+ builder = builder. rekey_with_witness_bytes ( b"v_blinding" , v_b. as_bytes ( ) ) ;
401401 }
402402
403403 use rand:: thread_rng;
@@ -450,9 +450,9 @@ impl<'t, 'g> Prover<'t, 'g> {
450450 )
451451 . compress ( ) ;
452452
453- self . transcript . commit_point ( b"A_I1" , & A_I1 ) ;
454- self . transcript . commit_point ( b"A_O1" , & A_O1 ) ;
455- self . transcript . commit_point ( b"S1" , & S1 ) ;
453+ self . transcript . append_point ( b"A_I1" , & A_I1 ) ;
454+ self . transcript . append_point ( b"A_O1" , & A_O1 ) ;
455+ self . transcript . append_point ( b"S1" , & S1 ) ;
456456
457457 // Process the remaining constraints.
458458 self = self . create_randomized_constraints ( ) ?;
@@ -527,9 +527,9 @@ impl<'t, 'g> Prover<'t, 'g> {
527527 )
528528 } ;
529529
530- self . transcript . commit_point ( b"A_I2" , & A_I2 ) ;
531- self . transcript . commit_point ( b"A_O2" , & A_O2 ) ;
532- self . transcript . commit_point ( b"S2" , & S2 ) ;
530+ self . transcript . append_point ( b"A_I2" , & A_I2 ) ;
531+ self . transcript . append_point ( b"A_O2" , & A_O2 ) ;
532+ self . transcript . append_point ( b"S2" , & S2 ) ;
533533
534534 // 4. Compute blinded vector polynomials l(x) and r(x)
535535
@@ -582,11 +582,11 @@ impl<'t, 'g> Prover<'t, 'g> {
582582 let T_5 = self . pc_gens . commit ( t_poly. t5 , t_5_blinding) . compress ( ) ;
583583 let T_6 = self . pc_gens . commit ( t_poly. t6 , t_6_blinding) . compress ( ) ;
584584
585- self . transcript . commit_point ( b"T_1" , & T_1 ) ;
586- self . transcript . commit_point ( b"T_3" , & T_3 ) ;
587- self . transcript . commit_point ( b"T_4" , & T_4 ) ;
588- self . transcript . commit_point ( b"T_5" , & T_5 ) ;
589- self . transcript . commit_point ( b"T_6" , & T_6 ) ;
585+ self . transcript . append_point ( b"T_1" , & T_1 ) ;
586+ self . transcript . append_point ( b"T_3" , & T_3 ) ;
587+ self . transcript . append_point ( b"T_4" , & T_4 ) ;
588+ self . transcript . append_point ( b"T_5" , & T_5 ) ;
589+ self . transcript . append_point ( b"T_6" , & T_6 ) ;
590590
591591 let u = self . transcript . challenge_scalar ( b"u" ) ;
592592 let x = self . transcript . challenge_scalar ( b"x" ) ;
@@ -628,10 +628,10 @@ impl<'t, 'g> Prover<'t, 'g> {
628628
629629 let e_blinding = x * ( i_blinding + x * ( o_blinding + x * s_blinding) ) ;
630630
631- self . transcript . commit_scalar ( b"t_x" , & t_x) ;
631+ self . transcript . append_scalar ( b"t_x" , & t_x) ;
632632 self . transcript
633- . commit_scalar ( b"t_x_blinding" , & t_x_blinding) ;
634- self . transcript . commit_scalar ( b"e_blinding" , & e_blinding) ;
633+ . append_scalar ( b"t_x_blinding" , & t_x_blinding) ;
634+ self . transcript . append_scalar ( b"e_blinding" , & e_blinding) ;
635635
636636 // Get a challenge value to combine statements for the IPP
637637 let w = self . transcript . challenge_scalar ( b"w" ) ;
0 commit comments