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.java89 private static final Map<String, Integer> DEFAULT_KEY_SIZES = field in KeyGeneratorTest
92 DEFAULT_KEY_SIZES.put("AES", 128);
93 DEFAULT_KEY_SIZES.put("DESede", 168);
94 DEFAULT_KEY_SIZES.put("HmacSHA1", 160);
95 DEFAULT_KEY_SIZES.put("HmacSHA224", 224);
96 DEFAULT_KEY_SIZES.put("HmacSHA256", 256);
97 DEFAULT_KEY_SIZES.put("HmacSHA384", 384);
98 DEFAULT_KEY_SIZES.put("HmacSHA512", 512);
153 int keySizeBits = DEFAULT_KEY_SIZES.get(algorithm); in testInitWithKeySizeThrowsUnsupportedOperationException()
171 int keySizeBits = DEFAULT_KEY_SIZES.get(algorithm); in testInitWithKeySizeAndSecureRandomThrowsUnsupportedOperationException()
[all …]
DKeyPairGeneratorTest.java147 private static final Map<String, Integer> DEFAULT_KEY_SIZES = field in KeyPairGeneratorTest
150 DEFAULT_KEY_SIZES.put("EC", 256);
151 DEFAULT_KEY_SIZES.put("RSA", 2048);
264 int expectedSizeBits = DEFAULT_KEY_SIZES.get(algorithm); in testDefaultKeySize()