mirror of
https://gitlab.com/cryptsetup/cryptsetup.git
synced 2025-12-05 16:00:05 +01:00
Implement crypt RNG wrapper (for FIPS mode), use it for SALT and KEY RNG levels.
This commit is contained in:
@@ -274,3 +274,9 @@ int crypt_hmac_destroy(struct crypt_hmac *ctx)
|
||||
free(ctx);
|
||||
return 0;
|
||||
}
|
||||
|
||||
/* RNG - N/A */
|
||||
int crypt_backend_fips_rng(char *buffer, size_t length, int quality)
|
||||
{
|
||||
return -EINVAL;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user