/cts/tools/utils/ |
D | certificates.py | 18 from OpenSSL import crypto 29 return crypto.dump_certificate(crypto.FILETYPE_PEM, self.cert) 32 return crypto.dump_privatekey(crypto.FILETYPE_PEM, self.key) 47 cert = crypto.load_certificate(crypto.FILETYPE_PEM, data) 48 key = crypto.load_privatekey(crypto.FILETYPE_PEM, data) 56 key = crypto.PKey() 57 key.generate_key(crypto.TYPE_RSA, keysize) 59 cert = crypto.X509() 69 basicContraints = crypto.X509Extension("basicConstraints", True, "CA:TRUE")
|
/cts/hostsidetests/securitybulletin/securityPatch/CVE-2017-13253/ |
D | poc.cpp | 41 sp<ICrypto> crypto = service->makeCrypto(); in main() local 42 if (crypto == NULL) { in main() 51 if (crypto->createPlugin(clearkey_uuid, NULL, 0) != OK) { in main() 60 int heapSeqNum = crypto->setHeap(heap); in main() 75 int val = crypto->decrypt(NULL, NULL, in main()
|
/cts/tests/tests/identity/src/android/security/identity/cts/ |
D | EphemeralKeyTest.java | 48 import javax.crypto.BadPaddingException; 49 import javax.crypto.Cipher; 50 import javax.crypto.IllegalBlockSizeException; 51 import javax.crypto.KeyAgreement; 52 import javax.crypto.NoSuchPaddingException; 53 import javax.crypto.SecretKey; 54 import javax.crypto.spec.GCMParameterSpec; 55 import javax.crypto.spec.SecretKeySpec;
|
D | UserAuthTest.java | 82 import javax.crypto.BadPaddingException; 83 import javax.crypto.Cipher; 84 import javax.crypto.IllegalBlockSizeException; 85 import javax.crypto.KeyGenerator; 86 import javax.crypto.NoSuchPaddingException; 87 import javax.crypto.SecretKey; 88 import javax.crypto.spec.GCMParameterSpec;
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/security/ |
D | ScreenLockBoundKeysTest.java | 46 import javax.crypto.BadPaddingException; 47 import javax.crypto.Cipher; 48 import javax.crypto.IllegalBlockSizeException; 49 import javax.crypto.KeyGenerator; 50 import javax.crypto.NoSuchPaddingException; 51 import javax.crypto.SecretKey;
|
D | FingerprintBoundKeysTest.java | 53 import javax.crypto.BadPaddingException; 54 import javax.crypto.Cipher; 55 import javax.crypto.IllegalBlockSizeException; 56 import javax.crypto.KeyGenerator; 57 import javax.crypto.NoSuchPaddingException; 58 import javax.crypto.SecretKey;
|
D | IdentityCredentialAuthentication.java | 77 import javax.crypto.BadPaddingException; 78 import javax.crypto.Cipher; 79 import javax.crypto.IllegalBlockSizeException; 80 import javax.crypto.KeyGenerator; 81 import javax.crypto.NoSuchPaddingException; 82 import javax.crypto.SecretKey;
|
/cts/hostsidetests/appsecurity/test-apps/AuthBoundKeyApp/src/com/android/cts/authboundkey/ |
D | AuthBoundKeyAppTest.java | 38 import javax.crypto.Cipher; 39 import javax.crypto.KeyGenerator; 40 import javax.crypto.SecretKey;
|
/cts/hostsidetests/securitybulletin/securityPatch/CVE-2016-0811/ |
D | poc.cpp | 57 sp<ICrypto> crypto = in main() local 69 st = crypto->createPlugin(kClearKeyUUID, sess.array(), sess.size()); in main() 70 BpInterface<ICrypto> *sit = static_cast<BpInterface<ICrypto> *>(crypto.get()); in main()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/managedprovisioning/ |
D | AuthenticationBoundKeyTestActivity.java | 40 import javax.crypto.BadPaddingException; 41 import javax.crypto.Cipher; 42 import javax.crypto.IllegalBlockSizeException; 43 import javax.crypto.KeyGenerator; 44 import javax.crypto.NoSuchPaddingException; 45 import javax.crypto.SecretKey;
|
/cts/tests/tests/keystore/src/android/keystore/cts/ |
D | ImportWrappedKeyTest.java | 61 import javax.crypto.Cipher; 62 import javax.crypto.KeyGenerator; 63 import javax.crypto.spec.GCMParameterSpec; 64 import javax.crypto.spec.IvParameterSpec; 65 import javax.crypto.spec.OAEPParameterSpec; 66 import javax.crypto.spec.PSource; 67 import javax.crypto.spec.SecretKeySpec;
|
D | AESGCMCipherTestBase.java | 25 import javax.crypto.AEADBadTagException; 26 import javax.crypto.Cipher; 27 import javax.crypto.spec.GCMParameterSpec;
|
D | SecretKeyFactoryTest.java | 41 import javax.crypto.KeyGenerator; 42 import javax.crypto.SecretKey; 43 import javax.crypto.SecretKeyFactory; 44 import javax.crypto.spec.SecretKeySpec;
|
D | AESCipherNistCavpKatTest.java | 34 import javax.crypto.Cipher; 35 import javax.crypto.SecretKey; 36 import javax.crypto.spec.IvParameterSpec; 37 import javax.crypto.spec.SecretKeySpec;
|
D | HmacMacPerformanceTest.java | 23 import javax.crypto.Mac; 24 import javax.crypto.SecretKey;
|
D | DesCipherPerformanceTest.java | 25 import javax.crypto.Cipher; 26 import javax.crypto.SecretKey;
|
D | AesCipherPerformanceTest.java | 25 import javax.crypto.Cipher; 26 import javax.crypto.SecretKey;
|
D | RSACipherTest.java | 26 import javax.crypto.BadPaddingException; 27 import javax.crypto.Cipher; 28 import javax.crypto.IllegalBlockSizeException;
|
D | TransparentSecretKey.java | 19 import javax.crypto.SecretKey;
|
D | AESCTRCipherTestBase.java | 23 import javax.crypto.spec.IvParameterSpec;
|
D | AESCBCCipherTestBase.java | 23 import javax.crypto.spec.IvParameterSpec;
|
D | DESedeCBCPKCS7PaddingCipherTest.java | 7 import javax.crypto.spec.IvParameterSpec;
|
/cts/tests/tests/media/libmediandkjni/ |
D | native-mediadrm-jni.cpp | 326 const char* mime, const AMediaCrypto* crypto, in addTrack() argument 337 const_cast<AMediaCrypto*>(crypto), 0); in addTrack() 341 const AMediaCrypto* crypto, const ANativeWindow* window, in addTracks() argument 367 addTrack(trackFormat, mime, crypto, window, codec); in addTracks() 465 AMediaCrypto* crypto = NULL; in playContent() local 467 crypto = AMediaCrypto_new(&uuid[0], sessionId.ptr, sessionId.length); in playContent() 468 if (crypto == NULL) { in playContent() 476 addTracks(videoExtractor, crypto, window, &videoCodec); in playContent() 522 AMediaCrypto_delete(crypto); in playContent()
|
/cts/tests/tests/net/ipsec/src/android/net/ipsec/ike/cts/ |
D | PacketUtils.java | 31 import javax.crypto.Cipher; 32 import javax.crypto.Mac; 33 import javax.crypto.spec.IvParameterSpec; 34 import javax.crypto.spec.SecretKeySpec;
|
/cts/tests/tests/net/src/android/net/cts/ |
D | PacketUtils.java | 31 import javax.crypto.Cipher; 32 import javax.crypto.Mac; 33 import javax.crypto.spec.IvParameterSpec; 34 import javax.crypto.spec.SecretKeySpec;
|