Searched refs:crypto (Results 1 - 25 of 56) sorted by last modified time

123

/frameworks/support/compat/api23/android/support/v4/hardware/fingerprint/
H A DFingerprintManagerCompatApi23.java31 import javax.crypto.Cipher;
32 import javax.crypto.Mac;
69 static void authenticate(Context context, CryptoObject crypto, int flags, Object cancel, argument
73 fp.authenticate(wrapCryptoObject(crypto),
165 public AuthenticationResultInternal(CryptoObject crypto) { argument
166 mCryptoObject = crypto;
/frameworks/support/compat/java/android/support/v4/hardware/fingerprint/
H A DFingerprintManagerCompat.java29 import javax.crypto.Cipher;
30 import javax.crypto.Mac;
79 * Request authentication of a crypto object. This call warms up the fingerprint hardware
86 * @param crypto object associated with the call or null if none required.
92 public void authenticate(@Nullable CryptoObject crypto, int flags, argument
95 IMPL.authenticate(mContext, crypto, flags, cancel, callback, handler);
99 * A wrapper class for the crypto objects supported by FingerprintManager. Currently the
153 public AuthenticationResult(CryptoObject crypto) { argument
154 mCryptoObject = crypto;
158 * Obtain the crypto objec
205 authenticate(Context context, CryptoObject crypto, int flags, CancellationSignal cancel, AuthenticationCallback callback, Handler handler) argument
226 authenticate(Context context, CryptoObject crypto, int flags, CancellationSignal cancel, AuthenticationCallback callback, Handler handler) argument
249 authenticate(Context context, CryptoObject crypto, int flags, CancellationSignal cancel, AuthenticationCallback callback, Handler handler) argument
[all...]
/frameworks/base/tools/obbtool/
H A Dmkobb.sh53 if ! egrep -q "name\s*:\s*${CRYPTO}$" /proc/crypto; then \
54 echo "ERROR: Could not find crypto \`${CRYPTO}' in the kernel."
/frameworks/base/
H A Dpreloaded-classes270 [Ljavax.crypto.Cipher$InitType;
271 [Ljavax.crypto.Cipher$NeedToSet;
4156 javax.crypto.BadPaddingException
4157 javax.crypto.Cipher
4158 javax.crypto.Cipher$CipherSpiAndProvider
4159 javax.crypto.Cipher$InitParams
4160 javax.crypto.Cipher$InitType
4161 javax.crypto.Cipher$NeedToSet
4162 javax.crypto.Cipher$SpiAndProviderUpdater
4163 javax.crypto
[all...]
/frameworks/base/services/backup/java/com/android/server/backup/
H A DBackupManagerService.java180 import javax.crypto.BadPaddingException;
181 import javax.crypto.Cipher;
182 import javax.crypto.CipherInputStream;
183 import javax.crypto.CipherOutputStream;
184 import javax.crypto.IllegalBlockSizeException;
185 import javax.crypto.NoSuchPaddingException;
186 import javax.crypto.SecretKey;
187 import javax.crypto.SecretKeyFactory;
188 import javax.crypto.spec.IvParameterSpec;
189 import javax.crypto
[all...]
/frameworks/base/services/core/java/com/android/server/
H A DLockSettingsService.java114 import javax.crypto.BadPaddingException;
115 import javax.crypto.Cipher;
116 import javax.crypto.IllegalBlockSizeException;
117 import javax.crypto.KeyGenerator;
118 import javax.crypto.NoSuchPaddingException;
119 import javax.crypto.SecretKey;
120 import javax.crypto.spec.GCMParameterSpec;
H A DStorageManagerService.java152 import javax.crypto.SecretKey;
153 import javax.crypto.SecretKeyFactory;
154 import javax.crypto.spec.PBEKeySpec;
462 /** List of crypto types.
500 * The size of the crypto algorithm key in bits for OBB files. Currently
2762 * Set a field in the crypto header.
2782 * Gets a field from the crypto header.
H A DSyntheticPasswordCrypto.java35 import javax.crypto.BadPaddingException;
36 import javax.crypto.Cipher;
37 import javax.crypto.IllegalBlockSizeException;
38 import javax.crypto.KeyGenerator;
39 import javax.crypto.NoSuchPaddingException;
40 import javax.crypto.SecretKey;
41 import javax.crypto.spec.GCMParameterSpec;
42 import javax.crypto.spec.SecretKeySpec;
/frameworks/base/services/core/java/com/android/server/accounts/
H A DCryptoHelper.java14 import javax.crypto.Cipher;
15 import javax.crypto.KeyGenerator;
16 import javax.crypto.Mac;
17 import javax.crypto.SecretKey;
18 import javax.crypto.spec.IvParameterSpec;
21 * A crypto helper for encrypting and decrypting bundle with in-memory symmetric
/frameworks/base/services/core/java/com/android/server/fingerprint/
H A DFingerprintService.java1371 final PerformanceStats crypto = mCryptoPerformanceMap.get(userId);
1372 if (crypto != null) {
1374 proto.write(FingerprintActionStatsProto.ACCEPT, crypto.accept);
1375 proto.write(FingerprintActionStatsProto.REJECT, crypto.reject);
1376 proto.write(FingerprintActionStatsProto.ACQUIRE, crypto.acquire);
1377 proto.write(FingerprintActionStatsProto.LOCKOUT, crypto.lockout);
1378 proto.write(FingerprintActionStatsProto.LOCKOUT_PERMANENT, crypto.lockout);
/frameworks/base/services/core/jni/
H A DAndroid.mk38 external/scrypt/lib/crypto \
/frameworks/base/services/tests/servicestests/src/com/android/server/
H A DMockSyntheticPasswordManager.java27 import javax.crypto.SecretKeyFactory;
28 import javax.crypto.spec.PBEKeySpec;
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/
H A DSettingsProvider.java99 import javax.crypto.Mac;
100 import javax.crypto.spec.SecretKeySpec;
/frameworks/base/keystore/java/android/security/
H A DSystemKeyStore.java28 import javax.crypto.KeyGenerator;
29 import javax.crypto.SecretKey;
/frameworks/base/keystore/java/android/security/keystore/
H A DAndroidKeyStoreAuthenticatedAESCipherSpi.java43 import javax.crypto.CipherSpi;
44 import javax.crypto.spec.GCMParameterSpec;
256 /** Whether the current {@code #mIv} has been used by the underlying crypto operation. */
H A DAndroidKeyStoreCipherSpiBase.java50 import javax.crypto.AEADBadTagException;
51 import javax.crypto.BadPaddingException;
52 import javax.crypto.Cipher;
53 import javax.crypto.CipherSpi;
54 import javax.crypto.IllegalBlockSizeException;
55 import javax.crypto.NoSuchPaddingException;
56 import javax.crypto.SecretKey;
57 import javax.crypto.SecretKeyFactory;
58 import javax.crypto.ShortBufferException;
59 import javax.crypto
[all...]
H A DAndroidKeyStoreHmacSpi.java32 import javax.crypto.MacSpi;
H A DAndroidKeyStoreKeyGeneratorSpi.java36 import javax.crypto.KeyGeneratorSpi;
37 import javax.crypto.SecretKey;
H A DAndroidKeyStoreProvider.java46 import javax.crypto.Cipher;
47 import javax.crypto.Mac;
81 // javax.crypto.KeyGenerator
135 * Gets the {@link KeyStore} operation handle corresponding to the provided JCA crypto
159 throw new IllegalArgumentException("Unsupported crypto primitive: " + cryptoPrimitive
H A DAndroidKeyStoreRSACipherSpi.java37 import javax.crypto.Cipher;
38 import javax.crypto.CipherSpi;
39 import javax.crypto.spec.OAEPParameterSpec;
40 import javax.crypto.spec.PSource;
506 * Overrides the default padding of the crypto operation.
H A DAndroidKeyStoreSecretKey.java19 import javax.crypto.SecretKey;
H A DAndroidKeyStoreSecretKeyFactorySpi.java34 import javax.crypto.SecretKey;
35 import javax.crypto.SecretKeyFactorySpi;
36 import javax.crypto.spec.SecretKeySpec;
H A DAndroidKeyStoreSpi.java62 import javax.crypto.SecretKey;
167 // All crypto algorithms offered by Android Keystore for its private keys must also
171 // crypto can only be offered for public keys for which keystore contains the
190 // PublicKey. This key will delegate crypto operations involving this public key to
191 // Android Keystore when higher-priority providers do not offer these crypto
197 // bug. Let other providers handle crypto operations involving the public key returned
206 * keystore. This is needed so that Android Keystore crypto operations using public keys can
999 * {@link #getPublicKey()}. This is so that crypto operations on these public keys contain
1001 * crypto operations using public keys can find out which key alias to use. These operations
H A DAndroidKeyStoreUnauthenticatedAESCipherSpi.java34 import javax.crypto.CipherSpi;
35 import javax.crypto.spec.IvParameterSpec;
101 /** Whether the current {@code #mIv} has been used by the underlying crypto operation. */
H A DKeyGenParameterSpec.java34 import javax.crypto.Cipher;
35 import javax.crypto.KeyGenerator;
36 import javax.crypto.Mac;
579 * symmetric (AES or HMAC) key, {@link javax.crypto.KeyGenerator#generateKey()} will throw
1078 * symmetric (AES or HMAC) key, {@link javax.crypto.KeyGenerator#generateKey()} will throw

Completed in 573 milliseconds

123