OSDN Git Service

Made ntfsdecrypt compatible with libgrypt-1.6
authorJean-Pierre André <jpandre@users.sourceforge.net>
Mon, 13 Jan 2014 14:21:51 +0000 (15:21 +0100)
committerJean-Pierre André <jpandre@users.sourceforge.net>
Mon, 13 Jan 2014 14:21:51 +0000 (15:21 +0100)
commitb921b09fb8dbc2068c843fd81cf61df54dd5b04d
treece01aa1f1d7babe6e2ddf3edbdba7048736134c4
parentf0c5c2a54fdf416d455434845b02e0544a59bd8e
Made ntfsdecrypt compatible with libgrypt-1.6

The upcoming libgrypt-1.6 drops the "module" interface which was used
by ntfsdecrypt for decrypting files which were encrypted with the "DESX"
algorithm. This algorithm is a Microsoft variant of DES with a key size
of 128 bits, and is not natively supported by libgrypt. The module interface
made possible to declare an external algorithm so that all the encryption
modes could be processed the same way whether the algorithm was internal
or external.
This patch makes DESX a specific case, so that the module interface is
not needed any more. It is compatible with current libgrypt and upcoming
libgrypt-1.6
ntfsprogs/ntfsdecrypt.c