Home
last modified time | relevance | path

Searched refs:ivSpec (Results 1 – 2 of 2) sorted by relevance

/packages/services/Car/service/src/com/android/car/trust/
DCarTrustedDeviceService.java263 byte[] ivSpec = Base64.decode(values[1], Base64.DEFAULT); in getEncryptionKey()
264 return decryptWithKeyStore(KEY_ALIAS, encryptedKey, ivSpec); in getEncryptionKey()
369 byte[] decryptWithKeyStore(String keyAlias, byte[] value, byte[] ivSpec) { in decryptWithKeyStore() argument
378 new GCMParameterSpec(GCM_AUTHENTICATION_TAG_LENGTH, ivSpec)); in decryptWithKeyStore()
/packages/apps/Car/libs/connected-device-lib/src/com/android/car/connecteddevice/storage/
DConnectedDeviceStorage.java134 byte[] ivSpec = Base64.decode(values[1], Base64.DEFAULT); in getEncryptionKey()
135 return decryptWithKeyStore(KEY_ALIAS, encryptedKey, ivSpec); in getEncryptionKey()
198 @NonNull String keyAlias, @Nullable byte[] value, @NonNull byte[] ivSpec) { in decryptWithKeyStore() argument
208 new GCMParameterSpec(GCM_AUTHENTICATION_TAG_LENGTH, ivSpec)); in decryptWithKeyStore()