Home
last modified time | relevance | path

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

/aosp_15_r20/external/wycheproof/keystore-cts/java/com/google/security/wycheproof/testcases/
H A 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 …]
H A DEcdhTest.java108 boolean isStrongBox) in getKeystorePrivateKey()
118 private KeyPair generateECKeyPair(String alias, ECGenParameterSpec ecSpec, boolean isStrongBox) in generateECKeyPair()
554 private void testBasic(boolean isStrongBox) throws Exception { in testBasic()
603 public void testModifiedPublic(String algorithm, boolean isStrongBox) throws Exception { in testModifiedPublic()
644 public void testModifiedPublicSpec(String algorithm, boolean isStrongBox) throws Exception { in testModifiedPublicSpec()
726 public void testWrongOrder(String algorithm, ECParameterSpec spec, boolean isStrongBox) in testWrongOrder()
802 private void testLargePrivateKey(ECParameterSpec spec, boolean isStrongBox) throws Exception { in testLargePrivateKey()
H A 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()
H A 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()
H A 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()
H A DRsaOaepTest.java64 PrivateKey privKey, String digest, String mgfDigest, boolean isStrongBox) in saveKeyPairToKeystoreAndReturnPrivateKey()
177 protected static PrivateKey getPrivateKey(JsonObject object, boolean isStrongBox) in getPrivateKey()
206 JsonObject test, boolean isStrongBox) throws Exception { in getOaepParameters()
275 public void testOaep(String filename, boolean allowSkippingKeys, boolean isStrongBox) in testOaep()
H A 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()
H A 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()
H A DRsaEncryptionTest.java83 protected static PrivateKey getPrivateKey(JsonObject object, boolean isStrongBox) in getPrivateKey()
154 public void testDecryption(String filename, boolean isStrongBox) throws Exception { in testDecryption()
H A 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()
H A DJsonSignatureTest.java58 boolean isStrongBox) throws Exception { in getKeystorePrivateKey()
266 boolean isStrongBox) throws Exception { in getPrivateKey()
442 boolean allowSkippingKeys, boolean isStrongBox) throws Exception { in testSigning()
H A 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()
H A DJsonMacTest.java80 boolean isStrongBox) throws Exception { in computeMac()
121 public void testMac(String filename, boolean isStrongBox) throws Exception { in testMac()
H A DJsonEcdhTest.java93 public void testEcdhComp(String filename, boolean isStrongBox) throws Exception { in testEcdhComp()
/aosp_15_r20/cts/tests/tests/keystore/src/android/keystore/cts/
H A DKeyAttestationTest.java220 private void testEcAttestation(boolean isStrongBox) throws Exception { in testEcAttestation()
344 private void testEcAttestation_TooLargeChallenge(boolean isStrongBox) throws Exception { in testEcAttestation_TooLargeChallenge()
375 public void testEcAttestation_NoChallenge(boolean isStrongBox) throws Exception { in testEcAttestation_NoChallenge()
498 private void testAttestationKmVersionMatchesFeatureVersion(boolean isStrongBox) in testAttestationKmVersionMatchesFeatureVersion()
563 boolean isStrongBox) throws Exception { in testEcAttestation_KeyStoreExceptionWhenRequestingUniqueId()
604 private void testEcAttestation_UniqueIdWorksWithCorrectPermission(boolean isStrongBox) in testEcAttestation_UniqueIdWorksWithCorrectPermission()
675 private void testRsaAttestation(boolean isStrongBox) throws Exception { in testRsaAttestation()
779 private void testRsaAttestation_TooLargeChallenge(int keySize, boolean isStrongBox) in testRsaAttestation_TooLargeChallenge()
813 private void testRsaAttestation_NoChallenge(boolean isStrongBox) throws Exception { in testRsaAttestation_NoChallenge()
917 private void testAesAttestation(boolean isStrongBox) throws Exception { in testAesAttestation()
[all …]
H A DImportWrappedKeyTest.java135 public void testKeyStore_ImportWrappedKey_AES(boolean isStrongBox) throws Exception { in testKeyStore_ImportWrappedKey_AES()
192 private void testKeyStore_ImportIncorrectWrappedKey(boolean isStrongBox) throws Exception { in testKeyStore_ImportIncorrectWrappedKey()
257 public void testKeyStore_ImportWrappedKey_3DES(boolean isStrongBox) throws Exception { in testKeyStore_ImportWrappedKey_3DES()
317 public void testKeyStore_ImportWrappedKey_RSA(boolean isStrongBox) throws Exception { in testKeyStore_ImportWrappedKey_RSA()
396 public void testKeyStore_ImportWrappedKey_EC(boolean isStrongBox) throws Exception { in testKeyStore_ImportWrappedKey_EC()
/aosp_15_r20/external/wycheproof/keystore-cts/java/android/keystore/cts/util/
H A DKeyStoreUtil.java106 public static boolean isSupportedDigest(String digest, boolean isStrongBox) { in isSupportedDigest()
113 public static boolean isSupportedMgfDigest(String digest, boolean isStrongBox) { in isSupportedMgfDigest()
121 public static boolean isSupportedRsaKeySize(int keySize, boolean isStrongBox) { in isSupportedRsaKeySize()
176 public static void assumeKeyMintV1OrNewer(boolean isStrongBox) { in assumeKeyMintV1OrNewer()
/aosp_15_r20/hardware/nxp/keymint/transport/
DAppletConnection.cpp61 static bool isStrongBox = false; // true when linked with StrongBox HAL process variable