Home
last modified time | relevance | path

Searched refs:has_rdrand (Results 1 – 2 of 2) sorted by relevance

/freebsd/sys/dev/random/
H A Divy.c51 static bool has_rdrand, has_rdseed; variable
130 has_rdrand = (cpu_feature2 & CPUID2_RDRAND);
135 else if (has_rdrand)
165 if (has_rdrand || has_rdseed) { in rdrand_modevent()
172 if (has_rdrand || has_rdseed) in rdrand_modevent()
/freebsd/sys/contrib/libsodium/src/libsodium/sodium/
H A Druntime.c22 int has_rdrand; member
213 cpu_features->has_rdrand = ((cpu_info[2] & CPUID_ECX_RDRAND) != 0x0); in _sodium_runtime_intel_cpu_features()
215 cpu_features->has_rdrand = 0; in _sodium_runtime_intel_cpu_features()
296 return _cpu_features.has_rdrand; in sodium_runtime_has_rdrand()