/external/wycheproof/keystore-cts/java/com/google/security/wycheproof/testcases/ |
D | AesGcmTest.java | 89 private SecretKey setKeystoreEntry(String alias, SecretKeySpec key, boolean isStrongBox) in setKeystoreEntry() 109 GcmTestVector testVector, boolean isStrongBox) in getInitializedCipherInstance() 237 private Iterable<GcmTestVector> getTestVectors(boolean isStrongBox) throws Exception { in getTestVectors() 265 private void testVectors(boolean isStrongBox) throws Exception { in testVectors() 285 private void testEncryptWithEmptyArrays(boolean isStrongBox) throws Exception { in testEncryptWithEmptyArrays() 320 private void testDecryptWithEmptyArrays(boolean isStrongBox) throws Exception { in testDecryptWithEmptyArrays() 387 private void testLateUpdateAAD(boolean isStrongBox) throws Exception { in testLateUpdateAAD() 428 private void testIvReuse(boolean isStrongBox) throws Exception { in testIvReuse() 462 private void testByteBufferSize(boolean isStrongBox) throws Exception { in testByteBufferSize() 486 private void testByteBuffer(boolean isStrongBox) throws Exception { in testByteBuffer() [all …]
|
D | CipherInputStreamTest.java | 75 boolean isStrongBox) throws Exception { in randomKey() 108 int ivSize, int tagSize, int ptSize, int aadSize, boolean isStrongBox) throws Exception { in TestVector() 128 boolean isStrongBox) in getTestVectors() 253 private void testAesGcm(boolean isStrongBox) throws Exception { in testAesGcm() 275 private void testCorruptAesGcm(boolean isStrongBox) throws Exception { in testCorruptAesGcm() 302 private void testEmptyPlaintext(boolean isStrongBox) throws Exception { in testEmptyPlaintext()
|
D | EcdhTest.java | 107 boolean isStrongBox) in getKeystorePrivateKey() 117 private KeyPair generateECKeyPair(String alias, ECGenParameterSpec ecSpec, boolean isStrongBox) in generateECKeyPair() 553 private void testBasic(boolean isStrongBox) throws Exception { in testBasic() 602 public void testModifiedPublic(String algorithm, boolean isStrongBox) throws Exception { in testModifiedPublic() 643 public void testModifiedPublicSpec(String algorithm, boolean isStrongBox) throws Exception { in testModifiedPublicSpec() 725 public void testWrongOrder(String algorithm, ECParameterSpec spec, boolean isStrongBox) in testWrongOrder() 801 private void testLargePrivateKey(ECParameterSpec spec, boolean isStrongBox) throws Exception { in testLargePrivateKey()
|
D | CipherOutputStreamTest.java | 75 boolean isStrongBox) throws Exception{ in randomKey() 108 int ivSize, int tagSize, int ptSize, int aadSize, boolean isStrongBox) throws Exception { in TestVector() 128 boolean isStrongBox) in getTestVectors() 226 private void testAesGcm(boolean isStrongBox) throws Exception { in testAesGcm() 255 private void testEmptyPlaintext(boolean isStrongBox) throws Exception { in testEmptyPlaintext()
|
D | MacTest.java | 49 private static Key getKeyStoreSecretKey(byte[] keyMaterial, String algorithm, boolean isStrongBox) in getKeyStoreSecretKey() 199 public void testMac(String algorithm, int keySize, boolean isStrongBox) throws Exception { in testMac() 334 boolean isStrongBox) throws Exception { in testLongMac() 385 private void testLongMacSha256(boolean isStrongBox) throws Exception { in testLongMacSha256()
|
D | RsaSignatureTest.java | 61 boolean isStrongBox) throws Exception { in getKeystorePrivateKey() 1121 private void testBasic(boolean isStrongBox) throws Exception { in testBasic() 1277 private void testFaultySigner(boolean isStrongBox) throws Exception { in testFaultySigner()
|
D | RsaOaepTest.java | 61 PrivateKey privKey, String digest, String mgfDigest, boolean isStrongBox) in saveKeyPairToKeystoreAndReturnPrivateKey() 169 protected static PrivateKey getPrivateKey(JsonObject object, boolean isStrongBox) in getPrivateKey() 198 JsonObject test, boolean isStrongBox) throws Exception { in getOaepParameters() 267 public void testOaep(String filename, boolean allowSkippingKeys, boolean isStrongBox) in testOaep()
|
D | RsaEncryptionTest.java | 80 protected static PrivateKey getPrivateKey(JsonObject object, boolean isStrongBox) in getPrivateKey() 151 public void testDecryption(String filename, boolean isStrongBox) throws Exception { in testDecryption()
|
D | EcdsaTest.java | 62 boolean isStrongBox) throws Exception { in getKeystorePrivateKey() 197 boolean testParameters(String algorithm, String curve, boolean isStrongBox) throws Exception { in testParameters() 261 boolean isStrongBox) throws Exception { in testBias() 405 public void testNullRandom(String algorithm, String curve, boolean isStrongBox) in testNullRandom()
|
D | JsonCipherTest.java | 80 byte[] key, byte[] iv, boolean isStrongBox) throws Exception { in initCipher() 132 public void testCipher(String filename, String algorithm, boolean isStrongBox) throws Exception { in testCipher()
|
D | JsonAeadTest.java | 92 String algorithm, int opmode, byte[] key, byte[] iv, int tagSize, boolean isStrongBox) in getInitializedCipher() 158 public void testAead(String filename, String algorithm, boolean isStrongBox) throws Exception { in testAead()
|
D | JsonMacTest.java | 76 boolean isStrongBox) throws Exception { in computeMac() 117 public void testMac(String filename, boolean isStrongBox) throws Exception { in testMac()
|
D | JsonSignatureTest.java | 58 boolean isStrongBox) throws Exception { in getKeystorePrivateKey() 266 boolean isStrongBox) throws Exception { in getPrivateKey() 442 boolean allowSkippingKeys, boolean isStrongBox) throws Exception { in testSigning()
|
D | JsonEcdhTest.java | 93 public void testEcdhComp(String filename, boolean isStrongBox) throws Exception { in testEcdhComp()
|
/external/wycheproof/keystore-cts/java/android/keystore/cts/util/ |
D | KeyStoreUtil.java | 97 public static int getFeatureVersionKeystore(boolean isStrongBox) { in getFeatureVersionKeystore() 114 public static boolean isSupportedDigest(String digest, boolean isStrongBox) { in isSupportedDigest() 121 public static boolean isSupportedMgfDigest(String digest, boolean isStrongBox) { in isSupportedMgfDigest() 129 public static boolean isSupportedRsaKeySize(int keySize, boolean isStrongBox) { in isSupportedRsaKeySize() 184 public static void assumeKeyMintV1OrNewer(boolean isStrongBox) { in assumeKeyMintV1OrNewer()
|