[Development] QRandomGenerator and boot times

Thiago Macieira thiago.macieira at intel.com
Mon Sep 18 17:01:36 CEST 2017


On Monday, 18 September 2017 00:34:03 PDT Sami Nurmenniemi wrote:
> > And that would be a non-Qt job. I wasn't worried about Qt on real devices
> > because I don't expect it to be run early enough to matter.  On VMs,
> > that's
> > another story, and if you don't trust your undercloud-provided /dev/hwrng,
> > why are you using that cloud? (Though I'll say there's an Intel team
> > working on figuring out how a VM can get trust from the actual hardware,
> > skipping the hypervisor trust)
> 
> We have made some safety critical customer demos where fast boot time of
> Qt framework is essential. It was demoing boot time of 1.2s for a Qt
> application to start after powering on the device. I suppose that demo
> (and real safety critical use cases) is going to have problems with the
> QRandomGenerator even with hwrng in use.

That has an easy solution: use a real hardware random generator. That's a 
matter of making sure your SoC is correctly dimensioned for the use-case.

-- 
Thiago Macieira - thiago.macieira (AT) intel.com
  Software Architect - Intel Open Source Technology Center




More information about the Development mailing list