Browse Source

Touch up a comment

Ian Goldberg 1 year ago
parent
commit
240beeb078
1 changed files with 2 additions and 1 deletions
  1. 2 1
      heap.cpp

+ 2 - 1
heap.cpp

@@ -63,7 +63,8 @@ and adds the the value into the heap while keeping the heap property intact
  This process requires a single message of communication
  The protocol requires one binary search on a database of size log(heap size) (height of the tree)
  Overall, the insert protocol achieves efficient insertion of a new element into the heap, with a complexity of log(log(heap size)) oblivious comparisons
- and 2 x log(heap size) flag multiplications 
+ and 2 x log(heap size) flag multiplications. The flag multiplications
+ are all done in a single round.
 */
 void MinHeap::insert_optimized(MPCTIO tio, yield_t & yield, RegAS val) {
     auto HeapArray = oram.flat(tio, yield);