Lines Matching refs:bag
92 sync_pb::NigoriKeyBag bag; in GetKeys() local
96 sync_pb::NigoriKey* key = bag.add_key(); in GetKeys()
104 return Encrypt(bag, encrypted); in GetKeys()
136 sync_pb::NigoriKeyBag bag; in SetKeys() local
137 if (!Decrypt(encrypted, &bag)) { in SetKeys()
140 InstallKeys(encrypted.key_name(), bag); in SetKeys()
162 sync_pb::NigoriKeyBag bag; in DecryptPendingKeys() local
163 if (!bag.ParseFromString(plaintext)) { in DecryptPendingKeys()
167 InstallKeys(pending_keys_->key_name(), bag); in DecryptPendingKeys()
245 const sync_pb::NigoriKeyBag& bag) { in InstallKeys() argument
246 int key_size = bag.key_size(); in InstallKeys()
248 const sync_pb::NigoriKey key = bag.key(i); in InstallKeys()