No description
Find a file
Rajesh Nyamagoud 4740993bf1 Adding tests using AES algorithm.
- Generate AES keys with block modes [ECB, CBC] and padding modes [NONE,
  PKCS7]. Should be able to create operations successfully with these
  generated keys.

- Generate AES keys with block modes [CTR, GCM] and padding modes [NONE,
  PKCS7]. Should be able to create operations successfully with padding
  mode NONE. With PKCS7 padding mode creation of an operation should
  fail with incompatible padding mode.

- Try to generate a key and create an operation with invalid inputs, it
  should fail with proper error codes.
  - with unsupported key size
  - with GCM block mode without providing min-mac-length
  - with multiple block modes
  - with multiple padding modes
  - with incompatible padding modes
  - with incompatible block modes
  - with missing mac-length
  - with invalid mac-length
  - with unsupported mac-length
  - With AES-CBC-PKCS7 key without `CALLER_NONCE` authorization, Try to
    set nonce while creating an operation.

Bug: 194359114
Test: atest keystore2_client_test
Change-Id: Ibf1b8460317b4c99d9060d5889c8b3778a80ca5b
2022-07-22 18:58:41 +00:00
diced Revert^2 "Fix encoding of PubKeyEd25519" 2022-05-24 15:36:31 +01:00
fsverity Add a tool to generate manifest files 2022-07-04 17:56:58 +00:00
fsverity_init Merge "fsverity_init: refactor into library + binary" 2021-11-23 17:54:32 +00:00
identity Deleted clang property in Android.bp files 2022-04-25 21:04:48 +00:00
keystore Deleted clang property in Android.bp files 2022-04-25 21:04:48 +00:00
keystore-engine Keystore 2.0 engine: Handle legacy PEM certificates. 2021-09-27 13:57:54 -07:00
keystore2 Adding tests using AES algorithm. 2022-07-22 18:58:41 +00:00
ondevice-signing [Compos Telemetry] Fix current_artifacts_ok in the pushed atom 2022-05-25 09:47:01 +00:00
provisioner rkp_factory_extraction_tool: Add instance name in the JSON output 2022-03-10 12:20:21 +08: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 Add extra OWNER, remove xoogler 2022-05-18 17:13:05 +01: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