/system/keymaster/tests/ |
D | wrapped_key_test.cpp | 71 KeymasterBlob iv = {reinterpret_cast<const uint8_t*>(test_iv.c_str()), test_iv.size()}; in TEST() 76 KeymasterBlob tag = {reinterpret_cast<const uint8_t*>(test_tag.c_str()), test_tag.size()}; in TEST() 83 KeymasterBlob iv2; in TEST() 84 KeymasterBlob tag2; in TEST() 85 KeymasterBlob wrapped_key_description; in TEST() 113 KeymasterBlob iv; in TEST() 114 KeymasterBlob tag; in TEST() 115 KeymasterBlob wrapped_key_description; in TEST()
|
D | ckdf_test.cpp | 83 KeymasterBlob hex2blob(const char* hex) { in hex2blob() 84 return hex2span<KeymasterBlob>(hex); in hex2blob()
|
/system/keymaster/include/keymaster/ |
D | wrapped_key.h | 58 const KeymasterBlob& iv, keymaster_key_format_t key_format, 59 const KeymasterKeyBlob& secure_key, const KeymasterBlob& tag, 63 keymaster_error_t parse_wrapped_key(const KeymasterKeyBlob& wrapped_key, KeymasterBlob* iv, 65 KeymasterBlob* tag, AuthorizationSet* auth_list, 67 KeymasterBlob* wrapped_key_description);
|
D | keymaster_enforcement.h | 165 KeymasterBlob* sharingCheck) = 0;
|
/system/keymaster/legacy_support/ |
D | keymaster_passthrough_key.cpp | 61 KeymasterBlob app_data; in formatted_key_material() 63 app_data = KeymasterBlob(km_app_data); in formatted_key_material() 67 KeymasterBlob client_id; in formatted_key_material() 69 client_id = KeymasterBlob(km_client_id); in formatted_key_material() 72 KeymasterBlob export_data; in formatted_key_material()
|
D | keymaster_passthrough_operation.cpp | 34 std::vector<KeymasterBlob> accumulate_output; in Finish() 42 accumulate_output.push_back(KeymasterBlob(out)); in Finish() 71 accumulate_output.push_back(KeymasterBlob(out)); in Finish()
|
D | keymaster_passthrough_engine.cpp | 96 const KeymasterBlob& client_id, in ExportKey() 97 const KeymasterBlob& app_data, in ExportKey() 98 KeymasterBlob* export_data) const override { in ExportKey() 104 *export_data = KeymasterBlob(my_export_data.data, my_export_data.data_length); in ExportKey()
|
/system/keymaster/km_openssl/ |
D | wrapped_key.cpp | 41 keymaster_error_t build_wrapped_key(const KeymasterKeyBlob& transit_key, const KeymasterBlob& iv, in build_wrapped_key() 43 const KeymasterKeyBlob& secure_key, const KeymasterBlob& tag, in build_wrapped_key() 82 keymaster_error_t parse_wrapped_key(const KeymasterKeyBlob& wrapped_key, KeymasterBlob* iv, in parse_wrapped_key() 84 KeymasterBlob* tag, AuthorizationSet* auth_list, in parse_wrapped_key() 86 KeymasterBlob* wrapped_key_description) { in parse_wrapped_key() 97 *iv = KeymasterBlob(record->iv->data, record->iv->length); in parse_wrapped_key() 112 *tag = KeymasterBlob(record->tag->data, record->tag->length); in parse_wrapped_key()
|
D | soft_keymaster_enforcement.cpp | 96 size_t data_chunk_count, KeymasterBlob* output) { in hmacSha256() 148 KeymasterBlob* sharingCheck) { in ComputeSharedHmac() 167 KeymasterBlob(reinterpret_cast<const uint8_t*>(kSharedHmacLabel), strlen(kSharedHmacLabel)), in ComputeSharedHmac()
|
D | ckdf.cpp | 40 keymaster_error_t ckdf(const KeymasterKeyBlob& key, const KeymasterBlob& label, in DEFINE_OPENSSL_OBJECT_POINTER()
|
/system/keymaster/include/keymaster/legacy_support/ |
D | keymaster_passthrough_engine.h | 36 typedef TKeymasterBlob<keymaster_blob_t> KeymasterBlob; typedef 54 const KeymasterBlob& client_id, 55 const KeymasterBlob& app_data, 56 KeymasterBlob* export_data) const = 0;
|
/system/security/keystore/include/keystore/ |
D | KeymasterBlob.h | 25 struct KeymasterBlob : public ::android::Parcelable { struct 26 KeymasterBlob(){}; in KeymasterBlob() function 27 explicit KeymasterBlob(hardware::hidl_vec<uint8_t> data) : data_(data) {} in KeymasterBlob() argument
|
/system/keymaster/include/keymaster/km_openssl/ |
D | ckdf.h | 28 keymaster_error_t ckdf(const KeymasterKeyBlob& key, const KeymasterBlob& label, 36 inline keymaster_error_t ckdf(const KeymasterKeyBlob& key, const KeymasterBlob& label, in ckdf()
|
D | soft_keymaster_enforcement.h | 44 KeymasterBlob* sharingCheck) override;
|
/system/security/keystore/binder/android/security/keystore/ |
D | IKeystoreService.aidl | 20 import android.security.keymaster.KeymasterBlob; 52 …KeystoreKeyCharacteristicsCallback cb, String alias, in KeymasterBlob clientId, in KeymasterBlob a… in getKeyCharacteristics() 56 … int exportKey(IKeystoreExportKeyCallback cb, String alias, int format, in KeymasterBlob clientId, in exportKey() 57 in KeymasterBlob appData, int uid); in exportKey()
|
/system/keymaster/include/keymaster/key_blob_utils/ |
D | software_keyblobs.h | 32 extern KeymasterBlob softwareRootOfTrust; 36 const KeymasterBlob& root_of_trust);
|
/system/security/keystore/binder/android/security/keymaster/ |
D | KeymasterBlob.aidl | 20 parcelable KeymasterBlob cpp_header "keystore/KeymasterBlob.h";
|
/system/security/keystore-engine/ |
D | keystore_backend_binder.cpp | 61 using android::security::keymaster::KeymasterBlob; 111 auto binder_result = service->getKeyCharacteristics(kc_promise, key_name16, KeymasterBlob(), in sign() 112 KeymasterBlob(), UID_SELF, &error_code); in sign() 261 KeymasterBlob() /* clientId */, KeymasterBlob() /* appData */, UID_SELF, &error_code); in get_pubkey()
|
/system/hardware/interfaces/wifi/keystore/1.0/default/ |
D | keystore.cpp | 37 using android::security::keymaster::KeymasterBlob; 98 KeymasterBlob() /* clientId */, KeymasterBlob() /* appData */, UID_SELF, &error_code); in getPublicKey() 152 auto binder_result = service->getKeyCharacteristics(kc_promise, key_name16, KeymasterBlob(), in sign() 153 KeymasterBlob(), UID_SELF, &error_code); in sign()
|
/system/security/keystore/ |
D | key_store_service.h | 99 const ::android::security::keymaster::KeymasterBlob& clientId, 100 const ::android::security::keymaster::KeymasterBlob& appId, int32_t uid, 111 const ::android::security::keymaster::KeymasterBlob& clientId, 112 const ::android::security::keymaster::KeymasterBlob& appId, int32_t uid,
|
D | keystore_aidl_hidl_marshalling_utils.cpp | 236 status_t KeymasterBlob::readFromParcel(const Parcel* in) { in readFromParcel() 241 status_t KeymasterBlob::writeToParcel(Parcel* out) const { in writeToParcel()
|
D | keystore_client_impl.cpp | 240 promise, key_name16, android::security::keymaster::KeymasterBlob(), in getKeyCharacteristics() 241 android::security::keymaster::KeymasterBlob(), kDefaultUID, &error_code); in getKeyCharacteristics() 294 promise, key_name16, (int)export_format, android::security::keymaster::KeymasterBlob(), in exportKey() 295 android::security::keymaster::KeymasterBlob(), kDefaultUID, &error_code); in exportKey()
|
/system/keymaster/contexts/ |
D | pure_soft_keymaster_context.cpp | 272 KeymasterBlob iv; in UnwrapKey() 275 KeymasterBlob tag; in UnwrapKey() 276 KeymasterBlob wrapped_key_description; in UnwrapKey()
|
/system/keymaster/include/keymaster/contexts/ |
D | soft_keymaster_context.h | 126 const KeymasterBlob root_of_trust_;
|
/system/keymaster/key_blob_utils/ |
D | software_keyblobs.cpp | 40 KeymasterBlob softwareRootOfTrust(SWROT); 82 const KeymasterBlob& root_of_trust) { in BuildHiddenAuthorizations()
|