Searched refs:encrypt (Results 1 - 25 of 31) sorted by relevance

12

/frameworks/base/core/java/android/bluetooth/
H A DBluetoothServerSocket.java80 * @param encrypt require the connection to be encrypted
85 /*package*/ BluetoothServerSocket(int type, boolean auth, boolean encrypt, int port) argument
88 mSocket = new BluetoothSocket(type, -1, auth, encrypt, null, port, null);
98 * @param encrypt require the connection to be encrypted
105 /*package*/ BluetoothServerSocket(int type, boolean auth, boolean encrypt, int port, argument
109 mSocket = new BluetoothSocket(type, -1, auth, encrypt, null, port, null, mitm,
120 * @param encrypt require the connection to be encrypted
125 /*package*/ BluetoothServerSocket(int type, boolean auth, boolean encrypt, ParcelUuid uuid) argument
127 mSocket = new BluetoothSocket(type, -1, auth, encrypt, null, -1, uuid);
H A DBluetoothSocket.java157 * @param encrypt require the connection to be encrypted
164 /*package*/ BluetoothSocket(int type, int fd, boolean auth, boolean encrypt, argument
166 this(type, fd, auth, encrypt, device, port, uuid, false, false);
174 * @param encrypt require the connection to be encrypted
183 /*package*/ BluetoothSocket(int type, int fd, boolean auth, boolean encrypt, argument
200 mEncrypt = encrypt;
258 * @param encrypt require the connection to be encrypted
264 private BluetoothSocket(int type, int fd, boolean auth, boolean encrypt, String address, argument
266 this(type, fd, auth, encrypt, new BluetoothDevice(address), port, null, false, false);
/frameworks/base/services/core/java/com/android/server/
H A DSyntheticPasswordCrypto.java67 private static byte[] encrypt(SecretKey key, byte[] blob) method in class:SyntheticPasswordCrypto
88 public static byte[] encrypt(byte[] keyBytes, byte[] personalisation, byte[] message) { method in class:SyntheticPasswordCrypto
93 return encrypt(key, message);
153 byte[] intermediate = encrypt(secretKey, data);
154 return encrypt(applicationId, APPLICATION_ID_PERSONALIZATION, intermediate);
161 throw new RuntimeException("Failed to encrypt blob", e);
H A DSyntheticPasswordManager.java136 this.E0 = SyntheticPasswordCrypto.encrypt(this.syntheticPassword.getBytes(),
/frameworks/av/include/media/
H A DIHDCP.h51 // HDCP_CAPS_ENCRYPT: mandatory, meaning the HDCP module can encrypt
70 virtual status_t encrypt(
H A DDrm.h99 virtual status_t encrypt(Vector<uint8_t> const &sessionId,
H A DDrmHal.h109 virtual status_t encrypt(Vector<uint8_t> const &sessionId,
H A DIDrm.h95 virtual status_t encrypt(Vector<uint8_t> const &sessionId,
/frameworks/av/media/libmedia/include/media/
H A DIHDCP.h51 // HDCP_CAPS_ENCRYPT: mandatory, meaning the HDCP module can encrypt
70 virtual status_t encrypt(
H A DDrm.h99 virtual status_t encrypt(Vector<uint8_t> const &sessionId,
H A DDrmHal.h109 virtual status_t encrypt(Vector<uint8_t> const &sessionId,
H A DIDrm.h95 virtual status_t encrypt(Vector<uint8_t> const &sessionId,
/frameworks/av/media/libmediaplayerservice/
H A DHDCP.h35 virtual status_t encrypt(
H A DHDCP.cpp113 status_t HDCP::encrypt( function in class:android::HDCP
126 return mHDCPModule->encrypt(inData, size, streamCTR, outInputCTR, outData);
/frameworks/native/include/media/hardware/
H A DHDCPAPI.h62 // HDCP_CAPS_ENCRYPT: mandatory, meaning the HDCP module can encrypt
106 virtual status_t encrypt( function in struct:android::HDCPModule
/frameworks/av/media/libmedia/
H A DIHDCP.cpp96 virtual status_t encrypt( function in struct:android::BpHDCP
267 err = encrypt(inData, size, streamCTR, &inputCTR, outData);
/frameworks/av/drm/mediadrm/plugins/clearkey/
H A DDrmPlugin.h182 virtual status_t encrypt( function in class:clearkeydrm::DrmPlugin
/frameworks/av/drm/mediadrm/plugins/mock/
H A DMockDrmCryptoPlugin.h110 status_t encrypt(Vector<uint8_t> const &sessionId,
/frameworks/native/include/media/drm/
H A DDrmAPI.h272 // encrypt, decrypt, sign verify operations on operator-provided
296 virtual status_t encrypt(Vector<uint8_t> const &sessionId,
/frameworks/av/drm/libmediadrm/
H A DDrm.cpp674 status_t Drm::encrypt(Vector<uint8_t> const &sessionId, function in class:android::Drm
691 return mPlugin->encrypt(sessionId, keyId, input, iv, output);
H A DDrmHal.cpp826 status_t DrmHal::encrypt(Vector<uint8_t> const &sessionId, function in class:android::DrmHal
839 Return<void> hResult = mPlugin->encrypt(toHidlVec(sessionId),
H A DIDrm.cpp425 virtual status_t encrypt(Vector<uint8_t> const &sessionId, function in struct:android::BpDrm
855 uint32_t result = encrypt(sessionId, keyId, input, iv, output);
/frameworks/av/media/ndk/
H A DNdkMediaDrm.cpp587 const uint8_t *input, uint8_t *output, size_t dataSize, bool encrypt) {
614 if (encrypt) {
615 status = mObj->mDrm->encrypt(*iter, keyIdVec, inputVec, ivVec, outputVec);
584 encrypt_decrypt_common(AMediaDrm *mObj, const AMediaDrmSessionId &sessionId, const char *cipherAlgorithm, uint8_t *keyId, uint8_t *iv, const uint8_t *input, uint8_t *output, size_t dataSize, bool encrypt) argument
/frameworks/av/media/libstagefright/wifi-display/
H A DMediaSender.cpp439 err = mHDCP->encrypt(
447 ALOGE("Failed to HDCP-encrypt media data (err %d)",
/frameworks/base/media/java/android/media/
H A DMediaDrm.java1064 * root of trust, and then perform encrypt, decrypt, sign and verify operations
1067 * The CryptoSession class implements generic encrypt/decrypt/sign/verify methods
1099 * @param input the data to encrypt
1103 public byte[] encrypt( method in class:MediaDrm.CryptoSession
1112 * @param input the data to encrypt
1148 * Obtain a CryptoSession object which can be used to encrypt, decrypt,
1154 * to be used for encrypt, decrypt, sign and/or verify

Completed in 1620 milliseconds

12