trop[bot]
39258d20d4
refactor: take a uint8_t span in ValidateIntegrityOrDie() ( #43613 )
...
refactor: take a uint8_t span in ValidateIntegrityOrDie()
Doing some groundwork for fixing unsafe base::File() APIs:
- Change ValidateIntegrityOrDie() to take a span<const uint8_t> arg.
We'll need this to migrate asar's base::File API calls away from the
ones tagged `UNSAFE_BUFFER_USAGE` because the safe counterparts use
span<uint8_t> too.
- Simplify ValidateIntegrityOrDie()'s implementation by using
crypto::SHA256Hash() instead of reinventing the wheel.
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: Charles Kerr <charles@charleskerr.com >
2024-09-06 22:17:03 -05:00
..
2024-09-04 20:37:51 -05:00
2024-09-06 22:17:03 -05:00
2024-08-21 19:43:17 -05:00
2024-09-04 20:37:51 -05:00
2024-09-04 20:37:51 -05:00
2024-04-23 21:13:59 -05:00
2022-04-28 10:28:27 -04:00
2022-04-18 13:24:32 +09:00
2023-09-01 15:54:59 +09:00
2022-11-30 17:13:29 -08:00
2023-09-07 17:14:01 +09:00
2023-09-07 17:14:01 +09:00
2023-06-14 11:07:18 -07:00
2023-12-13 13:01:03 -08:00
2024-01-24 16:43:31 -06:00
2022-06-29 12:55:47 -07:00
2022-02-09 18:58:52 -08:00
2022-02-09 18:58:52 -08:00
2023-06-08 16:40:08 -04:00
2023-06-08 16:40:08 -04:00
2022-05-09 10:26:57 -04:00
2023-05-11 16:07:39 -04:00
2021-11-22 16:34:31 +09:00
2024-08-26 17:29:21 -04:00
2024-07-03 10:54:21 -04:00
2024-01-10 19:00:37 -06:00
2022-11-09 10:50:43 -05:00
2020-05-04 10:49:29 -07:00
2023-11-28 13:40:12 -08:00
2021-11-22 16:34:31 +09:00
2024-08-21 19:43:17 -05:00
2021-11-22 16:34:31 +09:00
2024-08-21 12:07:09 +02:00
2022-03-29 20:09:42 -07:00
2024-08-21 12:07:09 +02:00
2022-03-29 20:09:42 -07:00
2024-08-21 12:07:09 +02:00
2022-03-29 20:09:42 -07:00
2024-08-05 15:17:15 -05:00
2024-09-06 14:18:51 -05:00
2023-02-09 10:31:38 +09:00
2024-01-24 09:54:32 -06:00
2024-01-24 09:51:27 -06:00
2024-05-10 11:21:10 -04:00
2024-05-10 11:21:10 -04:00
2022-06-29 12:55:47 -07:00
2024-09-05 17:07:33 -04:00
2024-06-20 20:28:27 +02:00
2024-03-22 10:28:44 -04:00
2023-02-03 12:43:42 +01:00
2023-10-16 12:25:11 -04:00
2024-02-21 15:27:05 -05:00
2022-10-27 12:37:04 -04:00
2024-07-25 11:24:11 +02:00
2023-06-06 17:19:13 +09:00
2022-11-17 14:59:23 -05:00
2022-06-29 12:55:47 -07:00
2022-11-17 14:59:23 -05:00
2024-08-05 15:17:15 -05:00
2022-03-24 21:39:03 -04:00
2021-11-22 16:34:31 +09:00