This patch adds a suite of tests for OEMCrypto that verifying buffer overflow and off-by-one errors. The reference code has also been updated to pass these tests. The ODK library and the OEMCrypto API have not changed since the release of version 16.4.
20 lines
605 B
Python
20 lines
605 B
Python
# Copyright 2020 Google LLC. All Rights Reserved. This file and proprietary
|
|
# source code may only be used and distributed under the Widevine License
|
|
# Agreement.
|
|
{
|
|
'conditions': [
|
|
[
|
|
'privacy_crypto_impl=="openssl"', {
|
|
'libraries': [
|
|
'-lcrypto',
|
|
],
|
|
}, # privacy_crypto_impl=="openssl"
|
|
'privacy_crypto_impl=="boringssl" or privacy_crypto_impl=="apple"', {
|
|
'dependencies': [
|
|
'<(boringssl_libcrypto_path)',
|
|
], # dependencies
|
|
}, # privacy_crypto_impl=="boringssl" or privacy_crypto_impl=="apple"
|
|
],
|
|
], # conditions
|
|
}
|