Home
last modified time | relevance | path

Searched refs:secretKey (Results 1 – 10 of 10) sorted by relevance

/packages/modules/Wifi/service/java/com/android/server/wifi/util/
DWifiConfigStoreEncryptionUtil.java156 SecretKey secretKey = null; in getOrCreateSecretKey() local
163 secretKey = secretKeyEntry.getSecretKey(); in getOrCreateSecretKey()
182 secretKey = keyGenerator.generateKey(); in getOrCreateSecretKey()
199 return secretKey; in getOrCreateSecretKey()
/packages/modules/Connectivity/nearby/service/java/com/android/server/nearby/util/encryption/
DCryptorMicImp.java159 SecretKey secretKey = new SecretKeySpec(aesKey, ENCRYPT_ALGORITHM); in encrypt() local
161 cipher.init(Cipher.ENCRYPT_MODE, secretKey, new IvParameterSpec(iv)); in encrypt()
196 SecretKey secretKey = new SecretKeySpec(aesKey, ENCRYPT_ALGORITHM); in decrypt() local
198 cipher.init(Cipher.DECRYPT_MODE, secretKey, new IvParameterSpec(iv)); in decrypt()
/packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/crypto/
DIkeMac.java69 SecretKeySpec secretKey = new SecretKeySpec(keyBytes, getAlgorithmName()); in signBytes() local
71 mMac.init(secretKey); in signBytes()
/packages/modules/Connectivity/tests/cts/net/src/android/net/cts/
DPacketUtils.java592 final byte[] secretKey = Arrays.copyOfRange(key, 0, key.length - saltLen); in getCipherText()
593 final byte[] salt = Arrays.copyOfRange(key, secretKey.length, key.length); in getCipherText()
594 secretKeySpec = new SecretKeySpec(secretKey, algoName); in getCipherText()
635 final byte[] secretKey = Arrays.copyOfRange(key, 0, key.length - saltLen); in getCipherText()
636 final byte[] salt = Arrays.copyOfRange(key, secretKey.length, key.length); in getCipherText()
638 final SecretKeySpec secretKeySpec = new SecretKeySpec(secretKey, algoName); in getCipherText()
/packages/services/Car/service/src/com/android/car/
DCarServiceUtils.java850 SecretKey secretKey = getOrCreateSecretKey(keyAlias); in encryptData() local
851 if (secretKey == null) { in encryptData()
858 cipher.init(Cipher.ENCRYPT_MODE, secretKey); in encryptData()
873 SecretKey secretKey = getOrCreateSecretKey(keyAlias); in decryptData() local
874 if (secretKey == null) { in decryptData()
882 cipher.init(Cipher.DECRYPT_MODE, secretKey, spec); in decryptData()
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/btservice/bluetoothKeystore/
DBluetoothKeystoreService.java699 SecretKey secretKey = null; in getOrCreateSecretKey() local
707 secretKey = secretKeyEntry.getSecretKey(); in getOrCreateSecretKey()
727 secretKey = keyGenerator.generateKey(); in getOrCreateSecretKey()
743 return secretKey; in getOrCreateSecretKey()
/packages/modules/IPsec/src/java/com/android/internal/net/eap/statemachine/
DEapMsChapV2MethodStateMachine.java582 SecretKey secretKey = in desEncrypt() local
586 des.init(Cipher.ENCRYPT_MODE, secretKey); in desEncrypt()
/packages/modules/IPsec/src/java/com/android/internal/net/eap/message/simaka/
DEapSimAkaAttribute.java1310 SecretKeySpec secretKey = new SecretKeySpec(key, CIPHER_ALGORITHM); in doCipherOperation() local
1312 cipherAlgorithm.init(opmode, secretKey, ivParam); in doCipherOperation()
/packages/services/Car/tests/BugReportApp/libs/
Dgoogle-oauth-client-1.30.1.jarMETA-INF/MANIFEST.MF META-INF/ com/ com/google/ com/ ...
/packages/apps/Car/DebuggingRestrictionController/libs/
Dgoogle-oauth-client-1.31.0.jarMETA-INF/MANIFEST.MF META-INF/ com/ com/google/ com/ ...