/external/rust/crates/ring/src/aead/ |
D | gcm.rs | 24 pub(super) fn new(h_be: Block, cpu_features: cpu::Features) -> Self { in new() 32 match detect_implementation(cpu_features) { in new() 34 Implementation::CLMUL if has_avx_movbe(cpu_features) => { in new() 80 cpu_features: cpu::Features, field 84 pub(crate) fn new(key: &Key, aad: Aad<&[u8]>, cpu_features: cpu::Features) -> Self { in new() 91 cpu_features, in new() 120 match detect_implementation(self.cpu_features) { in update_blocks() 122 Implementation::CLMUL if has_avx_movbe(self.cpu_features) => { in update_blocks() 187 match detect_implementation(self.cpu_features) { in update_block() 228 pub(super) fn is_avx2(&self, cpu_features: cpu::Features) -> bool { in is_avx2() [all …]
|
D | poly1305.rs | 24 cpu_features: cpu::Features, field 31 pub(super) fn new(key_and_nonce: [u8; KEY_LEN], cpu_features: cpu::Features) -> Self { in new() 34 cpu_features, 42 cpu_features: cpu::Features, field 84 cpu_features, 89 cpu_features, 93 cpu_features => 104 self.cpu_features => in update() 113 self.cpu_features => in finish() 140 let cpu_features = cpu::features(); in test_poly1305() localVariable [all …]
|
D | aes_gcm.rs | 46 fn init_128(key: &[u8], cpu_features: cpu::Features) -> Result<aead::KeyInner, error::Unspecified> { in init_128() 47 init(key, aes::Variant::AES_128, cpu_features) in init_128() 50 fn init_256(key: &[u8], cpu_features: cpu::Features) -> Result<aead::KeyInner, error::Unspecified> { in init_256() 51 init(key, aes::Variant::AES_256, cpu_features) in init_256() 57 cpu_features: cpu::Features, in init() 59 let aes_key = aes::Key::new(key, variant, cpu_features)?; in init() 60 let gcm_key = gcm::Key::new(aes_key.encrypt_block(Block::zero()), cpu_features); in init() 71 cpu_features: cpu::Features, in aes_gcm_seal() 73 aead(key, nonce, aad, in_out, Direction::Sealing, cpu_features) in aes_gcm_seal() 82 cpu_features: cpu::Features, in aes_gcm_open() [all …]
|
D | chacha20_poly1305.rs | 51 cpu_features: cpu::Features, in chacha20_poly1305_seal() 53 aead(key, nonce, aad, in_out, Direction::Sealing, cpu_features) in chacha20_poly1305_seal() 62 cpu_features: cpu::Features, in chacha20_poly1305_open() 70 cpu_features, in chacha20_poly1305_open() 83 cpu_features: cpu::Features, in aead() 92 let key = derive_poly1305_key(chacha20_key, counter.increment(), cpu_features); in aead() 139 cpu_features: cpu::Features, in derive_poly1305_key() 143 poly1305::Key::new(key_bytes, cpu_features) in derive_poly1305_key()
|
D | aes.rs | 20 cpu_features: cpu::Features, field 119 cpu_features: cpu::Features, in new() 134 match detect_implementation(cpu_features) { in new() 163 cpu_features, in new() 169 match detect_implementation(self.cpu_features) { in encrypt_block() 214 match detect_implementation(self.cpu_features) { in ctr32_encrypt_blocks() 306 match detect_implementation(self.cpu_features) { in is_aes_hw() 360 fn detect_implementation(cpu_features: cpu::Features) -> Implementation { in detect_implementation() 368 let _cpu_features = cpu_features; in detect_implementation() 377 if cpu::intel::AES.available(cpu_features) || cpu::arm::AES.available(cpu_features) { in detect_implementation() [all …]
|
D | chacha20_poly1305_openssh.rs | 68 derive_poly1305_key(&self.key.k_2, counter.increment(), self.key.cpu_features); 136 derive_poly1305_key(&self.key.k_2, counter.increment(), self.key.cpu_features); 151 cpu_features: cpu::Features, field 155 fn new(key_material: &[u8; KEY_LEN], cpu_features: cpu::Features) -> Key { in new() 163 cpu_features,
|
D | quic.rs | 85 init: fn(key: &[u8], cpu_features: cpu::Features) -> Result<KeyInner, error::Unspecified>, 147 fn aes_init_128(key: &[u8], cpu_features: cpu::Features) -> Result<KeyInner, error::Unspecified> { in aes_init_128() 148 let aes_key = aes::Key::new(key, aes::Variant::AES_128, cpu_features)?; in aes_init_128() 152 fn aes_init_256(key: &[u8], cpu_features: cpu::Features) -> Result<KeyInner, error::Unspecified> { in aes_init_256() 153 let aes_key = aes::Key::new(key, aes::Variant::AES_256, cpu_features)?; in aes_init_256()
|
/external/cpu_features/ |
D | Android.bp | 1 // This Blueprint file loosely follows the logic of cpu_features' 35 name: "cpu_features-defaults", 50 defaults: ["cpu_features-defaults"], 69 defaults: ["cpu_features-defaults"], 95 "cpu_features-defaults", 152 "cpu_features-defaults", 180 name: "cpu_features-test-defaults", 194 defaults: ["cpu_features-test-defaults"], 202 defaults: ["cpu_features-test-defaults"], 216 defaults: ["cpu_features-test-defaults"], [all …]
|
D | CMakeLists.txt | 25 # cpu_features uses bit-fields which are - to some extends - implementation-defined (see https://en… 26 # As a consequence it is discouraged to use cpu_features as a shared library because different comp… 132 # library : cpu_features 141 add_library(cpu_features ${CPU_FEATURES_HDRS} ${CPU_FEATURES_SRCS}) target 142 set_target_properties(cpu_features PROPERTIES PUBLIC_HEADER "${CPU_FEATURES_HDRS}") 143 setup_include_and_definitions(cpu_features) 144 target_link_libraries(cpu_features PUBLIC ${CMAKE_DL_LIBS}) 145 set_property(TARGET cpu_features PROPERTY POSITION_INDEPENDENT_CODE ${BUILD_PIC}) 146 target_include_directories(cpu_features 147 PUBLIC $<INSTALL_INTERFACE:${CMAKE_INSTALL_INCLUDEDIR}/cpu_features> [all …]
|
D | TEST_MAPPING | 4 "name": "cpu_features-bit_utils_test" 7 "name": "cpu_features-string_view_test" 10 "name": "cpu_features-stack_line_reader_test" 13 "name": "cpu_features-cpuinfo_test"
|
D | README.md | 1 # cpu_features [![Build Status](https://travis-ci.org/google/cpu_features.svg?branch=master)](https… 22 can be used widely. To ensure that cpu_features works on as many platforms 28 cpu_features is suitable for implementing fundamental libc functions like 123 Building `cpu_features` (check [quickstart](#quickstart) below) brings a small executable to test t… 169 [cpu_features](https://github.com/google/cpu_features) is now officially 176 The cpu_features library is licensed under the terms of the Apache license. 189 cmake -B/tmp/cpu_features -H. -GNinja -DCMAKE_BUILD_TYPE=Release 190 ninja -C/tmp/cpu_features 191 /tmp/cpu_features/list_cpu_features --json 196 cmake -B/tmp/cpu_features -H. -GNinja -DBUILD_TESTING=ON [all …]
|
D | METADATA | 1 name: "cpu_features" 6 value: "https://github.com/google/cpu_features" 10 value: "https://github.com/google/cpu_features.git"
|
/external/cpu_features/cmake/ |
D | README.md | 3 ## Recommended usage : Incorporating cpu_features into a CMake project 6 cpu_features in a subdirectory of your project or as an embedded dependency. 14 1- Download cpu_features and copy it in a sub-directory in your project. 15 or add cpu_features as a git-submodule in your project 18 cpu_features directly and use the `cpu_features` target in your project. 20 3- Add the `cpu_features` target to the `target_link_libraries()` section of 25 CMake default options for cpu_features is Release built type with tests
|
/external/rust/crates/ring/src/ec/curve25519/ |
D | x25519.rs | 62 let cpu_features = private_key.cpu_features; in x25519_public_from_private() localVariable 69 if cpu::arm::NEON.available(cpu_features) { in x25519_public_from_private() 97 let cpu_features = my_private_key.cpu_features; in x25519_ecdh() localVariable 110 cpu_features: cpu::Features, in x25519_ecdh() 114 if cpu::arm::NEON.available(cpu_features) { in x25519_ecdh() 135 cpu_features, in x25519_ecdh()
|
/external/mesa3d/src/mesa/x86/ |
D | common_x86.c | 235 GLuint cpu_features, cpu_features_ecx; in _mesa_get_x86_features() local 249 cpu_features = _mesa_x86_cpuid_edx(1); in _mesa_get_x86_features() 252 if (cpu_features & X86_CPU_FPU) in _mesa_get_x86_features() 254 if (cpu_features & X86_CPU_CMOV) in _mesa_get_x86_features() 258 if (cpu_features & X86_CPU_MMX) in _mesa_get_x86_features() 263 if (cpu_features & X86_CPU_XMM) in _mesa_get_x86_features() 265 if (cpu_features & X86_CPU_XMM2) in _mesa_get_x86_features() 277 if (cpu_features & X86_CPU_MMX) { in _mesa_get_x86_features()
|
/external/rust/crates/ring/src/ec/ |
D | keys.rs | 26 pub(crate) cpu_features: cpu::Features, field 33 cpu_features: cpu::Features, in generate() 38 cpu_features, in generate() 47 cpu_features: cpu::Features, in from_bytes() 57 cpu_features, in from_bytes()
|
D | suite_b.rs | 160 cpu_features: cpu::Features, in key_pair_from_pkcs8() 173 key_pair_from_bytes(curve, private_key, public_key, cpu_features) in key_pair_from_pkcs8() 216 cpu_features: cpu::Features, in key_pair_from_bytes() 218 let seed = ec::Seed::from_bytes(curve, private_key_bytes, cpu_features) in key_pair_from_bytes()
|
/external/fec/ |
D | cpu_features.s | 2 .global cpu_features symbol 3 .type cpu_features,@function 4 cpu_features: label
|
/external/exoplayer/tree/extensions/av1/src/main/jni/ |
D | CMakeLists.txt | 31 set(cpu_features_root "${libgav1_jni_root}/cpu_features") 32 set(cpu_features_build "${libgav1_jni_build}/cpu_features") 34 # Build cpu_features library. 55 PRIVATE cpu_features
|
/external/skqp/src/core/ |
D | SkCpu.cpp | 111 uint64_t cpu_features = android_getCpuFeatures(); in read_cpu_features() local 112 if (cpu_features & ANDROID_CPU_ARM_FEATURE_NEON) { features |= SkCpu::NEON; } in read_cpu_features() 113 if (cpu_features & ANDROID_CPU_ARM_FEATURE_NEON_FMA) { features |= SkCpu::NEON_FMA; } in read_cpu_features() 114 if (cpu_features & ANDROID_CPU_ARM_FEATURE_VFP_FP16) { features |= SkCpu::VFP_FP16; } in read_cpu_features()
|
/external/rust/crates/ring/src/ |
D | aead.rs | 213 key.cpu_features, in open_within_() 351 key.cpu_features, in seal_in_place_separate_tag_() 390 cpu_features: cpu::Features, field 415 let cpu_features = cpu::features(); in new() localVariable 417 inner: (algorithm.init)(key_bytes, cpu_features)?, in new() 419 cpu_features, in new() 563 init: fn(key: &[u8], cpu_features: cpu::Features) -> Result<KeyInner, error::Unspecified>, 570 cpu_features: cpu::Features, 578 cpu_features: cpu::Features,
|
/external/libgav1/libgav1/src/dsp/ |
D | dsp.cc | 94 const uint32_t cpu_features = GetCpuInfo(); in DspInit() local 96 if ((cpu_features & kSSE4_1) != 0) { in DspInit() 125 if ((cpu_features & kAVX2) != 0) { in DspInit()
|
/external/skia/src/core/ |
D | SkCpu.cpp | 142 uint64_t cpu_features = android_getCpuFeatures(); in read_cpu_features() local 143 if (cpu_features & ANDROID_CPU_ARM_FEATURE_NEON) { features |= SkCpu::NEON; } in read_cpu_features() 144 if (cpu_features & ANDROID_CPU_ARM_FEATURE_NEON_FMA) { features |= SkCpu::NEON_FMA; } in read_cpu_features() 145 if (cpu_features & ANDROID_CPU_ARM_FEATURE_VFP_FP16) { features |= SkCpu::VFP_FP16; } in read_cpu_features()
|
/external/cpu_features/ndk_compat/ |
D | README.md | 4 transition from the NDK to [Google's cpu_features library](https://github.com/google/cpu_features).
|
D | cpu-features.h | 301 extern int android_setCpu(int cpu_count, uint64_t cpu_features); 314 extern int android_setCpuArm(int cpu_count, uint64_t cpu_features,
|