문제

I'm making a TRNG that talks to my PC via USB as a CDC device. I want to stop /dev/random from sourcing entropy from the entropy pool entirely and use my data instead. The theory is that the pool can be poisoned because of the way it currently collects entropy.

I know how to remove sources of entropy, but that requires hacking about in the kernel. It is an option but I would prefer to just unload the module that writes data to /dev/random. I've tried rmmod and modprobe stuff but can't figure out the name of the module. It is possible I'm just leaving out an extension or something but I'm new to the whole business of messing about with kernel modules so I can't really tell.

Also

modprobe -l | grep random

just gives me a list of hw_random stuff and

lsmod | grep random

gives me nothing.

So I'm not sure if I'm really on the right track.

Any pointers would be greatly appreciated.

올바른 솔루션이 없습니다

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top