• Stephan Müller's avatar
    crypto: jitter - Allow configuration of oversampling rate · 0baa8fab
    Stephan Müller authored
    The oversampling rate used by the Jitter RNG allows the configuration of
    the heuristically implied entropy in one timing measurement. This
    entropy rate is (1 / OSR) bits of entropy per time stamp.
    
    Considering that the Jitter RNG now support APT/RCT health tests for
    different OSRs, allow this value to be configured at compile time to
    support systems with limited amount of entropy in their timer.
    
    The allowed range of OSR values complies with the APT/RCT cutoff health
    test values which range from 1 through 15.
    
    The default value of the OSR selection support is left at 1 which is the
    current default. Thus, the addition of the configuration support does
    not alter the default Jitter RNG behavior.
    Signed-off-by: default avatarStephan Mueller <smueller@chronox.de>
    Signed-off-by: default avatarHerbert Xu <herbert@gondor.apana.org.au>
    0baa8fab
Kconfig 40.4 KB