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.
21 lines
621 B
Python
21 lines
621 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',
|
|
'-lssl',
|
|
],
|
|
}, # privacy_crypto_impl=="openssl"
|
|
'privacy_crypto_impl=="boringssl" or privacy_crypto_impl=="apple"', {
|
|
'dependencies': [
|
|
'<(boringssl_libssl_path)',
|
|
], # dependencies
|
|
}, # privacy_crypto_impl=="boringssl" or privacy_crypto_impl=="apple"
|
|
],
|
|
], # conditions
|
|
}
|