godot/core/io
David Nikdel 067807c1cb Remove nondeterminism in pck_packer
PCK files (like other build products) should be deterministic based on their inputs. Removed calls to Math::rand() that are being used to generate padding.

Looks like these were introduced as part of adding encryption support, but the padding being random does not have any cryptographic significance. This can be trivially inferred since file blocks that happen to be aligned don't get padding anyway.

If there's a desire to indroduce something that functions as a nonce it should probably be added explicitly and only if encryption is enabled.
remove Math::rand() calls in editor_export_platform.cpp

follow up to make consistent with pck_packer
2023-09-03 18:14:30 -04:00
..
SCsub SCons: Format buildsystem files with psf/black 2020-03-30 09:05:53 +02:00
compression.cpp Linux: Allow unbundling brotli to use system library 2023-07-06 15:26:38 +02:00
compression.h Expose brotli decompression to the scripting API. 2023-03-29 22:43:36 +03:00
config_file.cpp Merge pull request #68450 from KoBeWi/bracket_escapist 2023-01-12 21:53:15 +01:00
config_file.h One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
dir_access.cpp One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
dir_access.h Support long path in file access on windows 2023-05-05 10:04:39 +02:00
dtls_server.cpp [NET] Refactor TLS configuration. 2023-01-28 11:08:02 +01:00
dtls_server.h [NET] Refactor TLS configuration. 2023-01-28 11:08:02 +01:00
file_access.cpp [FileAccess] Add methods to get/set "hidden" and "read-only" attributes on macOS/BSD and Windows. 2023-08-08 21:51:32 +03:00
file_access.h [FileAccess] Add methods to get/set "hidden" and "read-only" attributes on macOS/BSD and Windows. 2023-08-08 21:51:32 +03:00
file_access_compressed.cpp [FileAccess] Add methods to get/set "hidden" and "read-only" attributes on macOS/BSD and Windows. 2023-08-08 21:51:32 +03:00
file_access_compressed.h [FileAccess] Add methods to get/set "hidden" and "read-only" attributes on macOS/BSD and Windows. 2023-08-08 21:51:32 +03:00
file_access_encrypted.cpp [FileAccess] Add methods to get/set "hidden" and "read-only" attributes on macOS/BSD and Windows. 2023-08-08 21:51:32 +03:00
file_access_encrypted.h [FileAccess] Add methods to get/set "hidden" and "read-only" attributes on macOS/BSD and Windows. 2023-08-08 21:51:32 +03:00
file_access_memory.cpp Fix moving position indicator out of bounds in FileAccessMemory 2023-04-04 10:10:25 +02:00
file_access_memory.h [FileAccess] Add methods to get/set "hidden" and "read-only" attributes on macOS/BSD and Windows. 2023-08-08 21:51:32 +03:00
file_access_pack.cpp PCK file path improvements 2023-05-22 15:03:05 -03:00
file_access_pack.h [FileAccess] Add methods to get/set "hidden" and "read-only" attributes on macOS/BSD and Windows. 2023-08-08 21:51:32 +03:00
file_access_zip.cpp Fix error when non-ASCII characters in resource pack path 2023-07-02 16:09:57 +08:00
file_access_zip.h [FileAccess] Add methods to get/set "hidden" and "read-only" attributes on macOS/BSD and Windows. 2023-08-08 21:51:32 +03:00
http_client.cpp Fix HTTPClient _request using wrong size 2023-04-10 11:45:41 +02:00
http_client.h [NET] Refactor TLS configuration. 2023-01-28 11:08:02 +01:00
http_client_tcp.cpp [TLS] Fix crashes trying to use TLS when not available. 2023-05-12 20:08:10 +02:00
http_client_tcp.h [NET] Refactor TLS configuration. 2023-01-28 11:08:02 +01:00
image.cpp Revert "Implement loading DDS textures at run-time" 2023-08-29 14:25:16 +02:00
image.h Revert "Implement loading DDS textures at run-time" 2023-08-29 14:25:16 +02:00
image_loader.cpp Cleanup unused engine code v2 2023-01-19 13:02:18 +01:00
image_loader.h Cleanup unused engine code v2 2023-01-19 13:02:18 +01:00
ip.cpp Display `BitField[Enum]` in docs to distinguish from `Enum` 2023-06-15 17:23:02 +03:00
ip.h Display `BitField[Enum]` in docs to distinguish from `Enum` 2023-06-15 17:23:02 +03:00
ip_address.cpp One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
ip_address.h One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
json.cpp Disallow invalid escape sequences in JSON.parse 2023-06-30 21:28:36 +02:00
json.h Fixes to JSON as resource 2023-01-14 14:41:51 +01:00
logger.cpp One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
logger.h One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
marshalls.cpp One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
marshalls.h Convert en_GB spelling to en_US with codespell 2023-01-23 11:02:20 +01:00
missing_resource.cpp One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
missing_resource.h One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
net_socket.cpp One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
net_socket.h One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
packed_data_container.cpp Improve and document PackedDataContainer 2023-04-29 00:29:40 +02:00
packed_data_container.h Improve and document PackedDataContainer 2023-04-29 00:29:40 +02:00
packet_peer.cpp One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
packet_peer.h One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
packet_peer_dtls.cpp [NET] Refactor TLS configuration. 2023-01-28 11:08:02 +01:00
packet_peer_dtls.h [NET] Refactor TLS configuration. 2023-01-28 11:08:02 +01:00
packet_peer_udp.cpp One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
packet_peer_udp.h One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
pck_packer.cpp Remove nondeterminism in pck_packer 2023-09-03 18:14:30 -04:00
pck_packer.h One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
remote_filesystem_client.cpp Fix various typos with codespell 2023-08-07 13:09:47 +02:00
remote_filesystem_client.h Fix GCC -Wmaybe-uninitialized warnings 2023-08-14 14:35:35 +02:00
resource.cpp Clear the previously set state when configuring for a new scene root node 2023-08-08 23:49:53 +08:00
resource.h Clear the previously set state when configuring for a new scene root node 2023-08-08 23:49:53 +08:00
resource_format_binary.cpp Fix ImageTextureLayered serialisation issues. 2023-07-23 13:54:04 +02:00
resource_format_binary.h Fix ImageTextureLayered serialisation issues. 2023-07-23 13:54:04 +02:00
resource_importer.cpp Document editor import options in the class reference 2023-06-15 08:30:48 +02:00
resource_importer.h Ability to change a resource UID from API 2023-01-09 18:52:00 +01:00
resource_loader.cpp Mention expected resource type in ResourceLoader load error 2023-07-21 04:45:34 +02:00
resource_loader.h Workaround resource loading crashes due to buggy TLS 2023-07-03 13:54:55 +02:00
resource_saver.cpp Use enum instead of int in virtual methods return type 2023-01-31 19:06:49 +01:00
resource_saver.h Use enum instead of int in virtual methods return type 2023-01-31 19:06:49 +01:00
resource_uid.cpp One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
resource_uid.h One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
stream_peer.cpp One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
stream_peer.h One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
stream_peer_gzip.cpp One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
stream_peer_gzip.h One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
stream_peer_tcp.cpp One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
stream_peer_tcp.h One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
stream_peer_tls.cpp [Net] Remove StreamPeerTLS.blocking_handshake option. 2023-01-28 11:08:02 +01:00
stream_peer_tls.h [Net] Remove StreamPeerTLS.blocking_handshake option. 2023-01-28 11:08:02 +01:00
tcp_server.cpp One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
tcp_server.h One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
translation_loader_po.cpp One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
translation_loader_po.h One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
udp_server.cpp One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
udp_server.h One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
xml_parser.cpp Display `BitField[Enum]` in docs to distinguish from `Enum` 2023-06-15 17:23:02 +03:00
xml_parser.h Display `BitField[Enum]` in docs to distinguish from `Enum` 2023-06-15 17:23:02 +03:00
zip_io.cpp Fix buffer over-read and memory leaks when using long filepaths in a zip archive and improved robustness of long filepaths and reading files. 2023-05-31 13:11:59 +00:00
zip_io.h Fix buffer over-read and memory leaks when using long filepaths in a zip archive and improved robustness of long filepaths and reading files. 2023-05-31 13:11:59 +00:00