mirage / mirage-entropy

Entropy driver for MirageOS -- this has been imported into https://github.com/mirage/mirage-crypto
http://openmirage.org/
BSD 2-Clause "Simplified" License
12 stars 11 forks source link

Armed and volatile #20

Closed pqwy closed 9 years ago

pqwy commented 9 years ago

Sadly, ARM performance counters are masked on Xen. For a decidedly more pleasant timing experience, we should get that working, but for the time being, CNTVCT and the bootstrap code provide something half-way decent.

Many thanks to @talex5 who spent some hours in front of my monitor while we were trying to figure out why exactly the performance counter readings always return 0. (Because reasons.)

This is not quite the ideal state for ARM, but pending reactivation of xentropyd and hopefully full perf counters, it's a solid stop-gap measure.

hannesm commented 9 years ago

well done!