Home
last modified time | relevance | path

Searched refs:crypto (Results 1 – 25 of 87) sorted by relevance

1234

/aosp14/frameworks/base/media/jni/
H A Dandroid_media_MediaCrypto.cpp72 sp<ICrypto> crypto = MakeCrypto(); in MakeCrypto() local
74 if (crypto == NULL) { in MakeCrypto()
84 return crypto; in MakeCrypto()
97 sp<ICrypto> crypto = MakeCrypto(); in IsCryptoSchemeSupported() local
99 if (crypto == NULL) { in IsCryptoSchemeSupported()
144 if (crypto != NULL) { in setCrypto()
145 crypto->incStrong(thiz); in setCrypto()
191 sp<JCrypto> crypto = new JCrypto( in android_media_MediaCrypto_native_setup() local
213 setCrypto(env,thiz, crypto); in android_media_MediaCrypto_native_setup()
253 if (crypto == NULL) { in android_media_MediaCrypto_requiresSecureDecoderComponent()
[all …]
/aosp14/frameworks/base/services/companion/java/com/android/server/companion/transport/
H A DCryptoManager.java27 import javax.crypto.BadPaddingException;
28 import javax.crypto.Cipher;
29 import javax.crypto.IllegalBlockSizeException;
30 import javax.crypto.NoSuchPaddingException;
31 import javax.crypto.SecretKey;
32 import javax.crypto.spec.IvParameterSpec;
33 import javax.crypto.spec.SecretKeySpec;
/aosp14/frameworks/base/services/core/java/com/android/server/locksettings/
H A DAesEncryptionUtil.java29 import javax.crypto.BadPaddingException;
30 import javax.crypto.Cipher;
31 import javax.crypto.IllegalBlockSizeException;
32 import javax.crypto.NoSuchPaddingException;
33 import javax.crypto.SecretKey;
34 import javax.crypto.spec.GCMParameterSpec;
H A DRebootEscrowKey.java23 import javax.crypto.KeyGenerator;
24 import javax.crypto.SecretKey;
25 import javax.crypto.spec.SecretKeySpec;
H A DSyntheticPasswordCrypto.java43 import javax.crypto.BadPaddingException;
44 import javax.crypto.Cipher;
45 import javax.crypto.IllegalBlockSizeException;
46 import javax.crypto.KeyGenerator;
47 import javax.crypto.NoSuchPaddingException;
48 import javax.crypto.SecretKey;
49 import javax.crypto.spec.GCMParameterSpec;
50 import javax.crypto.spec.SecretKeySpec;
H A DManagedProfilePasswordCache.java40 import javax.crypto.Cipher;
41 import javax.crypto.KeyGenerator;
42 import javax.crypto.SecretKey;
43 import javax.crypto.spec.GCMParameterSpec;
H A DSP800Derive.java23 import javax.crypto.Mac;
24 import javax.crypto.spec.SecretKeySpec;
/aosp14/frameworks/base/apct-tests/perftests/core/src/android/libcore/regression/
H A DCipherInputStreamPerfTest.java34 import javax.crypto.Cipher;
35 import javax.crypto.CipherInputStream;
36 import javax.crypto.KeyGenerator;
37 import javax.crypto.SecretKey;
38 import javax.crypto.spec.IvParameterSpec;
H A DCipherPerfTest.java37 import javax.crypto.Cipher;
38 import javax.crypto.KeyGenerator;
39 import javax.crypto.SecretKey;
40 import javax.crypto.spec.IvParameterSpec;
/aosp14/frameworks/base/libs/securebox/src/com/android/security/
H A DSecureBox.java47 import javax.crypto.AEADBadTagException;
48 import javax.crypto.BadPaddingException;
49 import javax.crypto.Cipher;
50 import javax.crypto.IllegalBlockSizeException;
51 import javax.crypto.KeyAgreement;
52 import javax.crypto.Mac;
53 import javax.crypto.NoSuchPaddingException;
54 import javax.crypto.SecretKey;
55 import javax.crypto.spec.GCMParameterSpec;
56 import javax.crypto.spec.SecretKeySpec;
/aosp14/frameworks/base/services/core/java/com/android/server/locksettings/recoverablekeystore/
H A DWrappedKey.java32 import javax.crypto.Cipher;
33 import javax.crypto.IllegalBlockSizeException;
34 import javax.crypto.NoSuchPaddingException;
35 import javax.crypto.SecretKey;
36 import javax.crypto.spec.GCMParameterSpec;
H A DRecoverableKeyGenerator.java30 import javax.crypto.KeyGenerator;
31 import javax.crypto.SecretKey;
32 import javax.crypto.spec.SecretKeySpec;
H A DPlatformKeyManager.java43 import javax.crypto.Cipher;
44 import javax.crypto.KeyGenerator;
45 import javax.crypto.NoSuchPaddingException;
46 import javax.crypto.SecretKey;
47 import javax.crypto.spec.GCMParameterSpec;
/aosp14/frameworks/base/services/core/java/com/android/server/accounts/
H A DCryptoHelper.java15 import javax.crypto.Cipher;
16 import javax.crypto.KeyGenerator;
17 import javax.crypto.Mac;
18 import javax.crypto.SecretKey;
19 import javax.crypto.spec.IvParameterSpec;
/aosp14/frameworks/base/services/backup/java/com/android/server/backup/restore/
H A DPerformAdbRestoreTask.java52 import javax.crypto.BadPaddingException;
53 import javax.crypto.Cipher;
54 import javax.crypto.CipherInputStream;
55 import javax.crypto.IllegalBlockSizeException;
56 import javax.crypto.NoSuchPaddingException;
57 import javax.crypto.SecretKey;
58 import javax.crypto.spec.IvParameterSpec;
59 import javax.crypto.spec.SecretKeySpec;
/aosp14/frameworks/base/core/java/android/hardware/biometrics/
H A DBiometricPrompt.java55 import javax.crypto.Cipher;
56 import javax.crypto.Mac;
859 public AuthenticationResult(CryptoObject crypto, in AuthenticationResult() argument
862 super(crypto, authenticationType, null /* identifier */, 0 /* userId */); in AuthenticationResult()
1036 public void authenticate(@NonNull CryptoObject crypto, in authenticate() argument
1048 if (crypto == null) { in authenticate()
1071 authenticateInternal(crypto, cancel, executor, callback, mContext.getUserId()); in authenticate()
1136 @Nullable CryptoObject crypto, in authenticateInternal()
1142 mCryptoObject = crypto; in authenticateInternal()
1143 final long operationId = crypto != null ? crypto.getOpId() : 0L; in authenticateInternal()
H A DCryptoObject.java26 import javax.crypto.Cipher;
27 import javax.crypto.Mac;
/aosp14/frameworks/base/core/tests/coretests/src/android/content/pm/
H A DMacAuthenticatedInputStreamTest.java29 import javax.crypto.Mac;
30 import javax.crypto.SecretKey;
31 import javax.crypto.spec.SecretKeySpec;
/aosp14/frameworks/base/services/backup/java/com/android/server/backup/utils/
H A DPasswordUtils.java30 import javax.crypto.SecretKey;
31 import javax.crypto.SecretKeyFactory;
32 import javax.crypto.spec.PBEKeySpec;
/aosp14/frameworks/base/keystore/java/android/security/keystore2/
H A DAndroidKeyStoreCipherSpiBase.java53 import javax.crypto.AEADBadTagException;
54 import javax.crypto.BadPaddingException;
55 import javax.crypto.Cipher;
56 import javax.crypto.CipherSpi;
58 import javax.crypto.NoSuchPaddingException;
59 import javax.crypto.SecretKey;
60 import javax.crypto.SecretKeyFactory;
61 import javax.crypto.ShortBufferException;
62 import javax.crypto.spec.OAEPParameterSpec;
63 import javax.crypto.spec.PSource;
[all …]
H A DAndroidKeyStoreKeyAgreementSpi.java39 import javax.crypto.KeyAgreementSpi;
40 import javax.crypto.SecretKey;
41 import javax.crypto.ShortBufferException;
42 import javax.crypto.spec.SecretKeySpec;
/aosp14/frameworks/base/media/
H A DTEST_MAPPING30 "file_patterns": ["(?i)drm|crypto"]
39 "file_patterns": ["(?i)drm|crypto"]
/aosp14/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/recoverablekeystore/
H A DRecoverableKeyGeneratorTest.java45 import javax.crypto.Cipher;
46 import javax.crypto.KeyGenerator;
47 import javax.crypto.SecretKey;
48 import javax.crypto.spec.GCMParameterSpec;
/aosp14/frameworks/base/keystore/java/android/security/keystore/
H A DAndroidKeyStoreProvider.java31 import javax.crypto.Cipher;
32 import javax.crypto.Mac;
/aosp14/frameworks/base/identity/java/android/security/identity/
H A DCredstoreIdentityCredential.java46 import javax.crypto.BadPaddingException;
47 import javax.crypto.Cipher;
48 import javax.crypto.IllegalBlockSizeException;
49 import javax.crypto.KeyAgreement;
50 import javax.crypto.NoSuchPaddingException;
51 import javax.crypto.SecretKey;
52 import javax.crypto.spec.GCMParameterSpec;
53 import javax.crypto.spec.SecretKeySpec;

1234