Home
last modified time | relevance | path

Searched refs:kp (Results 1 – 12 of 12) sorted by relevance

/cts/apps/CtsVerifier/src/com/android/cts/verifier/managedprovisioning/
DKeyChainTestActivity.java87 AttestedKeyPair kp = in doInBackground() local
93 if (kp != null) { in doInBackground()
98 return kp; in doInBackground()
108 protected void onPostExecute(AttestedKeyPair kp) { in onPostExecute() argument
109 super.onPostExecute(kp); in onPostExecute()
110 if (mListener != null && kp != null) { in onPostExecute()
111 mListener.onKeyPairGenerated(kp); in onPostExecute()
/cts/tests/tests/keystore/src/android/keystore/cts/
DKeyAgreementTest.java227 KeyPair kp = kpg.generateKeyPair(); in testDoPhase_withDifferentCurveKey_fails_withX25519AndSecp224() local
242 ka.doPhase(kp.getPublic(), true); in testDoPhase_withDifferentCurveKey_fails_withX25519AndSecp224()
270 KeyPair kp = kpg.generateKeyPair(); in generateEphemeralAndroidKeyPair() local
272 KeyFactory factory = KeyFactory.getInstance(kp.getPrivate().getAlgorithm(), in generateEphemeralAndroidKeyPair()
276 keyInfo = factory.getKeySpec(kp.getPrivate(), KeyInfo.class); in generateEphemeralAndroidKeyPair()
284 return kp; in generateEphemeralAndroidKeyPair()
DCurve25519Test.java168 KeyPair kp = kpg.generateKeyPair(); in ed25519KeyGenerationAndSigningTest() local
169 assertThat(kp.getPublic()).isInstanceOf(EdECPublicKey.class); in ed25519KeyGenerationAndSigningTest()
173 signer.initSign(kp.getPrivate()); in ed25519KeyGenerationAndSigningTest()
177 EdECPublicKey publicKey = (EdECPublicKey) kp.getPublic(); in ed25519KeyGenerationAndSigningTest()
180 + Base64.getEncoder().encodeToString(kp.getPublic().getEncoded()) in ed25519KeyGenerationAndSigningTest()
DECDSASignatureTest.java150 KeyPair kp = generateKeyPairForNonceReuse_Helper(useStrongbox, curve); in testECDSANonceReuse_Helper() local
165 byte[] signature = computeSignatureForNonceReuse_Helper(message, kp); in testECDSANonceReuse_Helper()
206 KeyPair kp = generator.generateKeyPair(); in generateKeyPairForNonceReuse_Helper() local
207 return kp; in generateKeyPairForNonceReuse_Helper()
DImportWrappedKeyTest.java329 KeyPair kp = kpg.generateKeyPair(); in testKeyStore_ImportWrappedKey_RSA() local
330 PublicKey publicKey = kp.getPublic(); in testKeyStore_ImportWrappedKey_RSA()
331 PrivateKey privateKey = kp.getPrivate(); in testKeyStore_ImportWrappedKey_RSA()
408 KeyPair kp = kpg.generateKeyPair(); in testKeyStore_ImportWrappedKey_EC() local
409 PublicKey publicKey = kp.getPublic(); in testKeyStore_ImportWrappedKey_EC()
410 PrivateKey privateKey = kp.getPrivate(); in testKeyStore_ImportWrappedKey_EC()
DKeyPairGeneratorTest.java964 KeyPair kp = generator.generateKeyPair(); in getPublicKeys() local
965 PublicKey pk = kp.getPublic(); in getPublicKeys()
/cts/common/device-side/device-info/src/com/android/compatibility/common/deviceinfo/
DKeystoreAttestationDeviceInfo.java86 KeyPair kp = keyPairGenerator.generateKeyPair(); in generateKeyPair() local
88 if (kp == null) { in generateKeyPair()
/cts/tests/tests/keystore/src/android/keystore/cts/util/
DTestUtils.java210 KeyPair kp = kpg.generateKeyPair(); in assertImplementedByKeyMintAfter() local
211 KeyFactory factory = KeyFactory.getInstance(kp.getPrivate().getAlgorithm(), in assertImplementedByKeyMintAfter()
213 ecdsaSecurityLevel = factory.getKeySpec(kp.getPrivate(), in assertImplementedByKeyMintAfter()
/cts/apps/CtsVerifier/libs/
Dopencv3-android.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/opencv/ org/ ...
/cts/tests/tests/security/res/raw/
Dcve_2018_13925.ts340 …��ڢB FI�d?� 6,��MP&Aζ4�������-Z��lT����[�D0ČL��样˿���v�� nh�n�'� kp�lU%7U����3���T�…
4032 …+��%e;�aD�H�/�)���ʙr�I<Lkd����V�ӏ��Ib� nf�*F�G�4W~��ho���h솙������7՟?�kp�"�4vCL��[ ^ƊB��ϟ���…
Dcve_2019_2244.ts339 …��ڢB FI�d?� 6,��MP&Aζ4�������-Z��lT����[�D0ČL��样˿���v�� nh�n�'� kp�lU%7U����3���T�…
4034 …+��%e;�aD�H�/�)���ʙr�I<Lkd����V�ӏ��Ib� nf�*F�G�4W~��ho���h솙������7՟?�kp�"�4vCL��[ ^ƊB��ϟ���…
Dcve_2019_2245.ts339 …��ڢB FI�d?� 6,��MP&Aζ4�������-Z��lT����[�D0ČL��样˿���v�� nh�n�'� kp�lU%7U����3���T�…