Home
last modified time | relevance | path

Searched refs:macedKey (Results 1 – 4 of 4) sorted by relevance

/system/core/trusty/keymaster/keymint/
DTrustyRemotelyProvisionedComponentDevice.cpp90 macedPublicKey->macedKey = km_utils::kmBlob2vector(response.maced_public_key); in generateEcdsaP256KeyPair()
104 request.SetKeyToSign(i, keysToSign[i].macedKey.data(), keysToSign[i].macedKey.size()); in generateCertificateRequest()
/system/keymaster/ng/
DAndroidRemotelyProvisionedComponentDevice.cpp102 macedPublicKey->macedKey = km_utils::kmBlob2vector(response.maced_public_key); in generateEcdsaP256KeyPair()
116 request.SetKeyToSign(i, keysToSign[i].macedKey.data(), keysToSign[i].macedKey.size()); in generateCertificateRequest()
/system/security/keystore2/src/
Dremote_provisioning.rs294 .map(|key| MacedPublicKey { macedKey: key.to_vec() }) in generate_csr()
322 if maced_public_key.macedKey.len() > cose_key_size + byte_dist_mac0_payload { in generate_csr()
324 &maced_public_key.macedKey in generate_csr()
365 let mut maced_key = MacedPublicKey { macedKey: Vec::new() }; in generate_key_pair()
371 let data = &maced_key.macedKey; in generate_key_pair()
383 db.create_attestation_key_entry(&maced_key.macedKey, &raw_key, &priv_key, &uuid) in generate_key_pair()
/system/keymaster/android_keymaster/
Dandroid_keymaster.cpp395 auto macedKey = constructCoseMac0(macFunction, {} /* externalAad */, cosePublicKey); in GenerateRkpKey() local
396 if (!macedKey) { in GenerateRkpKey()
400 std::vector<uint8_t> enc = macedKey->encode(); in GenerateRkpKey()