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); 130 int keySizeBits = DEFAULT_KEY_SIZES.get(algorithm); in testInitWithKeySizeThrowsUnsupportedOperationException() 147 int keySizeBits = DEFAULT_KEY_SIZES.get(algorithm); in testInitWithKeySizeAndSecureRandomThrowsUnsupportedOperationException() [all …]
|
D | KeyPairGeneratorTest.java | 123 private static final Map<String, Integer> DEFAULT_KEY_SIZES = field in KeyPairGeneratorTest 126 DEFAULT_KEY_SIZES.put("EC", 256); 127 DEFAULT_KEY_SIZES.put("RSA", 2048); 221 int expectedSizeBits = DEFAULT_KEY_SIZES.get(algorithm); in testDefaultKeySize()
|