From 1d1f721d85f079eaeaee7a718228233c7c8a54f7 Mon Sep 17 00:00:00 2001 From: Leah Rowe Date: Wed, 18 Mar 2026 04:26:10 +0000 Subject: util/nvmutil: remove randomness fallback not secure. i'll just re-add arc4random and use urandom as the fallback Signed-off-by: Leah Rowe --- util/nvmutil/nvmutil.h | 10 ---------- 1 file changed, 10 deletions(-) (limited to 'util/nvmutil/nvmutil.h') diff --git a/util/nvmutil/nvmutil.h b/util/nvmutil/nvmutil.h index ba9c39c9..119c716f 100644 --- a/util/nvmutil/nvmutil.h +++ b/util/nvmutil/nvmutil.h @@ -215,14 +215,6 @@ #define SKIP_CHECKSUM_WRITE 0 #define CHECKSUM_WRITE 1 -/* - * portable timeval - */ -struct x_st_timeval { - long tv_sec; - long tv_usec; -}; - struct commands { unsigned long chk; char *str; @@ -357,8 +349,6 @@ void set_mac_nib(unsigned long mac_str_pos, unsigned long mac_byte_pos, unsigned long mac_nib_pos); unsigned short hextonum(char ch_s); unsigned long rlong(void); -unsigned long entropy_jitter(void); -int x_i_gettimeofday(struct x_st_timeval *tv, void *tz); void write_mac_part(unsigned long partnum); /* -- cgit v1.2.1