summaryrefslogtreecommitdiff
path: root/security/keymint/support/authorization_set.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Add KeyPurpose::ATTEST_KEY.Shawn Willden2021-02-171-0/+4
| | | | | | | | | This allows applications to generate their own attestation keys and then use them to attest other application-generated keys. Bug: 171845652 Test: VtsAidlKeyMintTargetTest Change-Id: I32add16dcc2d1b29665a88024610f7bef7e50200
* Fix Keymint VTS test after adding CERTIFICATE_* tagsJanis Danisevskis2021-02-091-0/+8
| | | | | | | | Pass required tags to generateKey and importKey. Bug: 179809936 Test: VtsAidlKeyMintTargetTest Change-Id: I762f73de50ca35c2f1ed271385d863910f53dcd2
* Add support and VTS test for RSA OAEP MGF1.Chirag Pathak2020-12-221-0/+8
| | | | | | Test: atest VtsAidlKeyMintV1_0TargetTest Bug: 160968519 Change-Id: I7093b26217b69ea36b4be8837b42cb9446887685
* Revise keymint_tags.hJanis Danisevskis2020-12-181-2/+3
| | | | | | | | | | | | * replace NullOr with std::optional. * Add mising tag. * Undefine helper macros so that keymint_tags.h can be used together with keymaster_tags.h * Check if KeyParameterValue variant matches KeyParameterTag in accessors. Test: VtsAidlKeyMintTargetTest Change-Id: I6c951071f30fd27c8c21a2e8cc86f421a3bc37d9
* Keymint: Use ndk_platform.Janis Danisevskis2020-12-171-14/+8
| | | | | Test: N/A Change-Id: I7e97d9d475a639cfe92c9e6b01689c9ff80d2abc
* Remove authorization set serialization.Shawn Willden2020-12-131-273/+0
| | | | | | | | This is no longer needed in KeyMint. Keystore2 implements similar functionality in Rust. Test: Build Change-Id: Ia43716449756935619fb22ef5aba113e420c2687
* Various cleanupsShawn Willden2020-12-131-10/+0
| | | | | | | | | Mostly just removal of old-style #include guards in favor of #pragm once, reorganization of header includes, correction of copyright years, etc. Test: VtsAidlKeyMintTargetTest Change-Id: I070584ecec550a2f133b1c19f36f99e7b5544e7c
* Revert^2 "Move keymint to android.hardware.security."Shawn Willden2020-12-111-0/+526
| | | | | | | | | 1ffcdebadd7229af65c575dc1271084b17fe42d7 Bug: 175345910 Bug: 171429297 Exempt-From-Owner-Approval: re-landing topic with no changes in this CL. Change-Id: I691cad252f188b54a8076589d9955774d74d4729
* Revert "Move keymint to android.hardware.security."Orion Hodson2020-12-111-526/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Revert "Keystore 2.0 SPI: Move keymint spec to security namespace." Revert "Keystore 2.0: Move keymint spec to security namespace." Revert "Keystore 2.0: Move keymint spec to security namespace." Revert "Move keymint to android.hardware.security." Revert "Configure CF to start KeyMint service by default." Revert "Move keymint to android.hardware.security." Revert "Move keymint to android.hardware.security." Revert submission 1522123-move_keymint Reason for revert: Build breakage Bug: 175345910 Bug: 171429297 Reverted Changes: Ief0e9884a:Keystore 2.0: Move keymint spec to security namesp... Idb54e8846:Keystore 2.0: Move keymint spec to security namesp... I9f70db0e4:Remove references to keymint1 I2b4ce3349:Keystore 2.0 SPI: Move keymint spec to security na... I2498073aa:Move keymint to android.hardware.security. I098711e7d:Move keymint to android.hardware.security. I3ec8d70fe:Configure CF to start KeyMint service by default. Icbb373c50:Move keymint to android.hardware.security. I86bccf40e:Move keymint to android.hardware.security. Change-Id: I160cae568ed6b15698bd0af0b19c6c949528762d
* Move keymint to android.hardware.security.Shawn Willden2020-12-091-0/+526
Test: VtsAidlKeyMintTargetTest Change-Id: I2498073aa834584229e9a4955a97f279a94d1dd5