/frameworks/base/services/robotests/backup/src/com/android/server/backup/encryption/chunking/ |
D | ChunkEncryptorTest.java | 103 EncryptedChunk chunk = mChunkEncryptor.encrypt(mPlaintextHash, PLAINTEXT_BYTES); in encrypt_withHash_resultContainsHashAsKey() 110 EncryptedChunk chunk = mChunkEncryptor.encrypt(mPlaintextHash, PLAINTEXT_BYTES); in encrypt_generatesHmacOfPlaintext() 121 EncryptedChunk chunk1 = mChunkEncryptor.encrypt(mPlaintextHash, PLAINTEXT_BYTES); in encrypt_whenInvokedAgain_generatesNewNonce() 123 EncryptedChunk chunk2 = mChunkEncryptor.encrypt(mPlaintextHash, PLAINTEXT_BYTES); in encrypt_whenInvokedAgain_generatesNewNonce() 130 EncryptedChunk chunk1 = mChunkEncryptor.encrypt(mPlaintextHash, PLAINTEXT_BYTES); in encrypt_whenInvokedAgain_generatesNewCiphertext() 132 EncryptedChunk chunk2 = mChunkEncryptor.encrypt(mPlaintextHash, PLAINTEXT_BYTES); in encrypt_whenInvokedAgain_generatesNewCiphertext() 139 EncryptedChunk encryptedChunk = mChunkEncryptor.encrypt(mPlaintextHash, PLAINTEXT_BYTES); in encrypt_generates12ByteNonce() 147 EncryptedChunk chunk = mChunkEncryptor.encrypt(mPlaintextHash, PLAINTEXT_BYTES); in encrypt_decryptedResultCorrespondsToPlaintext()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/recoverablekeystore/ |
D | SecureBoxTest.java | 198 state = SecureBox.encrypt(THM_PUBLIC_KEY, TEST_SHARED_SECRET, TEST_HEADER, state); in encryptThenDecrypt() 209 SecureBox.encrypt( in encryptThenDecrypt_nullPublicPrivateKeys() 220 SecureBox.encrypt( in encryptThenDecrypt_nullSharedSecret() 230 SecureBox.encrypt( in encryptThenDecrypt_nullHeader() 240 SecureBox.encrypt( in encryptThenDecrypt_nullPayload() 257 SecureBox.encrypt( in encrypt_nullPublicKeyAndSharedSecret() 296 SecureBox.encrypt(THM_PUBLIC_KEY, TEST_SHARED_SECRET, TEST_HEADER, TEST_PAYLOAD); in decrypt_badAuthenticationTag() 314 () -> SecureBox.encrypt(publicKey, TEST_SHARED_SECRET, TEST_HEADER, TEST_PAYLOAD)); in encrypt_invalidPublicKey() 320 SecureBox.encrypt(THM_PUBLIC_KEY, TEST_SHARED_SECRET, TEST_HEADER, TEST_PAYLOAD); in decrypt_invalidPrivateKey() 333 SecureBox.encrypt(THM_PUBLIC_KEY, TEST_SHARED_SECRET, TEST_HEADER, TEST_PAYLOAD); in decrypt_publicKeyOutsideCurve()
|
D | KeySyncUtilsTest.java | 253 byte[] encryptedPayload = SecureBox.encrypt( in decryptRecoveryClaimResponse_decryptsAValidResponse() 269 byte[] encryptedPayload = SecureBox.encrypt( in decryptRecoveryClaimResponse_throwsIfCannotDecrypt()
|
/frameworks/base/core/java/android/bluetooth/ |
D | BluetoothServerSocket.java | 97 /*package*/ BluetoothServerSocket(int type, boolean auth, boolean encrypt, int port) in BluetoothServerSocket() argument 100 mSocket = new BluetoothSocket(type, -1, auth, encrypt, null, port, null); in BluetoothServerSocket() 118 /*package*/ BluetoothServerSocket(int type, boolean auth, boolean encrypt, int port, in BluetoothServerSocket() argument 122 mSocket = new BluetoothSocket(type, -1, auth, encrypt, null, port, null, mitm, in BluetoothServerSocket() 139 /*package*/ BluetoothServerSocket(int type, boolean auth, boolean encrypt, ParcelUuid uuid) in BluetoothServerSocket() argument 141 mSocket = new BluetoothSocket(type, -1, auth, encrypt, null, -1, uuid); in BluetoothServerSocket()
|
D | BluetoothSocket.java | 178 /*package*/ BluetoothSocket(int type, int fd, boolean auth, boolean encrypt, in BluetoothSocket() argument 180 this(type, fd, auth, encrypt, device, port, uuid, false, false); in BluetoothSocket() 198 /*package*/ BluetoothSocket(int type, int fd, boolean auth, boolean encrypt, in BluetoothSocket() argument 217 mEncrypt = encrypt; in BluetoothSocket() 285 private BluetoothSocket(int type, int fd, boolean auth, boolean encrypt, String address, in BluetoothSocket() argument 287 this(type, fd, auth, encrypt, new BluetoothDevice(address), port, null, false, false); in BluetoothSocket()
|
D | BluetoothAdapter.java | 2525 boolean auth, boolean encrypt) throws IOException { in createNewRfcommSocketAndRecord() argument 2527 socket = new BluetoothServerSocket(BluetoothSocket.TYPE_RFCOMM, auth, encrypt, in createNewRfcommSocketAndRecord()
|
/frameworks/base/services/core/java/com/android/server/locksettings/ |
D | SyntheticPasswordCrypto.java | 69 private static byte[] encrypt(SecretKey key, byte[] blob) in encrypt() method in SyntheticPasswordCrypto 96 public static byte[] encrypt(byte[] keyBytes, byte[] personalisation, byte[] message) { in encrypt() method in SyntheticPasswordCrypto 101 return encrypt(key, message); in encrypt() 176 byte[] intermediate = encrypt(applicationId, APPLICATION_ID_PERSONALIZATION, data); in createBlob() 177 return encrypt(secretKey, intermediate); in createBlob()
|
D | SyntheticPasswordManager.java | 195 this.E0 = SyntheticPasswordCrypto.encrypt(this.syntheticPassword.getBytes(), in initialize() 766 tokenData.secdiscardableOnDisk = SyntheticPasswordCrypto.encrypt(tokenData.weaverSecret, in createTokenBasedSyntheticPassword()
|
/frameworks/base/services/core/java/com/android/server/locksettings/recoverablekeystore/ |
D | KeySyncUtils.java | 92 return SecureBox.encrypt( in thmEncryptRecoveryKey() 128 return SecureBox.encrypt( in locallyEncryptRecoveryKey() 176 byte[] encryptedKey = SecureBox.encrypt( in encryptKeysWithRecoveryKey() 218 return SecureBox.encrypt( in encryptRecoveryClaim()
|
D | SecureBox.java | 175 public static byte[] encrypt( in encrypt() method in SecureBox
|
/frameworks/native/headers/media_plugin/media/hardware/ |
D | HDCPAPI.h | 105 virtual status_t encrypt( in encrypt() function
|
/frameworks/base/services/backup/java/com/android/server/backup/encryption/chunking/ |
D | ChunkEncryptor.java | 58 public EncryptedChunk encrypt(ChunkHash plaintextHash, byte[] plaintext) in encrypt() method in ChunkEncryptor
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/util/ |
D | WifiConfigStoreEncryptionUtil.java | 84 public @Nullable EncryptedData encrypt(byte[] data) { in encrypt() method in WifiConfigStoreEncryptionUtil
|
D | XmlUtil.java | 395 encryptedData = encryptionUtil.encrypt(preSharedKey.getBytes()); in writePreSharedKeyToXml() 1103 encryptedData = encryptionUtil.encrypt(password.getBytes()); in writePasswordToXml()
|
/frameworks/av/drm/libmediadrm/include/mediadrm/ |
D | IDrm.h | 118 virtual status_t encrypt(Vector<uint8_t> const &sessionId,
|
D | DrmHal.h | 167 virtual status_t encrypt(Vector<uint8_t> const &sessionId,
|
/frameworks/av/drm/mediadrm/plugins/mock/ |
D | MockDrmCryptoPlugin.h | 110 status_t encrypt(Vector<uint8_t> const &sessionId,
|
D | MockDrmCryptoPlugin.cpp | 552 status_t MockDrmPlugin::encrypt(Vector<uint8_t> const &sessionId, in encrypt() function in android::MockDrmPlugin
|
/frameworks/av/media/ndk/ |
D | NdkMediaDrm.cpp | 756 const uint8_t *input, uint8_t *output, size_t dataSize, bool encrypt) { in encrypt_decrypt_common() argument 783 if (encrypt) { in encrypt_decrypt_common() 784 status = mObj->mDrm->encrypt(*iter, keyIdVec, inputVec, ivVec, outputVec); in encrypt_decrypt_common()
|
/frameworks/av/drm/mediadrm/plugins/clearkey/default/include/ |
D | DrmPlugin.h | 193 virtual status_t encrypt( in encrypt() function
|
/frameworks/native/headers/media_plugin/media/drm/ |
D | DrmAPI.h | 363 virtual status_t encrypt(Vector<uint8_t> const &sessionId,
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/util/ |
D | XmlUtilTest.java | 122 when(mWifiConfigStoreEncryptionUtil.encrypt(pskNetwork.preSharedKey.getBytes())) in testPskWifiConfigurationSerializeDeserializeWithEncryption() 434 when(mWifiConfigStoreEncryptionUtil.encrypt(TEST_PASSWORD.getBytes())) in testWifiEnterpriseConfigSerializeDeserializeWithEncryption()
|
/frameworks/av/drm/mediadrm/plugins/clearkey/hidl/include/ |
D | DrmPlugin.h | 218 Return<void> encrypt( in encrypt() function
|
/frameworks/av/drm/libmediadrm/ |
D | IDrm.cpp | 606 virtual status_t encrypt(Vector<uint8_t> const &sessionId, in encrypt() function 1168 uint32_t result = encrypt(sessionId, keyId, input, iv, output); in onTransact()
|
/frameworks/base/media/java/android/media/ |
D | MediaDrm.java | 1726 public byte[] encrypt(
|