diff --git a/src/vdaf/poplar1.rs b/src/vdaf/poplar1.rs index 70c572db..df5da34b 100644 --- a/src/vdaf/poplar1.rs +++ b/src/vdaf/poplar1.rs @@ -855,7 +855,7 @@ impl, const SEED_SIZE: usize> Vdaf for Poplar1 { type AggregateShare = Poplar1FieldVec; fn algorithm_id(&self) -> u32 { - 0x00001000 + 0x00000006 } fn num_aggregators(&self) -> usize { diff --git a/src/vdaf/prio3.rs b/src/vdaf/prio3.rs index 3936730e..e38d91d6 100644 --- a/src/vdaf/prio3.rs +++ b/src/vdaf/prio3.rs @@ -78,7 +78,7 @@ pub type Prio3Count = Prio3, XofTurboShake128, 16>; impl Prio3Count { /// Construct an instance of Prio3Count with the given number of aggregators. pub fn new_count(num_aggregators: u8) -> Result { - Prio3::new(num_aggregators, 1, 0x00000000, Count::new()) + Prio3::new(num_aggregators, 1, 0x00000001, Count::new()) } } @@ -100,7 +100,7 @@ impl Prio3SumVec { Prio3::new( num_aggregators, 1, - 0x00000002, + 0x00000003, SumVec::new(bits, len, chunk_length)?, ) } @@ -130,7 +130,7 @@ impl Prio3SumVecMultithreaded { Prio3::new( num_aggregators, 1, - 0x00000002, + 0x00000003, SumVec::new(bits, len, chunk_length)?, ) } @@ -150,7 +150,7 @@ impl Prio3Sum { ))); } - Prio3::new(num_aggregators, 1, 0x00000001, Sum::new(bits)?) + Prio3::new(num_aggregators, 1, 0x00000002, Sum::new(bits)?) } } @@ -248,7 +248,7 @@ impl Prio3Histogram { Prio3::new( num_aggregators, 1, - 0x00000003, + 0x00000004, Histogram::new(length, chunk_length)?, ) } @@ -276,7 +276,7 @@ impl Prio3HistogramMultithreaded { Prio3::new( num_aggregators, 1, - 0x00000003, + 0x00000004, Histogram::new(length, chunk_length)?, ) } @@ -300,7 +300,7 @@ impl Prio3MultihotCountVec { Prio3::new( num_aggregators, 1, - 0xFFFF0000, + 0x00000005, MultihotCountVec::new(num_buckets, max_weight, chunk_length)?, ) } @@ -329,7 +329,7 @@ impl Prio3MultihotCountVecMultithreaded { Prio3::new( num_aggregators, 1, - 0xFFFF0000, + 0x00000005, MultihotCountVec::new(num_buckets, max_weight, chunk_length)?, ) }