7 Commits

Author SHA1 Message Date
José Luis González García 1fb217476a Support for multi-byte characters in passwords
Using iconv() to convert the password from the local character set to UTF-16LE used by BitLocker.
2017-08-22 09:14:27 +02:00
Aorimn 4d9a91617e Adding inttypes.h header for old systems
Ubuntu 12.04 for example doesn't seem to have inttypes.h included, but
my fedora has.
2015-10-08 15:28:25 +02:00
Aorimn dfbcdc5e19 Use PRI* macros
Use PRI macros, instead of custom defined ones, to print specific
formats.
2015-10-08 14:49:28 +02:00
Aorimn ce2eef7000 Implement datums to_s functions
This implementation return Ruby strings suitable for printing datums.
2015-10-08 13:52:16 +02:00
Aorimn fc4011a9c5 Change xwrappers into dis_wrappers
xmalloc, for instance, seems to be used by the ruby library as a wrapper
around malloc, which doesn't fit well with dislocker.
2015-04-25 15:53:02 +02:00
Aorimn bbdeb257e6 Change LEVELS to DIS_LOGS
The former was a bit to easy to use elsewhere, so we add the DIS_ prefix
and change its name a little.
2015-03-07 14:12:01 +01:00
Aorimn a5d85f6264 Move includes into separate directory
This adds an include/ directory from which includes files will be. Each
header is now moved to this directory, in the same sub-directory it was
in.
Each #include has been changed accordingly in order not to break
compilation.
2015-03-04 23:35:25 +01:00