Home
last modified time | relevance | path

Searched refs:keyCharacteristics (Results 1 – 20 of 20) sorted by relevance

/hardware/interfaces/keymaster/4.0/support/fuzzer/
Dkeymaster4_attestation_fuzzer.cpp33 KeyCharacteristics* keyCharacteristics);
47 KeyCharacteristics* keyCharacteristics) { in generateKey() argument
54 *keyCharacteristics = hidlKeyCharacteristics; in generateKey()
152 KeyCharacteristics keyCharacteristics; in invokeAttestationRecord() local
153 generateKey(createAuthorizationSet(mFdp), &keyBlob, &keyCharacteristics); in invokeAttestationRecord()
/hardware/interfaces/security/keymint/support/fuzzer/
Dkeymint_attestation_fuzzer.cpp43 vector<KeyCharacteristics>* keyCharacteristics,
53 vector<uint8_t>* keyBlob, vector<KeyCharacteristics>* keyCharacteristics, in generateKey() argument
59 *keyCharacteristics = std::move(creationResult.keyCharacteristics); in generateKey()
/hardware/interfaces/security/keymint/aidl/aidl_api/android.hardware.security.keymint/1/android/hardware/security/keymint/
DKeyCreationResult.aidl39 android.hardware.security.keymint.KeyCharacteristics[] keyCharacteristics;
/hardware/interfaces/security/keymint/aidl/aidl_api/android.hardware.security.keymint/2/android/hardware/security/keymint/
DKeyCreationResult.aidl39 android.hardware.security.keymint.KeyCharacteristics[] keyCharacteristics;
/hardware/interfaces/security/keymint/aidl/aidl_api/android.hardware.security.keymint/current/android/hardware/security/keymint/
DKeyCreationResult.aidl39 android.hardware.security.keymint.KeyCharacteristics[] keyCharacteristics;
/hardware/interfaces/security/keymint/aidl/aidl_api/android.hardware.security.keymint/3/android/hardware/security/keymint/
DKeyCreationResult.aidl39 android.hardware.security.keymint.KeyCharacteristics[] keyCharacteristics;
/hardware/interfaces/security/keymint/aidl/android/hardware/security/keymint/
DKeyCreationResult.aidl52 KeyCharacteristics[] keyCharacteristics;
/hardware/nxp/keymint/KM200/
DCborConverter.h76 vector<KeyCharacteristics>& keyCharacteristics);
79 vector<Certificate>& keyCharacteristics);
DCborConverter.cpp111 vector<KeyCharacteristics>& keyCharacteristics) { in getKeyCharacteristics() argument
126 if (!sbEnf.authorizations.empty()) keyCharacteristics.push_back(std::move(sbEnf)); in getKeyCharacteristics()
127 if (!teeEnf.authorizations.empty()) keyCharacteristics.push_back(std::move(teeEnf)); in getKeyCharacteristics()
128 if (!swEnf.authorizations.empty()) keyCharacteristics.push_back(std::move(swEnf)); in getKeyCharacteristics()
DJavacardKeyMintDevice.cpp104 !cbor_.getKeyCharacteristics(item, 2, creationResult->keyCharacteristics) || in generateKey()
145 !cbor_.getKeyCharacteristics(item, 2, creationResult->keyCharacteristics) || in importKey()
164 vector<KeyCharacteristics> keyCharacteristics; in importWrappedKey() local
194 !cbor_.getKeyCharacteristics(item, 2, creationResult->keyCharacteristics) || in importWrappedKey()
/hardware/nxp/keymint/KM300/
DCborConverter.cpp172 vector<KeyCharacteristics> keyCharacteristics; in getKeyCharacteristics() local
197 if (!sbEnf.authorizations.empty()) keyCharacteristics.push_back(std::move(sbEnf)); in getKeyCharacteristics()
198 if (!teeEnf.authorizations.empty()) keyCharacteristics.push_back(std::move(teeEnf)); in getKeyCharacteristics()
199 if (!swEnf.authorizations.empty()) keyCharacteristics.push_back(std::move(swEnf)); in getKeyCharacteristics()
200 return keyCharacteristics; in getKeyCharacteristics()
DJavacardKeyMintDevice.cpp124 creationResult->keyCharacteristics = std::move(optKeyChars.value()); in generateKey()
169 creationResult->keyCharacteristics = std::move(optKeyChars.value()); in importKey()
187 vector<KeyCharacteristics> keyCharacteristics; in importWrappedKey() local
223 creationResult->keyCharacteristics = std::move(optKeyChars.value()); in importWrappedKey()
/hardware/interfaces/keymaster/3.0/
DIKeymasterDevice.hal86 * @return keyCharacteristics Description of the generated key. See KeyCharacteristis in
90 generates(ErrorCode error, vec<uint8_t> keyBlob, KeyCharacteristics keyCharacteristics);
108 * @return keyCharacteristics Decription of the generated key. See KeyCharacteristis.
113 generates(ErrorCode error, vec<uint8_t> keyBlob, KeyCharacteristics keyCharacteristics);
133 * @return keyCharacteristics Decription of the generated key. See KeyCharacteristis in
137 generates(ErrorCode error, KeyCharacteristics keyCharacteristics);
/hardware/interfaces/security/keymint/aidl/vts/functional/
DKeyMintAidlTestBase.cpp357 creationResult.keyCharacteristics, AidlVersion()); in GenerateKey()
360 *key_characteristics = std::move(creationResult.keyCharacteristics); in GenerateKey()
400 creationResult.keyCharacteristics, AidlVersion()); in ImportKey()
404 *key_characteristics = std::move(creationResult.keyCharacteristics); in ImportKey()
444 creationResult.keyCharacteristics, AidlVersion()); in ImportWrappedKey()
448 key_characteristics_ = std::move(creationResult.keyCharacteristics); in ImportWrappedKey()
DKeyMintTest.cpp617 void CheckBaseParams(const vector<KeyCharacteristics>& keyCharacteristics) { in CheckBaseParams() argument
618 AuthorizationSet auths = CheckCommonParams(keyCharacteristics, KeyOrigin::GENERATED); in CheckBaseParams()
626 void CheckSymmetricParams(const vector<KeyCharacteristics>& keyCharacteristics) { in CheckSymmetricParams() argument
627 AuthorizationSet auths = CheckCommonParams(keyCharacteristics, KeyOrigin::GENERATED); in CheckSymmetricParams()
634 AuthorizationSet CheckCommonParams(const vector<KeyCharacteristics>& keyCharacteristics, in CheckCommonParams() argument
638 for (auto& entry : keyCharacteristics) { in CheckCommonParams()
/hardware/interfaces/security/rkp/aidl/vts/functional/
DVtsRemotelyProvisionedComponentTests.cpp381 std::move(creationResult.keyCharacteristics); in TEST_P()
943 vector<KeyCharacteristics> key_characteristics = std::move(creationResult.keyCharacteristics); in TEST_P()
/hardware/interfaces/keymaster/4.0/
DIKeymasterDevice.hal469 * @return keyCharacteristics Description of the generated key. See the getKeyCharacteristics
473 generates (ErrorCode error, vec<uint8_t> keyBlob, KeyCharacteristics keyCharacteristics);
491 * o Tag::ORIGIN (returned in keyCharacteristics) must have the value KeyOrigin::IMPORTED.
504 * @return keyCharacteristics Description of the generated key. See the getKeyCharacteristics
508 generates (ErrorCode error, vec<uint8_t> keyBlob, KeyCharacteristics keyCharacteristics);
592 generates(ErrorCode error, vec<uint8_t> keyBlob, KeyCharacteristics keyCharacteristics);
618 * @return keyCharacteristics Description of the generated key. See KeyCharacteristics in
622 generates (ErrorCode error, KeyCharacteristics keyCharacteristics);
/hardware/interfaces/security/keymint/aidl/vts/performance/
DKeyMintBenchmark.cpp428 creationResult.keyCharacteristics.clear(); in GenerateKey()
/hardware/interfaces/keymaster/3.0/vts/functional/
Dkeymaster_hidl_hal_test.cpp1049 void CheckBaseParams(const KeyCharacteristics& keyCharacteristics, bool asymmetric = false) { in CheckBaseParams() argument
1052 AuthorizationSet auths(keyCharacteristics.teeEnforced); in CheckBaseParams()
1053 auths.push_back(AuthorizationSet(keyCharacteristics.softwareEnforced)); in CheckBaseParams()
/hardware/interfaces/keymaster/4.0/vts/functional/
Dkeymaster_hidl_hal_test.cpp566 void CheckBaseParams(const KeyCharacteristics& keyCharacteristics) { in CheckBaseParams() argument
569 AuthorizationSet auths(keyCharacteristics.hardwareEnforced); in CheckBaseParams()
570 auths.push_back(AuthorizationSet(keyCharacteristics.softwareEnforced)); in CheckBaseParams()