"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "tests/password-hash-test" between
cryptsetup-2.3.6.tar.xz and cryptsetup-2.4.0.tar.xz

About: cryptsetup is a utility used to conveniently setup disk encryption based on the dm-crypt kernel module. These include plain dm-crypt volumes, LUKS volumes, loop-AES and TrueCrypt compatible format.

password-hash-test  (cryptsetup-2.3.6.tar.xz):password-hash-test  (cryptsetup-2.4.0.tar.xz)
skipping to change at line 26 skipping to change at line 26
cleanup() { cleanup() {
[ -b /dev/mapper/$DEV2 ] && dmremove $DEV2 [ -b /dev/mapper/$DEV2 ] && dmremove $DEV2
[ -b /dev/mapper/$DEV_NAME ] && dmremove $DEV_NAME [ -b /dev/mapper/$DEV_NAME ] && dmremove $DEV_NAME
rm -f $KEY_FILE rm -f $KEY_FILE
exit $1 exit $1
} }
function fail() function fail()
{ {
echo " $1 [FAILED]" echo " $1 [FAILED]"
echo "FAILED backtrace:" echo "FAILED backtrace:"
while caller $frame; do ((frame++)); done while caller $frame; do ((frame++)); done
cleanup 2 cleanup 2
} }
crypt_key() # hash keysize pwd/file name outkey [limit] [offset] crypt_key() # hash keysize pwd/file name outkey [limit] [offset]
{ {
DEV2=$DEV_NAME"_x" DEV2=$DEV_NAME"_x"
LIMIT="" LIMIT=""
MODE=aes-cbc-essiv:sha256 MODE=aes-cbc-essiv:sha256
 End of changes. 1 change blocks. 
1 lines changed or deleted 1 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)