Home
last modified time | relevance | path

Searched refs:KeymasterBlob (Results 1 – 25 of 33) sorted by relevance

12

/system/keymaster/tests/
Dwrapped_key_test.cpp71 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()
Dckdf_test.cpp83 KeymasterBlob hex2blob(const char* hex) { in hex2blob()
84 return hex2span<KeymasterBlob>(hex); in hex2blob()
/system/keymaster/include/keymaster/
Dwrapped_key.h58 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);
Dkeymaster_enforcement.h165 KeymasterBlob* sharingCheck) = 0;
/system/keymaster/legacy_support/
Dkeymaster_passthrough_key.cpp61 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()
Dkeymaster_passthrough_operation.cpp34 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()
Dkeymaster_passthrough_engine.cpp96 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/
Dwrapped_key.cpp41 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()
Dsoft_keymaster_enforcement.cpp96 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()
Dckdf.cpp40 keymaster_error_t ckdf(const KeymasterKeyBlob& key, const KeymasterBlob& label, in DEFINE_OPENSSL_OBJECT_POINTER()
/system/keymaster/include/keymaster/legacy_support/
Dkeymaster_passthrough_engine.h36 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/
DKeymasterBlob.h25 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/
Dckdf.h28 keymaster_error_t ckdf(const KeymasterKeyBlob& key, const KeymasterBlob& label,
36 inline keymaster_error_t ckdf(const KeymasterKeyBlob& key, const KeymasterBlob& label, in ckdf()
Dsoft_keymaster_enforcement.h44 KeymasterBlob* sharingCheck) override;
/system/security/keystore/binder/android/security/keystore/
DIKeystoreService.aidl20 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/
Dsoftware_keyblobs.h32 extern KeymasterBlob softwareRootOfTrust;
36 const KeymasterBlob& root_of_trust);
/system/security/keystore/binder/android/security/keymaster/
DKeymasterBlob.aidl20 parcelable KeymasterBlob cpp_header "keystore/KeymasterBlob.h";
/system/security/keystore-engine/
Dkeystore_backend_binder.cpp61 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/
Dkeystore.cpp37 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/
Dkey_store_service.h99 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,
Dkeystore_aidl_hidl_marshalling_utils.cpp236 status_t KeymasterBlob::readFromParcel(const Parcel* in) { in readFromParcel()
241 status_t KeymasterBlob::writeToParcel(Parcel* out) const { in writeToParcel()
Dkeystore_client_impl.cpp240 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/
Dpure_soft_keymaster_context.cpp272 KeymasterBlob iv; in UnwrapKey()
275 KeymasterBlob tag; in UnwrapKey()
276 KeymasterBlob wrapped_key_description; in UnwrapKey()
/system/keymaster/include/keymaster/contexts/
Dsoft_keymaster_context.h126 const KeymasterBlob root_of_trust_;
/system/keymaster/key_blob_utils/
Dsoftware_keyblobs.cpp40 KeymasterBlob softwareRootOfTrust(SWROT);
82 const KeymasterBlob& root_of_trust) { in BuildHiddenAuthorizations()

12