SD Filesystem: Difference between revisions
No edit summary |
mNo edit summary |
||
Line 14: | Line 14: | ||
* Everything stored under sdmc/Nintendo 3DS/<ID0>/<ID1> | * Everything stored under sdmc/Nintendo 3DS/<ID0>/<ID1> is encrypted with console-unique [[AES|keyslots]], files stored under [[Flash Filesystem|nand/data/<ID0>]] only use these keyslots for MACs. All CTR files under these directories use the keyslots initialized by [[nand/private/movable.sed]]. | ||
* ID0 is the first 0x10-bytes from a SHA256 [[nand/private/movable.sed|hash]]. | * ID0 is the first 0x10-bytes from a SHA256 [[nand/private/movable.sed|hash]]. | ||
* ID1 is the scrambled SD card CID from the SD card which this directory was originally created on. To generate this directory name from the original CID, first the CID is rotated 8-bits to the left. Then, each u16 is moved as described in the below table: | * ID1 is the scrambled SD card CID from the SD card which this directory was originally created on. To generate this directory name from the original CID, first the CID is rotated 8-bits to the left. Then, each u16 is moved as described in the below table: |