platform_system_security/keystore2/test_utils
Rajesh Nyamagoud c3523bacff Added tests using 3DES algorithm.
- Generate 3DES keys with block modes [ECB, CBC] and padding modes
  [NONE, PKCS7]. Should be able to create operations successfully
  with these generated keys.

- Try to generate a key and create an operation with invalid inputs, it
  should fail with proper error codes
  - with unsupported key size
  - with unsupported padding mode
  - with padding mode NONE and input text whose length isn't a
    multiple of the DES block size
  - with unsupported blockmode

Bug: 194359114
Test: atest keystore2_client_test
Change-Id: Ida98fd2e6f9b7ba84b8beba9ea979d5aeb2240ee
2022-08-12 02:09:46 +00:00
..
authorizations.rs Adding tests using AES algorithm. 2022-07-22 18:58:41 +00:00
key_generations.rs Added tests using 3DES algorithm. 2022-08-12 02:09:46 +00:00
lib.rs Create authorizations and key_generations test modules - 2022-03-25 19:51:23 +00:00
run_as.rs Keystore2 Tests: Revisit run_as function. 2022-03-16 13:21:56 -07:00