| /freebsd-13.1/sys/crypto/openssl/ |
| H A D | ossl_x86.c | 51 unsigned int OPENSSL_ia32cap_P[4]; variable 64 OPENSSL_ia32cap_P[0] |= CPUID_IA64; in ossl_cpuid() 66 OPENSSL_ia32cap_P[0] |= CPUID_B20; in ossl_cpuid() 74 OPENSSL_ia32cap_P[0] &= ~CPUID_HTT; in ossl_cpuid() 84 OPENSSL_ia32cap_P[0] &= ~CPUID_HTT; in ossl_cpuid() 86 OPENSSL_ia32cap_P[0] &= ~CPUID_HTT; in ossl_cpuid() 92 OPENSSL_ia32cap_P[2] = cpu_stdext_feature; in ossl_cpuid() 93 if ((OPENSSL_ia32cap_P[1] & CPUID2_XSAVE) == 0) in ossl_cpuid() 94 OPENSSL_ia32cap_P[2] &= ~(CPUID_STDEXT_AVX512F | in ossl_cpuid() 99 OPENSSL_ia32cap_P[2] &= ~(CPUID_STDEXT_AVX512F); in ossl_cpuid() [all …]
|
| /freebsd-13.1/crypto/openssl/crypto/ |
| H A D | cryptlib.c | 19 extern unsigned int OPENSSL_ia32cap_P[4]; 115 vec = OPENSSL_ia32_cpuid(OPENSSL_ia32cap_P) & ~mask; in OPENSSL_cpuid_setup() 128 vec = OPENSSL_ia32_cpuid(OPENSSL_ia32cap_P); in OPENSSL_cpuid_setup() 138 OPENSSL_ia32cap_P[2] &= ~(unsigned int)vecx; in OPENSSL_cpuid_setup() 141 OPENSSL_ia32cap_P[2] = (unsigned int)vecx; in OPENSSL_cpuid_setup() 145 OPENSSL_ia32cap_P[2] = 0; in OPENSSL_cpuid_setup() 146 OPENSSL_ia32cap_P[3] = 0; in OPENSSL_cpuid_setup() 149 vec = OPENSSL_ia32_cpuid(OPENSSL_ia32cap_P); in OPENSSL_cpuid_setup() 157 OPENSSL_ia32cap_P[0] = (unsigned int)vec | (1 << 10); in OPENSSL_cpuid_setup() 158 OPENSSL_ia32cap_P[1] = (unsigned int)(vec >> 32); in OPENSSL_cpuid_setup() [all …]
|
| /freebsd-13.1/crypto/openssl/crypto/engine/ |
| H A D | eng_rdrand.c | 82 extern unsigned int OPENSSL_ia32cap_P[]; in engine_load_rdrand_int() 84 if (OPENSSL_ia32cap_P[1] & (1 << (62 - 32))) { in engine_load_rdrand_int()
|
| /freebsd-13.1/sys/crypto/openssl/i386/ |
| H A D | x86cpuid.S | 159 leal OPENSSL_ia32cap_P-.L009PIC_me_up(%ecx),%ecx 174 leal OPENSSL_ia32cap_P-.L011PIC_me_up(%ecx),%ecx 537 .hidden OPENSSL_ia32cap_P 538 .comm OPENSSL_ia32cap_P,16,4 694 leal OPENSSL_ia32cap_P,%ecx 706 leal OPENSSL_ia32cap_P,%ecx 764 leal OPENSSL_ia32cap_P,%ecx 880 leal OPENSSL_ia32cap_P,%edx 925 leal OPENSSL_ia32cap_P,%edx 1060 .hidden OPENSSL_ia32cap_P [all …]
|
| H A D | rc4-586.S | 40 leal OPENSSL_ia32cap_P-.L004PIC_me_up(%ebp),%ebp 286 leal OPENSSL_ia32cap_P-.L010PIC_me_up(%edx),%edx 361 leal OPENSSL_ia32cap_P-.L020PIC_me_up(%edx),%edx 383 .comm OPENSSL_ia32cap_P,16,4 418 leal OPENSSL_ia32cap_P,%ebp 661 leal OPENSSL_ia32cap_P,%edx 733 leal OPENSSL_ia32cap_P,%edx 755 .comm OPENSSL_ia32cap_P,16,4
|
| H A D | x86-gf2m.S | 248 leal OPENSSL_ia32cap_P-.L000PIC_me_up(%edx),%edx 348 .comm OPENSSL_ia32cap_P,16,4 591 leal OPENSSL_ia32cap_P,%edx 691 .comm OPENSSL_ia32cap_P,16,4
|
| H A D | x86-mont.S | 65 leal OPENSSL_ia32cap_P-.L003PIC_me_up(%eax),%eax 478 .comm OPENSSL_ia32cap_P,16,4 538 leal OPENSSL_ia32cap_P,%eax 951 .comm OPENSSL_ia32cap_P,16,4
|
| H A D | bn-586.S | 13 leal OPENSSL_ia32cap_P-.L000PIC_me_up(%eax),%eax 296 leal OPENSSL_ia32cap_P-.L010PIC_me_up(%eax),%eax 478 leal OPENSSL_ia32cap_P-.L017PIC_me_up(%eax),%eax 1532 .comm OPENSSL_ia32cap_P,16,4 1540 leal OPENSSL_ia32cap_P,%eax 1820 leal OPENSSL_ia32cap_P,%eax 1999 leal OPENSSL_ia32cap_P,%eax 3053 .comm OPENSSL_ia32cap_P,16,4
|
| H A D | ecp_nistz256-x86.S | 2749 leal OPENSSL_ia32cap_P-.L000pic(%eax),%eax 2772 leal OPENSSL_ia32cap_P-.L001pic(%eax),%eax 5166 .comm OPENSSL_ia32cap_P,16,4 7913 leal OPENSSL_ia32cap_P,%eax 7936 leal OPENSSL_ia32cap_P,%eax 7959 leal OPENSSL_ia32cap_P,%eax 7981 leal OPENSSL_ia32cap_P,%eax 9272 leal OPENSSL_ia32cap_P,%edx 9398 leal OPENSSL_ia32cap_P,%edx 9911 leal OPENSSL_ia32cap_P,%edx [all …]
|
| H A D | chacha-x86.S | 20 leal OPENSSL_ia32cap_P-.Lpic_point(%eax),%ebp 1011 .comm OPENSSL_ia32cap_P,16,4 1029 leal OPENSSL_ia32cap_P,%ebp 2020 .comm OPENSSL_ia32cap_P,16,4
|
| /freebsd-13.1/crypto/openssl/crypto/evp/ |
| H A D | e_rc4_hmac_md5.c | 74 extern unsigned int OPENSSL_ia32cap_P[]; in rc4_hmac_md5_cipher() 90 (OPENSSL_ia32cap_P[0] & (1 << 20)) == 0) { in rc4_hmac_md5_cipher() 134 (OPENSSL_ia32cap_P[0] & (1 << 20)) == 0) { in rc4_hmac_md5_cipher()
|
| H A D | e_aes_cbc_hmac_sha256.c | 41 extern unsigned int OPENSSL_ia32cap_P[]; 458 if (((OPENSSL_ia32cap_P[2] & (1 << 29)) || /* SHAEXT? */ in aesni_cbc_hmac_sha256_cipher() 459 ((OPENSSL_ia32cap_P[1] & (1 << (60 - 32))) && /* AVX? */ in aesni_cbc_hmac_sha256_cipher() 460 ((OPENSSL_ia32cap_P[1] & (1 << (43 - 32))) /* XOP? */ in aesni_cbc_hmac_sha256_cipher() 461 | (OPENSSL_ia32cap_P[0] & (1 << 30))))) && /* "Intel CPU"? */ in aesni_cbc_hmac_sha256_cipher() 843 if (inp_len >= 8192 && OPENSSL_ia32cap_P[2] & (1 << 5)) in aesni_cbc_hmac_sha256_ctrl() 929 return ((OPENSSL_ia32cap_P[1] & AESNI_CAPABLE) && in EVP_aes_128_cbc_hmac_sha256() 936 return ((OPENSSL_ia32cap_P[1] & AESNI_CAPABLE) && in EVP_aes_256_cbc_hmac_sha256()
|
| H A D | e_aes_cbc_hmac_sha1.c | 40 extern unsigned int OPENSSL_ia32cap_P[]; 859 if (inp_len >= 8192 && OPENSSL_ia32cap_P[2] & (1 << 5)) in aesni_cbc_hmac_sha1_ctrl() 945 return (OPENSSL_ia32cap_P[1] & AESNI_CAPABLE ? in EVP_aes_128_cbc_hmac_sha1() 951 return (OPENSSL_ia32cap_P[1] & AESNI_CAPABLE ? in EVP_aes_256_cbc_hmac_sha1()
|
| /freebsd-13.1/crypto/openssl/crypto/rand/ |
| H A D | rand_lib.c | 57 if ((OPENSSL_ia32cap_P[0] & (1 << 4)) != 0) { in rand_acquire_entropy_from_tsc() 71 extern unsigned int OPENSSL_ia32cap_P[]; 96 if ((OPENSSL_ia32cap_P[2] & (1 << 18)) != 0) { in rand_acquire_entropy_from_cpu() 101 } else if ((OPENSSL_ia32cap_P[1] & (1 << (62 - 32))) != 0) { in rand_acquire_entropy_from_cpu()
|
| /freebsd-13.1/crypto/openssl/include/internal/ |
| H A D | cryptlib.h | 79 extern unsigned int OPENSSL_ia32cap_P[];
|
| /freebsd-13.1/sys/crypto/openssl/amd64/ |
| H A D | x86_64cpuid.S | 8 .hidden OPENSSL_ia32cap_P 9 .comm OPENSSL_ia32cap_P,16,4
|
| H A D | rc4-x86_64.S | 36 movl OPENSSL_ia32cap_P(%rip),%r8d 549 movl OPENSSL_ia32cap_P(%rip),%r8d 615 movl OPENSSL_ia32cap_P(%rip),%edx
|
| H A D | rsaz-x86_64.S | 39 andl OPENSSL_ia32cap_P+8(%rip),%r11d 740 andl OPENSSL_ia32cap_P+8(%rip),%r11d 897 andl OPENSSL_ia32cap_P+8(%rip),%r11d 1284 andl OPENSSL_ia32cap_P+8(%rip),%r11d 1395 movl OPENSSL_ia32cap_P+8(%rip),%eax
|
| H A D | x86_64-gf2m.S | 212 movq OPENSSL_ia32cap_P(%rip),%r10
|
| H A D | ecp_nistz256-x86_64.S | 2794 andl OPENSSL_ia32cap_P+8(%rip),%ecx 3126 andl OPENSSL_ia32cap_P+8(%rip),%ecx 3881 andl OPENSSL_ia32cap_P+8(%rip),%ecx 3899 andl OPENSSL_ia32cap_P+8(%rip),%ecx 4194 andl OPENSSL_ia32cap_P+8(%rip),%ecx 4855 movl OPENSSL_ia32cap_P+8(%rip),%eax 4941 movl OPENSSL_ia32cap_P+8(%rip),%eax 5265 andl OPENSSL_ia32cap_P+8(%rip),%ecx 5497 andl OPENSSL_ia32cap_P+8(%rip),%ecx 5915 andl OPENSSL_ia32cap_P+8(%rip),%ecx
|
| H A D | x86_64-mont.S | 19 movl OPENSSL_ia32cap_P+8(%rip),%r11d 778 movl OPENSSL_ia32cap_P+8(%rip),%eax
|
| H A D | poly1305-x86_64.S | 28 movq OPENSSL_ia32cap_P+4(%rip),%r9 1542 movl OPENSSL_ia32cap_P+8(%rip),%r10d 1567 movl OPENSSL_ia32cap_P+8(%rip),%r10d
|
| H A D | x25519-x86_64.S | 406 movl OPENSSL_ia32cap_P+8(%rip),%ecx
|
| /freebsd-13.1/crypto/openssl/crypto/modes/ |
| H A D | gcm128.c | 644 extern unsigned int OPENSSL_ia32cap_P[]; 756 if (OPENSSL_ia32cap_P[1] & (1 << 1)) { /* check PCLMULQDQ bit */ 757 if (((OPENSSL_ia32cap_P[1] >> 22) & 0x41) == 0x41) { /* AVX+MOVBE */ 772 if (OPENSSL_ia32cap_P[0] & (1 << 25)) { /* check SSE bit */ 774 if (OPENSSL_ia32cap_P[0] & (1 << 23)) { /* check MMX bit */
|
| /freebsd-13.1/crypto/openssl/crypto/whrlpool/ |
| H A D | wp_block.c | 92 extern unsigned long OPENSSL_ia32cap_P[]; \ 94 if (!(OPENSSL_ia32cap_P[0] & (1<<23))) break; \
|