]> granicus.if.org Git - file/commitdiff
Add Android cryptfs footer magic (v3l0c1r4pt0r)
authorChristos Zoulas <christos@zoulas.com>
Sun, 7 Jul 2019 22:39:36 +0000 (22:39 +0000)
committerChristos Zoulas <christos@zoulas.com>
Sun, 7 Jul 2019 22:39:36 +0000 (22:39 +0000)
magic/Magdir/android

index fdb365ac10c81d3ccf2d4630342bc1657fb0fed5..c1c7fa420dc07c368d4e4d2e5bba6d7d93f3e907 100644 (file)
@@ -1,6 +1,6 @@
 
 #------------------------------------------------------------
-# $File: android,v 1.14 2019/06/08 12:17:45 christos Exp $
+# $File: android,v 1.15 2019/07/07 22:39:36 christos Exp $
 # Various android related magic entries
 #------------------------------------------------------------
 
 # RES_XML_TYPE = 0x0003 followed by the size of the header (ResXMLTree_header),
 # which is 8 bytes (2 bytes type + 2 bytes header size + 4 bytes size).
 0      lelong  0x00080003      Android binary XML
+
+# Android cryptfs footer
+# From https://android.googlesource.com/\
+# platform/system/vold/+/refs/heads/master/cryptfs.h
+0      lelong  0xd0b5b1c4      Android cryptfs footer
+>4     leshort x       \b, version: %d
+>6     leshort x       \b.%d