mirror of
https://git.suyu.dev/suyu/suyu
synced 2024-12-25 10:52:48 -06:00
ef5639bfbb
Given the filesystem should always be assumed to be volatile, we should check and bail out if a seek operation isn't successful. This'll prevent potentially writing/returning garbage data from the function in rare cases. This also allows removing a check to see if an offset is within the bounds of a file before perfoming a seek operation. If a seek is attempted beyond the end of a file, it will fail, so this essentially combines two checks into one in one place. |
||
---|---|---|
.. | ||
aes_util.cpp | ||
aes_util.h | ||
ctr_encryption_layer.cpp | ||
ctr_encryption_layer.h | ||
encryption_layer.cpp | ||
encryption_layer.h | ||
key_manager.cpp | ||
key_manager.h | ||
partition_data_manager.cpp | ||
partition_data_manager.h | ||
sha_util.cpp | ||
sha_util.h | ||
xts_encryption_layer.cpp | ||
xts_encryption_layer.h |