Merge "Remove Passthrough When L3 is Used w/ Opaque Handles"
This commit is contained in:
@@ -1500,11 +1500,7 @@ CdmResponseType CryptoSession::GenerateNonce(uint32_t* nonce) {
|
|||||||
|
|
||||||
bool CryptoSession::SetDestinationBufferType() {
|
bool CryptoSession::SetDestinationBufferType() {
|
||||||
if (Properties::oem_crypto_use_secure_buffers()) {
|
if (Properties::oem_crypto_use_secure_buffers()) {
|
||||||
if (GetSecurityLevel() == kSecurityLevelL1) {
|
destination_buffer_type_ = OEMCrypto_BufferType_Secure;
|
||||||
destination_buffer_type_ = OEMCrypto_BufferType_Secure;
|
|
||||||
} else {
|
|
||||||
destination_buffer_type_ = OEMCrypto_BufferType_Clear;
|
|
||||||
}
|
|
||||||
} else if (Properties::oem_crypto_use_fifo()) {
|
} else if (Properties::oem_crypto_use_fifo()) {
|
||||||
destination_buffer_type_ = OEMCrypto_BufferType_Direct;
|
destination_buffer_type_ = OEMCrypto_BufferType_Direct;
|
||||||
} else if (Properties::oem_crypto_use_userspace_buffers()) {
|
} else if (Properties::oem_crypto_use_userspace_buffers()) {
|
||||||
|
|||||||
Reference in New Issue
Block a user