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
..
compression.cpp Linux: Allow unbundling brotli to use system library 2023-07-06 15:26:38 +02:00
compression.h
config_file.cpp
config_file.h
dir_access.cpp
dir_access.h
dtls_server.cpp
dtls_server.h
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
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
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
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
http_client.cpp
http_client.h
image_loader.cpp
image_loader.h
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
ip_address.cpp
ip_address.h
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
json.cpp Disallow invalid escape sequences in JSON.parse 2023-06-30 21:28:36 +02:00
json.h
logger.cpp
logger.h
marshalls.cpp
marshalls.h
missing_resource.cpp
missing_resource.h
net_socket.cpp
net_socket.h
packed_data_container.cpp
packed_data_container.h
packet_peer_dtls.cpp
packet_peer_dtls.h
packet_peer_udp.cpp
packet_peer_udp.h
packet_peer.cpp
packet_peer.h
pck_packer.cpp Remove nondeterminism in pck_packer 2023-09-03 18:14:30 -04:00
pck_packer.h
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_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
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
resource_saver.h
resource_uid.cpp
resource_uid.h
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
SCsub
stream_peer_gzip.cpp
stream_peer_gzip.h
stream_peer_tcp.cpp
stream_peer_tcp.h
stream_peer_tls.cpp
stream_peer_tls.h
stream_peer.cpp
stream_peer.h
tcp_server.cpp
tcp_server.h
translation_loader_po.cpp
translation_loader_po.h
udp_server.cpp
udp_server.h
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