fs: add AesCtrStorage

This commit is contained in:
Michael Scire 2020-04-06 03:58:52 -07:00
parent 496be5ecd4
commit 0e9974e7b3
9 changed files with 303 additions and 3 deletions

View file

@ -20,9 +20,9 @@
namespace ams::fs {
struct QueryRangeInfo {
u32 aes_ctr_key_type;
u32 speed_emulation_type;
u32 reserved[0x38 / sizeof(u32)];
s32 aes_ctr_key_type;
s32 speed_emulation_type;
u8 reserved[0x38];
void Clear() {
this->aes_ctr_key_type = 0;
@ -45,4 +45,8 @@ namespace ams::fs {
Result QueryRange(QueryRangeInfo *out, FileHandle handle, s64 offset, s64 size);
enum class AesCtrKeyTypeFlag : s32 {
InternalKeyForSoftwareAes = (1 << 0),
};
}