Home
last modified time | relevance | path

Searched refs:kmBlob2vector (Results 1 – 9 of 9) sorted by relevance

/system/core/trusty/keymaster/keymint/
DTrustyRemotelyProvisionedComponentDevice.cpp90 macedPublicKey->macedKey = km_utils::kmBlob2vector(response.maced_public_key); in generateEcdsaP256KeyPair()
91 *privateKeyHandle = km_utils::kmBlob2vector(response.key_blob); in generateEcdsaP256KeyPair()
114 deviceInfo->deviceInfo = km_utils::kmBlob2vector(response.device_info_blob); in generateCertificateRequest()
115 protectedData->protectedData = km_utils::kmBlob2vector(response.protected_data_blob); in generateCertificateRequest()
116 *keysToSignMac = km_utils::kmBlob2vector(response.keys_to_sign_mac); in generateCertificateRequest()
DTrustySharedSecret.cpp25 using keymint::km_utils::kmBlob2vector;
30 params->seed = kmBlob2vector(response.params.seed); in getSharedSecretParameters()
50 if (response.error == KM_ERROR_OK) *sharingCheck = kmBlob2vector(response.sharing_check); in computeSharedSecret()
DTrustySecureClock.cpp25 using keymint::km_utils::kmBlob2vector;
38 token->mac = kmBlob2vector(response.token.mac); in generateTimeStamp()
DTrustyKeyMintDevice.cpp38 using km_utils::kmBlob2vector;
136 creationResult->keyBlob = kmBlob2vector(response.key_blob); in generateKey()
185 creationResult->keyBlob = kmBlob2vector(response.key_blob); in importKey()
215 creationResult->keyBlob = kmBlob2vector(response.key_blob); in importWrappedKey()
237 *keyBlob = kmBlob2vector(response.upgraded_key); in upgradeKey()
/system/keymaster/ng/
DAndroidRemotelyProvisionedComponentDevice.cpp102 macedPublicKey->macedKey = km_utils::kmBlob2vector(response.maced_public_key); in generateEcdsaP256KeyPair()
103 *privateKeyHandle = km_utils::kmBlob2vector(response.key_blob); in generateEcdsaP256KeyPair()
126 deviceInfo->deviceInfo = km_utils::kmBlob2vector(response.device_info_blob); in generateCertificateRequest()
127 protectedData->protectedData = km_utils::kmBlob2vector(response.protected_data_blob); in generateCertificateRequest()
128 *keysToSignMac = km_utils::kmBlob2vector(response.keys_to_sign_mac); in generateCertificateRequest()
DAndroidSharedSecret.cpp28 using keymint::km_utils::kmBlob2vector;
39 params->seed = kmBlob2vector(response.params.seed); in getSharedSecretParameters()
58 if (response.error == KM_ERROR_OK) *sharingCheck = kmBlob2vector(response.sharing_check); in computeSharedSecret()
DAndroidSecureClock.cpp32 using keymint::km_utils::kmBlob2vector;
51 token->mac = kmBlob2vector(response.token.mac); in generateTimeStamp()
DAndroidKeyMintDevice.cpp36 using km_utils::kmBlob2vector;
282 creationResult->keyBlob = kmBlob2vector(response.key_blob); in generateKey()
313 creationResult->keyBlob = kmBlob2vector(response.key_blob); in importKey()
344 creationResult->keyBlob = kmBlob2vector(response.key_blob); in importWrappedKey()
367 *keyBlob = kmBlob2vector(response.upgraded_key); in upgradeKey()
/system/keymaster/ng/include/
DKeyMintUtils.h87 inline vector<uint8_t> kmBlob2vector(const keymaster_key_blob_t& blob) { in kmBlob2vector() function
92 inline vector<uint8_t> kmBlob2vector(const keymaster_blob_t& blob) { in kmBlob2vector() function
108 result[i].encodedCertificate = kmBlob2vector(cert_chain.entries[i]); in kmCertChain2Aidl()