Home
last modified time | relevance | path

Searched refs:KeymasterBlob (Results 1 – 25 of 57) 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.h69 validateAndExtractEekPubAndId(bool testMode, const KeymasterBlob& endpointEncryptionCertChain);
72 validateAndExtractPubkeys(bool testMode, uint32_t numKeys, KeymasterBlob* keysToSign,
/system/keymaster/legacy_support/
Dkeymaster_passthrough_key.cpp56 KeymasterBlob app_data; in formatted_key_material()
58 app_data = KeymasterBlob(km_app_data); in formatted_key_material()
62 KeymasterBlob client_id; in formatted_key_material()
64 client_id = KeymasterBlob(km_client_id); in formatted_key_material()
67 KeymasterBlob export_data; in formatted_key_material()
Dkeymaster_passthrough_operation.cpp32 std::vector<KeymasterBlob> accumulate_output; in Finish()
41 accumulate_output.push_back(KeymasterBlob(out)); in Finish()
71 accumulate_output.push_back(KeymasterBlob(out)); in Finish()
Drsa_keymaster1_key.cpp85 const KeymasterBlob& /* issuer_subject */, in GenerateKey() argument
100 const KeymasterBlob& /* issuer_subject */, in ImportKey() argument
Dec_keymaster1_key.cpp67 const KeymasterBlob& /* issuer_subject */, in GenerateKey() argument
91 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.cpp35 const KeymasterBlob& /* issuer_subject */, in GenerateKey() argument
68 const KeymasterBlob& /* issuer_subject */, in ImportKey() argument
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()
/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.h46 const KeymasterBlob& issuer_subject, //
56 const KeymasterBlob& issuer_subject,
Drsa_keymaster1_key.h46 const KeymasterBlob& issuer_subject, //
56 const KeymasterBlob& issuer_subject,
Dkeymaster1_legacy_support.h68 const KeymasterBlob& issuer_subject, in GenerateKey()
88 const KeymasterBlob& issuer_subject, in ImportKey()
149 const KeymasterBlob& issuer_subject, //
Dkeymaster_passthrough_key.h45 const KeymasterBlob& /* issuer_subject */, in GenerateKey() argument
56 const KeymasterBlob& /* issuer_subject */, in ImportKey() argument
/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()
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,
Dec_key_factory.h37 const KeymasterBlob& issuer_subject, //
46 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.h33 extern KeymasterBlob softwareRootOfTrust;
37 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