Searched refs:krndsource (Results 1 – 12 of 12) sorted by relevance
/netbsd-src/sys/sys/ |
H A D | rndsource.h | 68 struct krndsource { struct 69 LIST_ENTRY(krndsource) list; /* the linked list */ 80 void (*enable)(struct krndsource *, bool); /* unused */ argument 85 typedef struct krndsource krndsource_t; argument 87 void rndsource_setcb(struct krndsource *, void (*)(size_t, void *), void *); 88 void rnd_attach_source(struct krndsource *, const char *, uint32_t, 90 void rnd_detach_source(struct krndsource *); 92 void _rnd_add_uint32(struct krndsource *, uint32_t); /* legacy */ 93 void _rnd_add_uint64(struct krndsource *, uint64_t); /* legacy */ 95 void rnd_add_uint32(struct krndsource *, uint32_t); [all …]
|
/netbsd-src/sys/kern/ |
H A D | kern_entropy.c | 194 LIST_HEAD(,krndsource) sources; /* list of entropy sources */ 213 static struct krndsource seed_rndsource __read_mostly; 271 static void rnd_add_data_internal(struct krndsource *, const void *, 273 static void rnd_add_data_1(struct krndsource *, const void *, uint32_t, 275 static unsigned rndsource_entropybits(struct krndsource *); 277 static void rndsource_to_user(struct krndsource *, rndsource_t *); 278 static void rndsource_to_user_est(struct krndsource *, rndsource_est_t *); 344 struct krndsource *rs; in entropy_init() 1776 rndsource_setcb(struct krndsource *rs, void (*get)(size_t, void *), in rnd_attach_source() 1791 rnd_attach_source(struct krndsource *r in rnd_attach_source() [all...] |
H A D | kern_clock.c | 145 struct krndsource source;
|
/netbsd-src/sys/uvm/ |
H A D | uvm_rndsource.h | 34 extern struct krndsource uvm_fault_rndsource;
|
H A D | uvm_init.c | 71 struct krndsource uvm_fault_rndsource;
|
/netbsd-src/sys/dev/ic/ |
H A D | tpmvar.h | 97 struct krndsource sc_rnd;
|
/netbsd-src/sys/arch/x86/x86/ |
H A D | cpu_rng.c | 82 static struct krndsource cpu_rng_source __read_mostly; in cpu_rng_detect()
|
/netbsd-src/sys/arch/virt68k/virt68k/ |
H A D | bootinfo.c | 419 static struct krndsource bootinfo_rndsource; in bootinfo_setup_rndseed()
|
/netbsd-src/sys/arch/arm/rockchip/ |
H A D | rk_v1crypto.c | 59 struct krndsource sc_rndsource;
|
/netbsd-src/sys/dev/fdt/ |
H A D | fdt_boot.c | 108 static struct krndsource efirng_source;
|
/netbsd-src/sys/arch/aarch64/aarch64/ |
H A D | cpu.c | 609 static struct krndsource rndrrs_source; in rndrrs_get()
|
/netbsd-src/sys/arch/arm/sunxi/ |
H A D | sun8i_crypto.c | 134 struct krndsource cr_rndsource;
|