Browse Source
aes_util: Allow SetIV to be non-allocating
aes_util: Allow SetIV to be non-allocating
In a few places, the data to be set as the IV is already within an array. We shouldn't require this data to be heap-allocated if it doesn't need to be. This allows certain callers to reduce heap churn.nce_cpp
7 changed files with 36 additions and 27 deletions
-
21src/core/crypto/aes_util.cpp
-
9src/core/crypto/aes_util.h
-
9src/core/crypto/ctr_encryption_layer.cpp
-
9src/core/crypto/ctr_encryption_layer.h
-
5src/core/crypto/partition_data_manager.cpp
-
7src/core/file_sys/content_archive.cpp
-
3src/core/file_sys/nca_patch.cpp
Write
Preview
Loading…
Cancel
Save
Reference in new issue