Home
last modified time | relevance | path

Searched defs:isStrongBox (Results 1 – 15 of 15) sorted by relevance

/external/wycheproof/keystore-cts/java/com/google/security/wycheproof/testcases/
DAesGcmTest.java89 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 …]
DCipherInputStreamTest.java75 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()
DEcdhTest.java107 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()
DCipherOutputStreamTest.java75 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()
DMacTest.java49 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()
DRsaSignatureTest.java61 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()
DRsaOaepTest.java61 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()
DRsaEncryptionTest.java80 protected static PrivateKey getPrivateKey(JsonObject object, boolean isStrongBox) in getPrivateKey()
151 public void testDecryption(String filename, boolean isStrongBox) throws Exception { in testDecryption()
DEcdsaTest.java62 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()
DJsonCipherTest.java80 byte[] key, byte[] iv, boolean isStrongBox) throws Exception { in initCipher()
132 public void testCipher(String filename, String algorithm, boolean isStrongBox) throws Exception { in testCipher()
DJsonAeadTest.java92 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()
DJsonMacTest.java76 boolean isStrongBox) throws Exception { in computeMac()
117 public void testMac(String filename, boolean isStrongBox) throws Exception { in testMac()
DJsonSignatureTest.java58 boolean isStrongBox) throws Exception { in getKeystorePrivateKey()
266 boolean isStrongBox) throws Exception { in getPrivateKey()
442 boolean allowSkippingKeys, boolean isStrongBox) throws Exception { in testSigning()
DJsonEcdhTest.java93 public void testEcdhComp(String filename, boolean isStrongBox) throws Exception { in testEcdhComp()
/external/wycheproof/keystore-cts/java/android/keystore/cts/util/
DKeyStoreUtil.java97 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()