Searched refs:serial_proto (Results 1 – 1 of 1) sorted by relevance
160 std::string serial_proto; in EncryptProtobuf() local161 if (!protobuf_.SerializeToString(&serial_proto)) { in EncryptProtobuf()171 if (!crypto_->EncryptData(serial_proto, database_key_, sealed_database_key_, in EncryptProtobuf()185 std::string serial_proto; in DecryptProtobuf() local186 if (!crypto_->DecryptData(encrypted_input, database_key_, &serial_proto)) { in DecryptProtobuf()190 if (!protobuf_.ParseFromString(serial_proto)) { in DecryptProtobuf()194 if (serial_proto.size() < kLegacyJunkSize || in DecryptProtobuf()195 !protobuf_.ParseFromArray(serial_proto.data(), in DecryptProtobuf()196 serial_proto.length() - kLegacyJunkSize)) { in DecryptProtobuf()