//------------------------------------------------ //--- 010 Editor v10.0.1 Binary Template // // File: AEA.bt // Authors: blacktop // Version: 1.0 // Purpose: // Category: Operating System // File Mask: *.aea // ID Bytes: 41 45 41 31 01 00 00 00 // History: //------------------------------------------------ typedef enum { Signed = 0, SymmetricEncryption = 1, SymmetricEncryptionSigned = 2, AsymmetricEncryption = 3, AsymmetricEncryptionSigned = 4, PasswordEncryption = 5, } profileType; typedef struct { char magic[4]; // "AEA1" profileType profileID : 24; uint scryptStrength : 8; uint authDataLength; // Length of metadata } AEAHeader; typedef struct { char rootHMAC[32]; char rootData[48]; char clusterHMAC[32]; } EncryptedRootHeader; typedef struct { uint address; uint length; } ClusterHeader; typedef struct { char data[32]; } HMAC; LittleEndian(); AEAHeader header; char authData[header.authDataLength]; char salt[32]; EncryptedRootHeader encRootHeader; char segmmentHdrData[40*256]; char nextClusterMac[20h]; HMAC segHMACs[256];