Searched refs:DEFAULT_KEY_SIZES (Results 1 – 2 of 2) sorted by relevance
/cts/tests/tests/keystore/src/android/keystore/cts/ |
D | KeyGeneratorTest.java | 73 private static final Map<String, Integer> DEFAULT_KEY_SIZES = field in KeyGeneratorTest 76 DEFAULT_KEY_SIZES.put("AES", 128); 77 DEFAULT_KEY_SIZES.put("DESede", 168); 78 DEFAULT_KEY_SIZES.put("HmacSHA1", 160); 79 DEFAULT_KEY_SIZES.put("HmacSHA224", 224); 80 DEFAULT_KEY_SIZES.put("HmacSHA256", 256); 81 DEFAULT_KEY_SIZES.put("HmacSHA384", 384); 82 DEFAULT_KEY_SIZES.put("HmacSHA512", 512); 129 int keySizeBits = DEFAULT_KEY_SIZES.get(algorithm); in testInitWithKeySizeThrowsUnsupportedOperationException() 146 int keySizeBits = DEFAULT_KEY_SIZES.get(algorithm); in testInitWithKeySizeAndSecureRandomThrowsUnsupportedOperationException() [all …]
|
D | KeyPairGeneratorTest.java | 120 private static final Map<String, Integer> DEFAULT_KEY_SIZES = field in KeyPairGeneratorTest 123 DEFAULT_KEY_SIZES.put("EC", 256); 124 DEFAULT_KEY_SIZES.put("RSA", 2048); 218 int expectedSizeBits = DEFAULT_KEY_SIZES.get(algorithm); in testDefaultKeySize()
|