Home
last modified time | relevance | path

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

/hardware/interfaces/keymaster/4.1/support/include/keymasterV4_1/
DKeymaster4.h77 Return<void> getKeyCharacteristics(const hidl_vec<uint8_t>& keyBlob, in getKeyCharacteristics() argument
81 return km4_0_dev_->getKeyCharacteristics(keyBlob, clientId, appData, _hidl_cb); in getKeyCharacteristics()
99 Return<void> exportKey(KeyFormat exportFormat, const hidl_vec<uint8_t>& keyBlob, in exportKey() argument
102 return km4_0_dev_->exportKey(exportFormat, keyBlob, clientId, appData, _hidl_cb); in exportKey()
117 Return<V4_0::ErrorCode> deleteKey(const hidl_vec<uint8_t>& keyBlob) override { in deleteKey() argument
118 return km4_0_dev_->deleteKey(keyBlob); in deleteKey()
DKeymaster3.h72 Return<void> getKeyCharacteristics(const hidl_vec<uint8_t>& keyBlob,
89 Return<void> exportKey(KeyFormat exportFormat, const hidl_vec<uint8_t>& keyBlob,
98 Return<V4_0::ErrorCode> deleteKey(const hidl_vec<uint8_t>& keyBlob) override;
/hardware/interfaces/keymaster/4.1/support/
DKeymaster3.cpp151 auto cb = [&](V3_0::ErrorCode error, const hidl_vec<uint8_t>& keyBlob, in generateKey()
153 _hidl_cb(convert(error), keyBlob, convert(characteristics)); in generateKey()
160 Return<void> Keymaster3::getKeyCharacteristics(const hidl_vec<uint8_t>& keyBlob, in getKeyCharacteristics() argument
168 auto rc = km3_dev_->getKeyCharacteristics(keyBlob, clientId, appData, cb); in getKeyCharacteristics()
175 auto cb = [&](V3_0::ErrorCode error, const hidl_vec<uint8_t>& keyBlob, in importKey()
177 _hidl_cb(convert(error), keyBlob, convert(chars)); in importKey()
184 Return<void> Keymaster3::exportKey(KeyFormat exportFormat, const hidl_vec<uint8_t>& keyBlob, in exportKey() argument
190 auto rc = km3_dev_->exportKey(convert(exportFormat), keyBlob, clientId, appData, cb); in exportKey()
217 Return<V4_0::ErrorCode> Keymaster3::deleteKey(const hidl_vec<uint8_t>& keyBlob) { in deleteKey() argument
218 auto rc = km3_dev_->deleteKey(keyBlob); in deleteKey()
/hardware/interfaces/security/keymint/aidl/vts/functional/
DAttestKeyTest.cpp56 {} /* attestation signing key */, &attest_key.keyBlob, in TEST_P()
151 CheckedDeleteKey(&attest_key.keyBlob); in TEST_P()
211 {} /* attestation signing key */, &attest_key.keyBlob, in TEST_P()
251 CheckedDeleteKey(&attest_key.keyBlob); in TEST_P()
296 attest_key.keyBlob = key_blob_list[i - 1]; in TEST_P()
368 attest_key.keyBlob = key_blob_list[i - 1]; in TEST_P()
442 attest_key.keyBlob = key_blob_list[i - 1]; in TEST_P()
515 {} /* attestation signing key */, &attest_key.keyBlob, in TEST_P()
546 CheckedDeleteKey(&attest_key.keyBlob); in TEST_P()
562 {} /* attestation signing key */, &attest_key.keyBlob, in TEST_P()
[all …]
DKeyMintAidlTestBase.cpp240 EXPECT_GT(creationResult.keyBlob.size(), 0); in GenerateKey()
241 *key_blob = std::move(creationResult.keyBlob); in GenerateKey()
288 EXPECT_GT(creationResult.keyBlob.size(), 0); in ImportKey()
290 *key_blob = std::move(creationResult.keyBlob); in ImportKey()
332 EXPECT_GT(creationResult.keyBlob.size(), 0); in ImportWrappedKey()
334 key_blob_ = std::move(creationResult.keyBlob); in ImportWrappedKey()
DVtsRemotelyProvisionedComponentTests.cpp219 attestKey.keyBlob = std::move(privateKeyBlob); in TEST_P()
233 vector<uint8_t> attested_key_blob = std::move(creationResult.keyBlob); in TEST_P()
/hardware/interfaces/security/keymint/aidl/android/hardware/security/keymint/
DIKeyMintDevice.aidl515 void deleteKey(in byte[] keyBlob); in deleteKey() argument
754 BeginResult begin(in KeyPurpose purpose, in byte[] keyBlob, in KeyParameter[] params, in begin() argument
837 in byte[] keyBlob, in byte[] appId, in byte[] appData); in getKeyCharacteristics() argument
DKeyCreationResult.aidl32 byte[] keyBlob;
DAttestationKey.aidl33 byte[] keyBlob;
/hardware/interfaces/security/keymint/aidl/aidl_api/android.hardware.security.keymint/current/android/hardware/security/keymint/
DIKeyMintDevice.aidl44 void deleteKey(in byte[] keyBlob); in deleteKey() argument
47 …begin(in android.hardware.security.keymint.KeyPurpose purpose, in byte[] keyBlob, in android.hardw… in begin() argument
51 …android.hardware.security.keymint.KeyCharacteristics[] getKeyCharacteristics(in byte[] keyBlob, in… in getKeyCharacteristics() argument
DKeyCreationResult.aidl38 byte[] keyBlob;
DAttestationKey.aidl38 byte[] keyBlob;
/hardware/interfaces/security/keymint/aidl/aidl_api/android.hardware.security.keymint/1/android/hardware/security/keymint/
DIKeyMintDevice.aidl44 void deleteKey(in byte[] keyBlob); in deleteKey() argument
47 …begin(in android.hardware.security.keymint.KeyPurpose purpose, in byte[] keyBlob, in android.hardw… in begin() argument
51 …android.hardware.security.keymint.KeyCharacteristics[] getKeyCharacteristics(in byte[] keyBlob, in… in getKeyCharacteristics() argument
DKeyCreationResult.aidl38 byte[] keyBlob;
DAttestationKey.aidl38 byte[] keyBlob;
/hardware/qcom/keymaster/
Dkeymaster_qcom.cpp103 const uint8_t* keyBlob, const size_t keyBlobLength, in qcom_km_get_keypair_public() argument
106 struct qcom_km_key_blob * keyblob_ptr = (struct qcom_km_key_blob *)keyBlob; in qcom_km_get_keypair_public()
113 if (keyBlob == NULL) { in qcom_km_get_keypair_public()
317 uint8_t** keyBlob, size_t* keyBlobLength) { in qcom_km_generate_keypair() argument
331 if (keyBlob == NULL || keyBlobLength == NULL) { in qcom_km_generate_keypair()
378 *keyBlob = keydata.release(); in qcom_km_generate_keypair()
386 uint8_t** keyBlob, size_t* keyBlobLength) in qcom_km_import_keypair() argument
396 } else if (keyBlob == NULL || keyBlobLength == NULL) { in qcom_km_import_keypair()
461 *keyBlob = keydata.release(); in qcom_km_import_keypair()
471 const uint8_t* keyBlob, const size_t keyBlobLength, in qcom_km_sign_data() argument
[all …]
/hardware/interfaces/keymaster/3.0/
DIKeymasterDevice.hal83 * @return keyBlob Opaque, encrypted descriptor of the generated key, which generally contains a
90 generates(ErrorCode error, vec<uint8_t> keyBlob, KeyCharacteristics keyCharacteristics);
104 * @return keyBlob Opaque, encrypted descriptor of the generated key, which will generally
113 generates(ErrorCode error, vec<uint8_t> keyBlob, KeyCharacteristics keyCharacteristics);
116 * Returns the characteristics of the specified key, if the keyBlob is valid (implementations
119 * @param keyBlob The opaque descriptor returned by generateKey() or importKey();
136 getKeyCharacteristics(vec<uint8_t> keyBlob, vec<uint8_t> clientId, vec<uint8_t> appData)
144 * @param keyBlob The opaque descriptor returned by generateKey() or importKey(). The
161 exportKey(KeyFormat keyFormat, vec<uint8_t> keyBlob, vec<uint8_t> clientId,
209 deleteKey(vec<uint8_t> keyBlob) generates(ErrorCode error);
[all …]
/hardware/interfaces/keymaster/4.0/
DIKeymasterDevice.hal465 * @return keyBlob Opaque descriptor of the generated key. The recommended implementation
473 generates (ErrorCode error, vec<uint8_t> keyBlob, KeyCharacteristics keyCharacteristics);
500 * @return keyBlob Opaque descriptor of the imported key. The recommended implementation
508 generates (ErrorCode error, vec<uint8_t> keyBlob, KeyCharacteristics keyCharacteristics);
585 * @return keyBlob Opaque descriptor of the imported key. It is recommended that the keyBlob
592 generates(ErrorCode error, vec<uint8_t> keyBlob, KeyCharacteristics keyCharacteristics);
606 * @param keyBlob The opaque descriptor returned by generateKey, importKey or importWrappedKey.
621 getKeyCharacteristics(vec<uint8_t> keyBlob, vec<uint8_t> clientId, vec<uint8_t> appData)
629 * @param keyBlob The opaque descriptor returned by generateKey() or importKey(). The
644 exportKey(KeyFormat keyFormat, vec<uint8_t> keyBlob, vec<uint8_t> clientId,
[all …]
/hardware/interfaces/security/keymint/aidl/vts/performance/
DKeyMintBenchmark.cpp249 key_blob_ = std::move(creationResult.keyBlob); in GenerateKey()