Found it, thanks a lot! Michael Am 13.12.2019 um 15:45 schrieb Milan Broz: > On 12/12/2019 09:02, gilmore@xxxxxxxxxxxxxx wrote: >> Hi, If 'veritysetup format <data_device> <hash_device>' is called >> without '--salt', will there a salt (from a random number generator) >> be used to calculate the digest? If yes, can you please point me to >> the spot in the veritysetup source code where the salt is generated >> or imported? > > Userspace tools (like veritysetup) have no direct access to a RNG, > it is inside libcryptsetup library API. > Search for _crypt_format_verity() function... > > In today version of devel git here > https://gitlab.com/cryptsetup/cryptsetup/blob/master/lib/setup.c#L2046 > > Milan _______________________________________________ dm-crypt mailing list dm-crypt@xxxxxxxx https://www.saout.de/mailman/listinfo/dm-crypt