def rekey(db, packer):
 n = 0
 while 1:
  m = _rekey_one_batch(db, packer)
  if (m == 0):
   break
  n += m
 return n

def rekey ( db , packer ) : n = 0 while 1 : m = _rekey_one_batch ( db , packer ) if ( m == 0 ) : break n += m return n
rekey the encrypted participant identity information in our database .