Home
last modified time | relevance | path

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

/system/keymint/hal/src/
Drpc.rs63 testMode: bool, in generateEcdsaP256KeyPair()
67 self.execute(GenerateEcdsaP256KeyPairRequest { test_mode: testMode })?; in generateEcdsaP256KeyPair()
73 testMode: bool, in generateCertificateRequest()
82 test_mode: testMode, in generateCertificateRequest()
/system/keymaster/android_keymaster/
Dremote_provisioning_utils.cpp71 validateAndExtractEekPubAndId(bool testMode, const KeymasterBlob& endpointEncryptionCertChain) { in validateAndExtractEekPubAndId() argument
92 if (!testMode && i == 0) { in validateAndExtractEekPubAndId()
132 validateAndExtractPubkeys(bool testMode, uint32_t numKeys, KeymasterBlob* keysToSign, in validateAndExtractPubkeys() argument
171 if (testMode && !testKey) { in validateAndExtractPubkeys()
174 } else if (!testMode && testKey) { in validateAndExtractPubkeys()
/system/keymaster/ng/include/
DAndroidRemotelyProvisionedComponentDevice.h39 ScopedAStatus generateEcdsaP256KeyPair(bool testMode, MacedPublicKey* macedPublicKey,
42 ScopedAStatus generateCertificateRequest(bool testMode,
/system/core/trusty/keymaster/include/trusty_keymaster/
DTrustyRemotelyProvisionedComponentDevice.h39 ScopedAStatus generateEcdsaP256KeyPair(bool testMode, MacedPublicKey* macedPublicKey,
42 ScopedAStatus generateCertificateRequest(bool testMode,
/system/core/trusty/keymaster/keymint/
DTrustyRemotelyProvisionedComponentDevice.cpp93 bool testMode, MacedPublicKey* macedPublicKey, bytevec* privateKeyHandle) { in generateEcdsaP256KeyPair() argument
95 request.test_mode = testMode; in generateEcdsaP256KeyPair()
108 bool testMode, const vector<MacedPublicKey>& keysToSign, in generateCertificateRequest() argument
112 request.test_mode = testMode; in generateCertificateRequest()
/system/keymaster/ng/
DAndroidRemotelyProvisionedComponentDevice.cpp104 bool testMode, MacedPublicKey* macedPublicKey, bytevec* privateKeyHandle) { in generateEcdsaP256KeyPair() argument
106 request.test_mode = testMode; in generateEcdsaP256KeyPair()
119 bool testMode, const vector<MacedPublicKey>& keysToSign, const bytevec& endpointEncCertChain, in generateCertificateRequest() argument
123 request.test_mode = testMode; in generateCertificateRequest()
/system/keymaster/include/keymaster/
Dremote_provisioning_utils.h70 validateAndExtractEekPubAndId(bool testMode, const KeymasterBlob& endpointEncryptionCertChain);
73 validateAndExtractPubkeys(bool testMode, uint32_t numKeys, KeymasterBlob* keysToSign,
Dremote_provisioning_context.h39 BuildProtectedDataPayload(bool testMode, //
/system/keymaster/include/keymaster/contexts/
Dpure_soft_remote_provisioning_context.h62 std::pair<std::vector<uint8_t>, cppbor::Array> GenerateBcc(bool testMode) const;
/system/keymaster/contexts/
Dpure_soft_remote_provisioning_context.cpp127 PureSoftRemoteProvisioningContext::GenerateBcc(bool testMode) const { in GenerateBcc()
132 if (testMode) { in GenerateBcc()