Found it, thanks a lot!
Michael
Am 13.12.2019 um 15:45 schrieb Milan Broz:
> On 12/12/2019 09:02, [email protected] 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
lmpx.com only provides a reader for public news (NNTP) servers. It is not
affiliated with the servers or forums shown here and is not responsible for
the content of articles, which is written by their respective authors.