Home
last modified time | relevance | path

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

123

/system/keymaster/tests/
Dwrapped_key_test.cpp70 KeymasterBlob iv = {reinterpret_cast<const uint8_t*>(test_iv.c_str()), test_iv.size()}; in TEST()
75 KeymasterBlob tag = {reinterpret_cast<const uint8_t*>(test_tag.c_str()), test_tag.size()}; in TEST()
82 KeymasterBlob iv2; in TEST()
83 KeymasterBlob tag2; in TEST()
84 KeymasterBlob wrapped_key_description; in TEST()
112 KeymasterBlob iv; in TEST()
113 KeymasterBlob tag; in TEST()
114 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);
Dkey_factory.h41 const KeymasterBlob& issuer_subject,
51 const KeymasterBlob& issuer_subject,
Dremote_provisioning_utils.h70 validateAndExtractEekPubAndId(bool testMode, const KeymasterBlob& endpointEncryptionCertChain);
73 validateAndExtractPubkeys(bool testMode, uint32_t numKeys, KeymasterBlob* keysToSign,
Dandroid_keymaster_messages.h363 KeymasterBlob issuer_subject;
402 KeymasterBlob maced_public_key;
419 KeymasterBlob* keys_to_sign_array = nullptr;
420 KeymasterBlob endpoint_enc_cert_chain;
421 KeymasterBlob challenge;
431 KeymasterBlob keys_to_sign_mac;
432 KeymasterBlob device_info_blob;
433 KeymasterBlob protected_data_blob;
449 KeymasterBlob* keys_to_sign_array = nullptr;
450 KeymasterBlob challenge;
[all …]
/system/keymaster/legacy_support/
Dkeymaster_passthrough_key.cpp59 KeymasterBlob app_data; in formatted_key_material()
61 app_data = KeymasterBlob(km_app_data); in formatted_key_material()
65 KeymasterBlob client_id; in formatted_key_material()
67 client_id = KeymasterBlob(km_client_id); in formatted_key_material()
70 KeymasterBlob export_data; in formatted_key_material()
Dkeymaster_passthrough_operation.cpp33 std::vector<KeymasterBlob> accumulate_output; in Finish()
42 accumulate_output.push_back(KeymasterBlob(out)); in Finish()
72 accumulate_output.push_back(KeymasterBlob(out)); in Finish()
Dec_keymaster1_key.cpp68 const KeymasterBlob& /* issuer_subject */, in GenerateKey() argument
92 const KeymasterBlob& /* issuer_subject */, in ImportKey() argument
Drsa_keymaster1_key.cpp88 const KeymasterBlob& /* issuer_subject */, in GenerateKey() argument
103 const KeymasterBlob& /* issuer_subject */, in ImportKey() argument
/system/keymaster/km_openssl/
Dwrapped_key.cpp40 keymaster_error_t build_wrapped_key(const KeymasterKeyBlob& transit_key, const KeymasterBlob& iv, in build_wrapped_key()
42 const KeymasterKeyBlob& secure_key, const KeymasterBlob& tag, in build_wrapped_key()
81 keymaster_error_t parse_wrapped_key(const KeymasterKeyBlob& wrapped_key, KeymasterBlob* iv, in parse_wrapped_key()
83 KeymasterBlob* tag, AuthorizationSet* auth_list, in parse_wrapped_key()
85 KeymasterBlob* wrapped_key_description) { in parse_wrapped_key()
96 *iv = KeymasterBlob(record->iv->data, record->iv->length); in parse_wrapped_key()
111 *tag = KeymasterBlob(record->tag->data, record->tag->length); in parse_wrapped_key()
Dsymmetric_key.cpp38 const KeymasterBlob& /* issuer_subject */, in GenerateKey() argument
71 const KeymasterBlob& /* issuer_subject */, in ImportKey() argument
Dsoft_keymaster_enforcement.cpp108 size_t data_chunk_count, KeymasterBlob* output) { in hmacSha256()
160 KeymasterBlob* sharingCheck) { in ComputeSharedHmac()
179 KeymasterBlob(reinterpret_cast<const uint8_t*>(kSharedHmacLabel), strlen(kSharedHmacLabel)), in ComputeSharedHmac()
/system/keymaster/include/keymaster/legacy_support/
Dkeymaster_passthrough_engine.h35 typedef TKeymasterBlob<keymaster_blob_t> KeymasterBlob; typedef
54 const KeymasterBlob& client_id,
55 const KeymasterBlob& app_data,
56 KeymasterBlob* export_data) const = 0;
Dec_keymaster1_key.h48 const KeymasterBlob& issuer_subject, //
58 const KeymasterBlob& issuer_subject,
Drsa_keymaster1_key.h48 const KeymasterBlob& issuer_subject, //
58 const KeymasterBlob& issuer_subject,
Dkeymaster1_legacy_support.h69 const KeymasterBlob& issuer_subject, in GenerateKey()
89 const KeymasterBlob& issuer_subject, in ImportKey()
154 const KeymasterBlob& issuer_subject, //
Dkeymaster_passthrough_key.h47 const KeymasterBlob& /* issuer_subject */, in GenerateKey() argument
58 const KeymasterBlob& /* issuer_subject */, in ImportKey() 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()
Dec_key_factory.h36 const KeymasterBlob& issuer_subject, //
45 const KeymasterBlob& issuer_subject,
54 const KeymasterBlob& issuer_subject,
Dattestation_utils.h38 AttestKeyInfo(const UniquePtr<Key>& key, const KeymasterBlob* issuer_subject,
48 const KeymasterBlob* issuer_subject;
Drsa_key_factory.h34 const KeymasterBlob& issuer_subject, //
43 const KeymasterBlob& issuer_subject,
Dsymmetric_key.h37 const KeymasterBlob& issuer_subject, //
46 const KeymasterBlob& issuer_subject, //
/system/keymaster/include/keymaster/key_blob_utils/
Dsoftware_keyblobs.h34 extern KeymasterBlob softwareRootOfTrust;
38 const KeymasterBlob& root_of_trust);
/system/keymaster/include/keymaster/contexts/
Dsoft_keymaster_context.h83 const KeymasterBlob& issuer_subject,
124 const KeymasterBlob root_of_trust_;

123