Home
last modified time | relevance | path

Searched refs:generateKey (Results 1 – 25 of 34) sorted by relevance

12

/system/hardware/interfaces/wifi/keystore/1.0/vts/functional/
DVtsHalWifiKeystoreV1_0TargetTest.cpp147 bool generateKey(std::string keyName, KeyPurpose purpose, bool useWifiNamespace) { in generateKey() function in __anondc7d3ade0111::WifiKeystoreHalTest
177 rc = securityLevel->generateKey(keyDescriptor(keyName, useWifiNamespace), in generateKey()
240 bool result = generateKey(kTestKeyName, KeyPurpose::SIGNING, true); in TEST_P()
265 bool result = generateKey(kTestKeyName, KeyPurpose::ENCRYPTION, true); in TEST_P()
289 bool result = generateKey(kTestKeyName, KeyPurpose::SIGNING, true); in TEST_P()
362 bool result = generateKey(kTestKeyName, KeyPurpose::SIGNING, false); in TEST_P()
390 bool result = generateKey(kTestKeyName, KeyPurpose::SIGNING, true); in TEST_P()
464 bool result = generateKey(kTestKeyName, KeyPurpose::SIGNING, false); in TEST_P()
489 bool result = generateKey(kTestKeyName, KeyPurpose::SIGNING, true); in TEST_P()
/system/security/keystore2/src/km_compat/
Dslot_test.cpp49 auto status = device->generateKey(keyParams, std::nullopt /* attest_key */, &creationResult); in generateAESKey()
156 status = device->generateKey(kps, std::nullopt /* attest_key */, &creationResult); in TEST()
160 status = device->generateKey(kps, std::nullopt /* attest_key */, &creationResult); in TEST()
Dcertificate_test.cpp67 auto status = device->generateKey(keyParams, std::nullopt /* attest_key */, &creationResult); in getCertificate()
Dkm_compat.h91 ScopedAStatus generateKey(const std::vector<KeyParameter>& in_keyParams,
/system/hardware/interfaces/keystore2/aidl/android/system/keystore2/
DIKeystoreSecurityLevel.aidl133 KeyMetadata generateKey(in KeyDescriptor key, in @nullable KeyDescriptor attestationKey, in generateKey() method
/system/hardware/interfaces/keystore2/aidl/aidl_api/android.system.keystore2/current/android/system/keystore2/
DIKeystoreSecurityLevel.aidl39 …android.system.keystore2.KeyMetadata generateKey(in android.system.keystore2.KeyDescriptor key, in… in generateKey() method
/system/hardware/interfaces/keystore2/aidl/aidl_api/android.system.keystore2/1/android/system/keystore2/
DIKeystoreSecurityLevel.aidl39 …android.system.keystore2.KeyMetadata generateKey(in android.system.keystore2.KeyDescriptor key, in… in generateKey() method
/system/vold/
DKeymaster.cpp130 bool Keymaster::generateKey(const km::AuthorizationSet& inParams, std::string* key) { in generateKey() function in android::vold::Keymaster
138 auto rc = securityLevel->generateKey(in_key, std::nullopt, inParams.vector_data(), 0, {}, in generateKey()
DKeymaster.h115 bool generateKey(const km::AuthorizationSet& inParams, std::string* key);
DKeyStorage.cpp133 if (!keymaster.generateKey(paramsWithRollback, key)) { in generateKeymasterKey()
137 if (!keymaster.generateKey(paramBuilder, key)) return false; in generateKeymasterKey()
/system/keymaster/ng/include/
DAndroidKeymaster41Device.h97 Return<void> generateKey(const hidl_vec<KeyParameter>& keyParams, in generateKey() function
99 return super::generateKey(keyParams, _hidl_cb); in generateKey()
DAndroidKeyMintDevice.h44 ScopedAStatus generateKey(const vector<KeyParameter>& keyParams,
DAndroidKeymaster3Device.h63 Return<void> generateKey(const hidl_vec<KeyParameter>& keyParams,
DAndroidKeymaster4Device.h66 Return<void> generateKey(const hidl_vec<KeyParameter>& keyParams,
/system/core/trusty/keymaster/include/trusty_keymaster/
DTrustyKeyMintDevice.h43 ScopedAStatus generateKey(const vector<KeyParameter>& keyParams,
DTrustyKeymaster3Device.h49 Return<void> generateKey(const hidl_vec<KeyParameter>& keyParams,
DTrustyKeymaster4Device.h60 Return<void> generateKey(const hidl_vec<KeyParameter>& keyParams,
/system/security/keystore/include/keystore/
Dkeystore_client_mock.h44 MOCK_METHOD4(generateKey,
Dkeystore_client.h99 generateKey(const std::string& key_name, const keystore::AuthorizationSet& key_parameters,
Dkeystore_client_impl.h51 generateKey(const std::string& key_name, const keystore::AuthorizationSet& key_parameters,
/system/security/keystore2/src/
Dsecurity_level.rs540 km_dev.generateKey(&params, attest_key.as_ref()) in generate_key()
555 km_dev.generateKey(&params, Some(&attestation_key)) in generate_key()
571 km_dev.generateKey(&params, None) in generate_key()
972 fn generateKey( in generateKey() method
Draw_device.rs232 km_dev.generateKey(&params, None) in lookup_or_generate_key()
/system/security/keystore/
Dkeystore_cli_v2.cpp255 rc = sec_level->generateKey(keyDescriptor(name), {} /* attestationKey */, in loadOrCreateAndVerifyEncryptionKey()
308 rc = sec_level->generateKey(keyDescriptor(name), {} /* attestationKey */, in loadOrCreateAndVerifyAuthenticationKey()
555 auto rc = sec_level->generateKey(keyDescriptor, {} /* attestationKey */, parameters, in TestKey()
769 sec_level->generateKey(keyDescriptor(name), {} /* attestationKey */, params.vector_data(), in GenerateKey()
/system/security/ondevice-signing/
DKeystoreHmacKey.cpp113 auto status = mSecurityLevel->generateKey(mDescriptor, {}, params, 0, {}, &metadata); in createKey()
DKeystoreKey.cpp120 auto status = mSecurityLevel->generateKey(mDescriptor, {}, params, 0, {}, &metadata); in createKey()

12