openbmc/build/tmp/deploy/sdk/witherspoon-2019-08-08/sysroots/armv6-openbmc-linux-gnueabi/usr/src/debug/libgcrypt/1.8.4-r0/libgcrypt-1.8.4/random/rndjent.c
static int is_rng_available(void)
{
#if USE_JENT == JENT_USES_RDTSC
    return !!(_gcry_get_hw_features() & HWF_INTEL_RDTSC);
#elif USE_JENT == JENT_USES_GETTIME
    return 2;
#elif USE_JENT == JENT_USES_READ_REAL_TIME
    return 3;
#else /* Ooops  */
    return 0;
#endif
}
/* Return true if the JENT RNG code can be run.  It may not yet been
 * initialized, though.  */
Return true if the JENT RNG code can be run.  It may not yet been
initialized, though.
Return true if the JENT RNG code can be run . It may not yet been initialized though .
static int is_rng_available(void)
{
#if USE_JENT == JENT_USES_RDTSC
    return !!(_gcry_get_hw_features() & HWF_INTEL_RDTSC);
#elif USE_JENT == JENT_USES_GETTIME
    return 2;
#elif USE_JENT == JENT_USES_READ_REAL_TIME
    return 3;
#else 
    return 0;
#endif
}
static int is_rng_available ( void ) { #if USE_JENT == JENT_USES_RDTSC return ! ! ( _gcry_get_hw_features ( ) & HWF_INTEL_RDTSC ) ; #elif USE_JENT == JENT_USES_GETTIME return 2 ; #elif USE_JENT == JENT_USES_READ_REAL_TIME return 3 ; #else return 0 ; #endif }
Return true if the JENT RNG code can be run.
Return true if the JENT RNG code can be run .
/* Ooops  */