i used tcplay from here:
to create a veracrypt volume and it doesnt seem to work when -a option is used to specify hash function.
[root@ink build]# tcplay -a RIPEMD160 -z -w -c -d /dev/loop0 --veracrypt-mode
WARNING: Using urandom as source of entropy for key material is a really bad idea.
Summary of actions:
- Create volume on /dev/loop0
Are you sure you want to proceed? (y/n) y
Creating volume headers...
Depending on your system, this process may take a few minutes as it uses true random data which might take a while to refill
WARNING: Using a weak random generator to get entropy for the key material. Odds are this is NOT what you want.
Writing volume headers to disk...
[root@ink build]# tcplay --info -d /dev/loop0 --veracrypt-mode
Incorrect password or not a TrueCrypt volume
specifying -a option seems to cut the process short as it returns too early with "success" status but the volume can not be opened as the "incorrect passphrase error" shows.