Add function to generate cryptographically strong random bytes for the GUID on image creation.

This commit is contained in:
2025-10-11 13:24:45 +01:00
parent e2f3323a04
commit e66b263183
3 changed files with 54 additions and 0 deletions

View File

@@ -59,5 +59,6 @@ aaru_options parse_options(const char *options);
uint64_t get_filetime_uint64();
int32_t aaruf_close_current_block(aaruformat_context *ctx);
int compare_extents(const void *a, const void *b);
void generate_random_bytes(uint8_t *buffer, size_t length);
#endif // LIBAARUFORMAT_INTERNAL_H