electron/shell/common/asar
Charles Kerr c8d3184a95
refactor: migrate hashing code to new upstream crypto::hash API (#46237)
* refactor: migrate AsarFileValidator to crypto::hash

This change migrates AsarFileValidator's uses of crypto::secure_hash
to the new crypto::hash API, which has more memory safety and less
heap allocations.

Xref: 6287609

* refactor: migrate ValidateIntegrityOrDie to crypto::hash

This change migrates ValidateIntegrityOrDie's use of crypto::SHA256Hash
to the new crypto::hash API, which has more memory safety and less heap
allocations.

Xref: 6287609
2025-03-25 15:01:17 -05:00
..
archive.cc refactor: prefer member initializers in asar structs (#43883) 2024-09-23 22:37:18 -07:00
archive.h perf: use absl::flat_hash_map instead of std::unordered_map (#46202) 2025-03-24 10:09:14 +01:00
archive_mac.mm chore: remove unused #includes (#42971) 2024-07-22 11:31:32 +02:00
archive_win.cc chore: bump chromium to 122.0.6261.6 (main) (#40949) 2024-01-25 12:46:30 -05:00
asar_util.cc refactor: migrate hashing code to new upstream crypto::hash API (#46237) 2025-03-25 15:01:17 -05:00
asar_util.h refactor: take a uint8_t span in ValidateIntegrityOrDie() (#43592) 2024-09-06 20:22:44 -05:00
scoped_temporary_file.cc fix: -Wunsafe-buffer-usage warnings in asar file IO (#43624) 2024-09-09 16:34:42 -04:00
scoped_temporary_file.h chore: replace absl::optional<T> with std::optional<T> (#40928) 2024-01-10 16:23:35 -06:00