No description
Find a file
Rajesh Nyamagoud 290dd7386f Adding tests using APPLICATION_DATA and APPLICATION_ID.
1. Generate a key with application-data and use the generated key to
   create an operation using the same application-data. Test should
   create an operation successfully.

2. Generate a key with application-data and use the generated key to
   create an operation using different application-data. Test should
   fail to create an operation with `INVALID_KEY_BLOB` error code.

3. Generate a key with application-id and use the generated key to
   create an operation using the same application-id. Test should
   create an operation successfully.

4. Generate a key with application-id and use the generated key to
   create an operation using different application-id. Test should
   fail to create an operation with `INVALID_KEY_BLOB` error code.

5. Generate an attestation key without app-id and app-data. Test should
   generate a new key with specifying app-id, app-data and using
   previously generated attestation key. Test should be able to generate
   a new key successfully.

6. Generate an attestation key with app-id and app-data. Test should try
   to generate an attested key using previously generated attestation
   key without specifying same app-id, app-data. Test should fail to
   generate a new key with an error code `INVALID_KEY_BLOB`. It is an
   oversight of the Keystore API that `APPLICATION_ID` and
   `APPLICATION_DATA` tags cannot be provided to generateKey for
   an attestation key that was generated with them.

Bug: 279721870
Test: atest keystore2_client_tests
Change-Id: I56fad4806c6d96c5994f4affdd7aa6620b1f1be8
2023-10-27 19:25:09 +00:00
fsverity Update fsverity+odsign protos to protobuf3. 2023-06-28 08:05:10 +00:00
fsverity_init Flag guard to make fsverity_init a no-op 2023-10-17 10:54:28 -07:00
identity Restructuring of AAID using aidl_interface build system. 2023-10-06 04:23:41 +00:00
keystore Restructuring of AAID using aidl_interface build system. 2023-10-06 04:23:41 +00:00
keystore-engine Adding tests to verify EVP_PKEY_from_keystore2 API [Keystore2-engine]. 2023-05-23 19:28:24 +00:00
keystore2 Adding tests using APPLICATION_DATA and APPLICATION_ID. 2023-10-27 19:25:09 +00:00
ondevice-signing ondevice-signing: merge createCertificate() into createSelfSignedCertificate() 2023-07-05 22:14:36 +00:00
prng_seeder Add safety comments to prng_seeder. 2023-07-24 11:41:27 +01:00
provisioner Static link libcrypto into rkp_factory_extraction_tool 2023-08-11 13:34:39 -07:00
.clang-format Add PREUPLOAD to require clang-format. 2017-12-04 17:06:49 -07:00
.gitignore Add .gitignore. 2020-11-24 09:59:17 -08:00
Android.bp [LSC] Add LOCAL_LICENSE_KINDS to system/security 2021-02-14 10:37:25 -08:00
METADATA Add METADATA to system/security: Apache2+BSD=NOTICE 2020-05-04 13:15:58 -07:00
MODULE_LICENSE_APACHE2 Add NOTICE and MODULE_LICENSE_ files. 2015-11-02 09:13:29 -08:00
NOTICE Add NOTICE and MODULE_LICENSE_ files. 2015-11-02 09:13:29 -08:00
OWNERS Update system/security owners 2023-07-18 14:51:14 -04:00
PREUPLOAD.cfg Update rustfmt options 2020-08-19 15:19:21 +00:00
rustfmt.toml Enable rustfmt for system/security 2020-06-23 15:50:23 +02:00