Skip to content

Commit

Permalink
Update crypto
Browse files Browse the repository at this point in the history
Add LUKS detection
  • Loading branch information
sessyargc authored Jun 21, 2017
1 parent 4205587 commit 39cbdcd
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions src/binwalk/magic/crypto
Original file line number Diff line number Diff line change
Expand Up @@ -110,3 +110,20 @@
>8 belong x salt: 0x%X
>12 belong x \b%X

#------------------------------------------------------------------------------
# LUKS http://tomb.dyne.org/Luks_on_disk_format.pdf
# sessyargc
0 string LUKS\xBA\xBE LUKS_MAGIC
>6 short 0x0001 version 0x%X
>8 string aes %s
>8 string twofish %s
>8 string serpent %s
>8 string cast5 %s
>8 string cast6 %s
>40 string ecb %s
>40 string cbc-plain %s
>40 string cbc-essiv %s:
>72 string sha1 %s
>72 string sha256 %s
>72 string sha512 %s
>72 string ripemd160 %s

0 comments on commit 39cbdcd

Please sign in to comment.