yuzu-android/src/core/crypto
Lioncash 7f0f37fca7 partition_data_manager: Make data arrays constexpr
Previously the constructor for all of these would run at program
startup, consuming time before the application can enter main().

This is also particularly dangerous, given the logging system wouldn't
have been initialized properly yet, yet the program would use the logs
to signify an error.

To rectify this, we can replace the literals with constexpr functions
that perform the conversion at compile-time, completely eliminating the
runtime cost of initializing these arrays.
2020-08-06 02:41:58 -04:00
..
aes_util.cpp Port #4182 from Citra: "Prefix all size_t with std::" 2018-09-15 15:21:06 +02:00
aes_util.h Port #4182 from Citra: "Prefix all size_t with std::" 2018-09-15 15:21:06 +02:00
ctr_encryption_layer.cpp Port #4182 from Citra: "Prefix all size_t with std::" 2018-09-15 15:21:06 +02:00
ctr_encryption_layer.h Port #4182 from Citra: "Prefix all size_t with std::" 2018-09-15 15:21:06 +02:00
encryption_layer.cpp Port #4182 from Citra: "Prefix all size_t with std::" 2018-09-15 15:21:06 +02:00
encryption_layer.h Port #4182 from Citra: "Prefix all size_t with std::" 2018-09-15 15:21:06 +02:00
key_manager.cpp partition_data_manager: Make data arrays constexpr 2020-08-06 02:41:58 -04:00
key_manager.h key_manager: Correct casing of instance() 2020-07-01 00:28:50 -04:00
partition_data_manager.cpp partition_data_manager: Make data arrays constexpr 2020-08-06 02:41:58 -04:00
partition_data_manager.h partition_data_manager: Add accessor for decrypted PRODINFO partition 2019-09-21 16:43:10 -04:00
sha_util.cpp Remove files that are not used 2018-08-01 00:16:54 -04:00
sha_util.h Remove files that are not used 2018-08-01 00:16:54 -04:00
xts_encryption_layer.cpp Port #4182 from Citra: "Prefix all size_t with std::" 2018-09-15 15:21:06 +02:00
xts_encryption_layer.h Port #4182 from Citra: "Prefix all size_t with std::" 2018-09-15 15:21:06 +02:00