Home
last modified time | relevance | path

Searched refs:cipher (Results 1 – 7 of 7) sorted by relevance

/packages/apps/Car/Dialer/src/com/android/car/dialer/storage/
DCipherConverter.java78 Cipher cipher = getCipherInstance(); in decrypt() local
89 cipher.init(Cipher.DECRYPT_MODE, decryptionKey, new GCMParameterSpec(128, iv)); in decrypt()
90 byte[] decryptionResult = cipher.doFinal(encryptedPhoneNumber); in decrypt()
130 Cipher cipher = getCipherInstance(); in encrypt() local
131 cipher.init(Cipher.ENCRYPT_MODE, secretKey); in encrypt()
132 byte[] iv = cipher.getIV(); in encrypt()
136 byte[] encryptionResult = cipher.doFinal( in encrypt()
/packages/services/Car/service/src/com/android/car/trust/
DCarTrustedDeviceService.java344 Cipher cipher = Cipher.getInstance(CIPHER_TRANSFORMATION); in encryptWithKeyStore() local
345 cipher.init(Cipher.ENCRYPT_MODE, key); in encryptWithKeyStore()
346 return new StringBuffer(Base64.encodeToString(cipher.doFinal(value), Base64.DEFAULT)) in encryptWithKeyStore()
348 .append(Base64.encodeToString(cipher.getIV(), Base64.DEFAULT)) in encryptWithKeyStore()
376 Cipher cipher = Cipher.getInstance(CIPHER_TRANSFORMATION); in decryptWithKeyStore() local
377 cipher.init(Cipher.DECRYPT_MODE, key, in decryptWithKeyStore()
379 return cipher.doFinal(value); in decryptWithKeyStore()
/packages/apps/Car/libs/connected-device-lib/src/com/android/car/connecteddevice/storage/
DConnectedDeviceStorage.java173 Cipher cipher = Cipher.getInstance(CIPHER_TRANSFORMATION); in encryptWithKeyStore() local
174 cipher.init(Cipher.ENCRYPT_MODE, key); in encryptWithKeyStore()
175 return Base64.encodeToString(cipher.doFinal(value), Base64.DEFAULT) in encryptWithKeyStore()
177 + Base64.encodeToString(cipher.getIV(), Base64.DEFAULT); in encryptWithKeyStore()
205 Cipher cipher = Cipher.getInstance(CIPHER_TRANSFORMATION); in decryptWithKeyStore() local
206 cipher.init( in decryptWithKeyStore()
209 return cipher.doFinal(value); in decryptWithKeyStore()
/packages/apps/Bluetooth/src/com/android/bluetooth/btservice/bluetoothKeystore/
DBluetoothKeystoreService.java701 Cipher cipher = Cipher.getInstance(CIPHER_ALGORITHM); in encrypt() local
705 cipher.init(Cipher.ENCRYPT_MODE, secretKeyReference); in encrypt()
707 .setEncryptedData(ByteString.copyFrom(cipher.doFinal(data.getBytes()))) in encrypt()
708 .setInitVector(ByteString.copyFrom(cipher.getIV())).build(); in encrypt()
752 Cipher cipher = Cipher.getInstance(CIPHER_ALGORITHM); in decrypt() local
758 cipher.init(Cipher.DECRYPT_MODE, secretKeyReference, spec); in decrypt()
759 decryptedDataBytes = cipher.doFinal(protobuf.getEncryptedData().toByteArray()); in decrypt()
/packages/inputmethods/LatinIME/dictionaries/
Den_GB_wordlist.combined.gz1dictionary=main:en_gb,locale=en_GB,description=English (UK),date ...
Den_US_wordlist.combined.gz1dictionary=main:en_us,locale=en_US,description=English (US),date ...
Den_wordlist.combined.gz1dictionary=main:en,locale=en,description=English,date=1414726273, ...