Home
last modified time | relevance | path

Searched refs:DEFAULT_KEY_SIZES (Results 1 – 2 of 2) sorted by relevance

/cts/tests/tests/keystore/src/android/keystore/cts/
DKeyGeneratorTest.java58 private static final Map<String, Integer> DEFAULT_KEY_SIZES = field in KeyGeneratorTest
61 DEFAULT_KEY_SIZES.put("AES", 128);
62 DEFAULT_KEY_SIZES.put("HmacSHA1", 160);
63 DEFAULT_KEY_SIZES.put("HmacSHA224", 224);
64 DEFAULT_KEY_SIZES.put("HmacSHA256", 256);
65 DEFAULT_KEY_SIZES.put("HmacSHA384", 384);
66 DEFAULT_KEY_SIZES.put("HmacSHA512", 512);
112 int keySizeBits = DEFAULT_KEY_SIZES.get(algorithm); in testInitWithKeySizeThrowsUnsupportedOperationException()
129 int keySizeBits = DEFAULT_KEY_SIZES.get(algorithm); in testInitWithKeySizeAndSecureRandomThrowsUnsupportedOperationException()
204 int expectedSizeBits = DEFAULT_KEY_SIZES.get(algorithm); in testDefaultKeySize()
DKeyPairGeneratorTest.java118 private static final Map<String, Integer> DEFAULT_KEY_SIZES = field in KeyPairGeneratorTest
121 DEFAULT_KEY_SIZES.put("EC", 256);
122 DEFAULT_KEY_SIZES.put("RSA", 2048);
216 int expectedSizeBits = DEFAULT_KEY_SIZES.get(algorithm); in testDefaultKeySize()