Searched defs:key_material (Results 26 - 30 of 30) sorted by relevance

12

/system/keymaster/key_blob_utils/
H A Dsoftware_keyblobs.cpp173 const KeymasterKeyBlob& blob, KeymasterKeyBlob* key_material, AuthorizationSet* hw_enforced,
177 const uint8_t* p = blob.key_material;
178 const uint8_t* end = blob.key_material + blob.key_material_size;
233 if (!key_material->Reset(privateLen))
235 memcpy(key_material->writable_data(), key_start, privateLen);
245 KeymasterKeyBlob* key_material,
259 nonce, tag, key_material);
337 return SerializeIntegrityAssuredBlob(key->key_material(), hidden, key->hw_enforced(),
172 ParseOldSoftkeymasterBlob( const KeymasterKeyBlob& blob, KeymasterKeyBlob* key_material, AuthorizationSet* hw_enforced, AuthorizationSet* sw_enforced) argument
243 ParseOcbAuthEncryptedBlob(const KeymasterKeyBlob& blob, const AuthorizationSet& hidden, KeymasterKeyBlob* key_material, AuthorizationSet* hw_enforced, AuthorizationSet* sw_enforced) argument
/system/keymaster/km_openssl/
H A Dattestation_utils.cpp362 const uint8_t* key_material = attestation_signing_key.key_material; local
365 const_cast<const uint8_t**>(&key_material),
/system/keymaster/legacy_support/
H A Dkeymaster1_legacy_support.cpp238 Keymaster1ArbitrationFactory<EcdsaKeymaster1KeyFactory>::LoadKey(KeymasterKeyBlob&& key_material, argument
245 auto rc = software_digest_factory_.LoadKey(move(key_material), additional_params,
256 Keymaster1ArbitrationFactory<RsaKeymaster1KeyFactory>::LoadKey(KeymasterKeyBlob&& key_material, argument
263 auto rc = software_digest_factory_.LoadKey(move(key_material), additional_params,
/system/keymaster/android_keymaster/
H A Dandroid_keymaster.cpp441 keymaster_key_blob_t key_material = {request.key_data, request.key_data_length}; local
444 KeymasterKeyBlob(key_material), &key_blob,
476 KeymasterKeyBlob key_material; local
/system/keymaster/tests/
H A Dandroid_keymaster_test_utils.cpp178 blob_.key_material = nullptr;
180 blob_.key_material = 0;
210 const string& key_material) {
217 keymaster_blob_t key = {reinterpret_cast<const uint8_t*>(key_material.c_str()),
218 key_material.length()};
693 free(const_cast<uint8_t*>(blob_.key_material));
694 blob_.key_material = NULL;
698 assert(blob_.key_material);
699 uint8_t* tmp = const_cast<uint8_t*>(blob_.key_material);
208 ImportKey(const AuthorizationSetBuilder& builder, keymaster_key_format_t format, const string& key_material) argument

Completed in 558 milliseconds

12