Home
last modified time | relevance | path

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

/openssl/crypto/
H A Darmcap.c297 char uarch[64]; in OPENSSL_cpuid_setup() local
299 size_t len = sizeof(uarch); in OPENSSL_cpuid_setup()
300 if ((sysctlbyname("machdep.cpu.brand_string", uarch, &len, NULL, 0) == 0) && in OPENSSL_cpuid_setup()
301 ((strncmp(uarch, "Apple M1", 8) == 0) || in OPENSSL_cpuid_setup()
302 (strncmp(uarch, "Apple M2", 8) == 0) || in OPENSSL_cpuid_setup()
303 (strncmp(uarch, "Apple M3", 8) == 0) || in OPENSSL_cpuid_setup()
304 (strncmp(uarch, "Apple M4", 8) == 0))) { in OPENSSL_cpuid_setup()

Completed in 3 milliseconds