Home
last modified time | relevance | path

Searched refs:testMode (Results 1 – 13 of 13) sorted by relevance

/hardware/interfaces/security/rkp/aidl/vts/functional/
DVtsRemotelyProvisionedComponentTests.cpp335 bool testMode = false; in TEST_P() local
336 auto status = provisionable_->generateEcdsaP256KeyPair(testMode, &macedPubKey, &privateKeyBlob); in TEST_P()
339 check_maced_pubkey(macedPubKey, testMode, &coseKeyData); in TEST_P()
358 bool testMode = false; in TEST_P() local
359 auto status = provisionable_->generateEcdsaP256KeyPair(testMode, &macedPubKey, &privateKeyBlob); in TEST_P()
362 check_maced_pubkey(macedPubKey, testMode, &coseKeyData); in TEST_P()
414 bool testMode = true; in TEST_P() local
415 auto status = provisionable_->generateEcdsaP256KeyPair(testMode, &macedPubKey, &privateKeyBlob); in TEST_P()
424 check_maced_pubkey(macedPubKey, testMode, nullptr); in TEST_P()
439 void generateKeys(bool testMode, size_t numKeys) { in generateKeys() argument
[all …]
/hardware/nxp/keymint/KM200/
DJavacardRemotelyProvisionedComponentDevice.h45 bool testMode, MacedPublicKey* macedPublicKey,
49 bool testMode, const std::vector<MacedPublicKey>& keysToSign,
56 ScopedAStatus beginSendData(bool testMode,
DJavacardRemotelyProvisionedComponentDevice.cpp135 JavacardRemotelyProvisionedComponentDevice::generateEcdsaP256KeyPair(bool testMode, in generateEcdsaP256KeyPair() argument
139 array.add(testMode); in generateEcdsaP256KeyPair()
155 bool testMode, const std::vector<MacedPublicKey>& keysToSign) { in beginSendData() argument
160 array.add(testMode); in beginSendData()
255 JavacardRemotelyProvisionedComponentDevice::generateCertificateRequest(bool testMode, in generateCertificateRequest() argument
266 auto ret = beginSendData(testMode, keysToSign); in generateCertificateRequest()
/hardware/interfaces/security/rkp/aidl/aidl_api/android.hardware.security.rkp/1/android/hardware/security/keymint/
DIRemotelyProvisionedComponent.aidl39 …byte[] generateEcdsaP256KeyPair(in boolean testMode, out android.hardware.security.keymint.MacedPu… in generateEcdsaP256KeyPair() argument
40 …byte[] generateCertificateRequest(in boolean testMode, in android.hardware.security.keymint.MacedP… in generateCertificateRequest() argument
/hardware/interfaces/security/rkp/aidl/aidl_api/android.hardware.security.rkp/2/android/hardware/security/keymint/
DIRemotelyProvisionedComponent.aidl39 …byte[] generateEcdsaP256KeyPair(in boolean testMode, out android.hardware.security.keymint.MacedPu… in generateEcdsaP256KeyPair() argument
40 …byte[] generateCertificateRequest(in boolean testMode, in android.hardware.security.keymint.MacedP… in generateCertificateRequest() argument
/hardware/interfaces/security/rkp/aidl/android/hardware/security/keymint/
DIRemotelyProvisionedComponent.aidl148 byte[] generateEcdsaP256KeyPair(in boolean testMode, out MacedPublicKey macedPublicKey); in generateEcdsaP256KeyPair() argument
220 byte[] generateCertificateRequest(in boolean testMode, in MacedPublicKey[] keysToSign, in generateCertificateRequest() argument
/hardware/interfaces/security/rkp/aidl/aidl_api/android.hardware.security.rkp/3/android/hardware/security/keymint/
DIRemotelyProvisionedComponent.aidl39 …byte[] generateEcdsaP256KeyPair(in boolean testMode, out android.hardware.security.keymint.MacedPu… in generateEcdsaP256KeyPair() argument
40 …byte[] generateCertificateRequest(in boolean testMode, in android.hardware.security.keymint.MacedP… in generateCertificateRequest() argument
/hardware/interfaces/security/rkp/aidl/aidl_api/android.hardware.security.rkp/current/android/hardware/security/keymint/
DIRemotelyProvisionedComponent.aidl39 …byte[] generateEcdsaP256KeyPair(in boolean testMode, out android.hardware.security.keymint.MacedPu… in generateEcdsaP256KeyPair() argument
40 …byte[] generateCertificateRequest(in boolean testMode, in android.hardware.security.keymint.MacedP… in generateCertificateRequest() argument
/hardware/nxp/keymint/KM300/
DJavacardRemotelyProvisionedComponentDevice.h64 ScopedAStatus generateEcdsaP256KeyPair(bool testMode, MacedPublicKey* macedPublicKey,
67 ScopedAStatus generateCertificateRequest(bool testMode,
DJavacardRemotelyProvisionedComponentDevice.cpp137 bool testMode, MacedPublicKey* macedPublicKey, std::vector<uint8_t>* privateKeyHandle) { in generateEcdsaP256KeyPair() argument
138 if (testMode) { in generateEcdsaP256KeyPair()
/hardware/interfaces/security/keymint/support/
Dremote_prov_utils_test.cpp90 validateAndExtractEcdsa256EekPubAndId(bool testMode, in validateAndExtractEcdsa256EekPubAndId() argument
108 if (!testMode && i == 0) { in validateAndExtractEcdsa256EekPubAndId()
/hardware/interfaces/security/keymint/aidl/vts/functional/
DKeyMintAidlTestBase.cpp2138 void check_cose_key(const vector<uint8_t>& data, bool testMode) { in check_cose_key() argument
2143 if (testMode) { in check_cose_key()
2175 void check_maced_pubkey(const MacedPublicKey& macedPubKey, bool testMode, in check_maced_pubkey() argument
2196 check_cose_key(payload->value(), testMode); in check_maced_pubkey()
2211 if (testMode) { in check_maced_pubkey()
DKeyMintAidlTestBase.h427 void check_maced_pubkey(const MacedPublicKey& macedPubKey, bool testMode,