CTS-test Android Keystore import supports required key sizes.

This explicitly tests that Android Keystore can import keys of all
required sizes:
* AES: 128, 192, 256.
* HMAC: 8 -- 1024 (must be multiple of 8).
* EC: P-224, P-256, P-384, P-521.
* RSA: 512, 768, 1024, 2048, 3072, 4096.

For AES, this also tests that other sizes are not supported.

Bug: 21936191
Change-Id: I923437c86b438e77a2a9027bb9f9fb4742138881
4 files changed