Lines Matching refs:OPENSSL_armcap_P
28 unsigned int OPENSSL_armcap_P = 0; variable
35 OPENSSL_armcap_P |= ARMV7_NEON; in OPENSSL_cpuid_setup()
39 OPENSSL_armcap_P |= ARMV8_AES; in OPENSSL_cpuid_setup()
40 OPENSSL_armcap_P |= ARMV8_PMULL; in OPENSSL_cpuid_setup()
41 OPENSSL_armcap_P |= ARMV8_SHA1; in OPENSSL_cpuid_setup()
42 OPENSSL_armcap_P |= ARMV8_SHA256; in OPENSSL_cpuid_setup()
153 if (OPENSSL_armcap_P & ARMV7_TICK) in OPENSSL_rdtsc()
264 OPENSSL_armcap_P = 0; in OPENSSL_cpuid_setup()
267 OPENSSL_armcap_P = (unsigned int)strtoul(e, NULL, 0); in OPENSSL_cpuid_setup()
279 OPENSSL_armcap_P = ARMV7_NEON; in OPENSSL_cpuid_setup()
290 OPENSSL_armcap_P |= ARMV7_NEON | ARMV8_PMULL | ARMV8_AES | ARMV8_SHA1 | ARMV8_SHA256; in OPENSSL_cpuid_setup()
293 OPENSSL_armcap_P |= sysctl_query("hw.optional.armv8_2_sha512", ARMV8_SHA512); in OPENSSL_cpuid_setup()
294 OPENSSL_armcap_P |= sysctl_query("hw.optional.armv8_2_sha3", ARMV8_SHA3); in OPENSSL_cpuid_setup()
296 if (OPENSSL_armcap_P & ARMV8_SHA3) { in OPENSSL_cpuid_setup()
305 OPENSSL_armcap_P |= ARMV8_UNROLL8_EOR3; in OPENSSL_cpuid_setup()
306 OPENSSL_armcap_P |= ARMV8_HAVE_SHA3_AND_WORTH_USING; in OPENSSL_cpuid_setup()
317 OPENSSL_armcap_P |= ARMV7_NEON; in OPENSSL_cpuid_setup()
320 OPENSSL_armcap_P |= ARMV8_AES; in OPENSSL_cpuid_setup()
323 OPENSSL_armcap_P |= ARMV8_PMULL; in OPENSSL_cpuid_setup()
326 OPENSSL_armcap_P |= ARMV8_SHA1; in OPENSSL_cpuid_setup()
329 OPENSSL_armcap_P |= ARMV8_SHA256; in OPENSSL_cpuid_setup()
333 OPENSSL_armcap_P |= ARMV8_SM4; in OPENSSL_cpuid_setup()
336 OPENSSL_armcap_P |= ARMV8_SHA512; in OPENSSL_cpuid_setup()
339 OPENSSL_armcap_P |= ARMV8_CPUID; in OPENSSL_cpuid_setup()
342 OPENSSL_armcap_P |= ARMV8_SM3; in OPENSSL_cpuid_setup()
344 OPENSSL_armcap_P |= ARMV8_SHA3; in OPENSSL_cpuid_setup()
349 OPENSSL_armcap_P |= ARMV8_SVE; in OPENSSL_cpuid_setup()
352 OPENSSL_armcap_P |= ARMV8_SVE2; in OPENSSL_cpuid_setup()
355 OPENSSL_armcap_P |= ARMV8_RNG; in OPENSSL_cpuid_setup()
376 OPENSSL_armcap_P |= arm_probe_for(_armv7_neon_probe, ARMV7_NEON); in OPENSSL_cpuid_setup()
378 if (OPENSSL_armcap_P & ARMV7_NEON) { in OPENSSL_cpuid_setup()
380 OPENSSL_armcap_P |= arm_probe_for(_armv8_pmull_probe, ARMV8_PMULL | ARMV8_AES); in OPENSSL_cpuid_setup()
381 if (!(OPENSSL_armcap_P & ARMV8_AES)) { in OPENSSL_cpuid_setup()
382 OPENSSL_armcap_P |= arm_probe_for(_armv8_aes_probe, ARMV8_AES); in OPENSSL_cpuid_setup()
385 OPENSSL_armcap_P |= arm_probe_for(_armv8_sha1_probe, ARMV8_SHA1); in OPENSSL_cpuid_setup()
386 OPENSSL_armcap_P |= arm_probe_for(_armv8_sha256_probe, ARMV8_SHA256); in OPENSSL_cpuid_setup()
389 OPENSSL_armcap_P |= arm_probe_for(_armv8_sm3_probe, ARMV8_SM3); in OPENSSL_cpuid_setup()
390 OPENSSL_armcap_P |= arm_probe_for(_armv8_sm4_probe, ARMV8_SM4); in OPENSSL_cpuid_setup()
391 OPENSSL_armcap_P |= arm_probe_for(_armv8_sha512_probe, ARMV8_SHA512); in OPENSSL_cpuid_setup()
392 OPENSSL_armcap_P |= arm_probe_for(_armv8_eor3_probe, ARMV8_SHA3); in OPENSSL_cpuid_setup()
396 OPENSSL_armcap_P |= arm_probe_for(_armv8_sve_probe, ARMV8_SVE); in OPENSSL_cpuid_setup()
397 OPENSSL_armcap_P |= arm_probe_for(_armv8_sve2_probe, ARMV8_SVE2); in OPENSSL_cpuid_setup()
398 OPENSSL_armcap_P |= arm_probe_for(_armv8_rng_probe, ARMV8_RNG); in OPENSSL_cpuid_setup()
413 if (OPENSSL_armcap_P & ARMV8_CPUID) in OPENSSL_cpuid_setup()
418 (OPENSSL_armcap_P & ARMV7_NEON)) { in OPENSSL_cpuid_setup()
426 (OPENSSL_armcap_P & ARMV8_SHA3)) in OPENSSL_cpuid_setup()
427 OPENSSL_armcap_P |= ARMV8_UNROLL8_EOR3; in OPENSSL_cpuid_setup()
431 (OPENSSL_armcap_P & ARMV8_SHA3)) in OPENSSL_cpuid_setup()
432 OPENSSL_armcap_P |= ARMV8_UNROLL12_EOR3; in OPENSSL_cpuid_setup()
445 (OPENSSL_armcap_P & ARMV8_SHA3)) in OPENSSL_cpuid_setup()
446 OPENSSL_armcap_P |= ARMV8_HAVE_SHA3_AND_WORTH_USING; in OPENSSL_cpuid_setup()