Home | History | Annotate | Download | only in util

Lines Matching refs:bag

91   // Create a bag of all the Nigori parameters we know about.
92 sync_pb::NigoriKeyBag bag;
96 sync_pb::NigoriKey* key = bag.add_key();
103 // Encrypt the bag with the default Nigori.
104 return Encrypt(bag, encrypted);
136 sync_pb::NigoriKeyBag bag;
137 if (!Decrypt(encrypted, &bag)) {
140 InstallKeys(encrypted.key_name(), bag);
162 sync_pb::NigoriKeyBag bag;
163 if (!bag.ParseFromString(plaintext)) {
167 InstallKeys(pending_keys_->key_name(), bag);
245 const sync_pb::NigoriKeyBag& bag) {
246 int key_size = bag.key_size();
248 const sync_pb::NigoriKey key = bag.key(i);