Searched refs:DEFAULT_KEY_SIZES (Results 1 – 2 of 2) sorted by relevance
/cts/tests/tests/keystore/src/android/keystore/cts/ |
D | KeyGeneratorTest.java | 66 private static final Map<String, Integer> DEFAULT_KEY_SIZES = field in KeyGeneratorTest 69 DEFAULT_KEY_SIZES.put("AES", 128); 70 DEFAULT_KEY_SIZES.put("DESede", 168); 71 DEFAULT_KEY_SIZES.put("HmacSHA1", 160); 72 DEFAULT_KEY_SIZES.put("HmacSHA224", 224); 73 DEFAULT_KEY_SIZES.put("HmacSHA256", 256); 74 DEFAULT_KEY_SIZES.put("HmacSHA384", 384); 75 DEFAULT_KEY_SIZES.put("HmacSHA512", 512); 121 int keySizeBits = DEFAULT_KEY_SIZES.get(algorithm); in testInitWithKeySizeThrowsUnsupportedOperationException() 138 int keySizeBits = DEFAULT_KEY_SIZES.get(algorithm); in testInitWithKeySizeAndSecureRandomThrowsUnsupportedOperationException() [all …]
|
D | KeyPairGeneratorTest.java | 118 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()
|