Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cleanup legacy profile code inherited from Weave #9188

Merged
merged 1 commit into from
Aug 24, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion src/include/platform/CHIPDeviceLayer.h
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@
#if CHIP_DEVICE_CONFIG_ENABLE_SOFTWARE_UPDATE_MANAGER
#include <platform/SoftwareUpdateManager.h>
#endif // CHIP_DEVICE_CONFIG_ENABLE_SOFTWARE_UPDATE_MANAGER
#include <platform/TimeSyncManager.h>
#if CHIP_DEVICE_CONFIG_ENABLE_THREAD
#include <platform/ThreadStackManager.h>
#endif // CHIP_DEVICE_CONFIG_ENABLE_THREAD
Expand Down
139 changes: 0 additions & 139 deletions src/include/platform/TimeSyncManager.h

This file was deleted.

47 changes: 0 additions & 47 deletions src/lib/core/CHIPConfig.h
Original file line number Diff line number Diff line change
Expand Up @@ -1462,17 +1462,6 @@
#define CHIP_CONFIG_DEBUG_CERT_VALIDATION 1
#endif // CHIP_CONFIG_DEBUG_CERT_VALIDATION

/**
* @def CHIP_CONFIG_OPERATIONAL_DEVICE_CERT_CURVE_ID
*
* @brief
* EC curve to be used to generate chip operational device certificate.
*
*/
#ifndef CHIP_CONFIG_OPERATIONAL_DEVICE_CERT_CURVE_ID
#define CHIP_CONFIG_OPERATIONAL_DEVICE_CERT_CURVE_ID (chip::Profiles::Security::kChipCurveId_prime256v1)
#endif // CHIP_CONFIG_OPERATIONAL_DEVICE_CERT_CURVE_ID

/**
* @def CHIP_CONFIG_OP_DEVICE_CERT_VALID_DATE_NOT_BEFORE
*
Expand Down Expand Up @@ -1575,42 +1564,6 @@
#define CHIP_CONFIG_PERSISTED_STORAGE_KEY_GLOBAL_MESSAGE_COUNTER "GlobalMCTR"
#endif // CHIP_CONFIG_PERSISTED_STORAGE_KEY_GLOBAL_MESSAGE_COUNTER

/**
* @def CHIP_CONFIG_DEFAULT_CASE_CURVE_ID
*
* @brief
* Default ECDH curve to be used when initiating a CASE session, if not overridden by the application.
*
*/
#ifndef CHIP_CONFIG_DEFAULT_CASE_CURVE_ID
#if CHIP_CONFIG_SUPPORT_ELLIPTIC_CURVE_SECP224R1
#define CHIP_CONFIG_DEFAULT_CASE_CURVE_ID (chip::Profiles::Security::kChipCurveId_secp224r1)
#elif CHIP_CONFIG_SUPPORT_ELLIPTIC_CURVE_SECP256R1
#define CHIP_CONFIG_DEFAULT_CASE_CURVE_ID (chip::Profiles::Security::kChipCurveId_prime256v1)
#elif CHIP_CONFIG_SUPPORT_ELLIPTIC_CURVE_SECP192R1
#define CHIP_CONFIG_DEFAULT_CASE_CURVE_ID (chip::Profiles::Security::kChipCurveId_prime192v1)
#else
#define CHIP_CONFIG_DEFAULT_CASE_CURVE_ID (chip::Profiles::Security::kChipCurveId_secp160r1)
#endif
#endif // CHIP_CONFIG_DEFAULT_CASE_CURVE_ID

/**
* @def CHIP_CONFIG_DEFAULT_CASE_ALLOWED_CURVES
*
* @brief
* Default set of ECDH curves allowed to be used in a CASE session (initiating or responding), if not overridden by the
* application.
*
*/
#ifndef CHIP_CONFIG_DEFAULT_CASE_ALLOWED_CURVES
#if CHIP_CONFIG_SUPPORT_ELLIPTIC_CURVE_SECP224R1 || CHIP_CONFIG_SUPPORT_ELLIPTIC_CURVE_SECP256R1
#define CHIP_CONFIG_DEFAULT_CASE_ALLOWED_CURVES \
(chip::Profiles::Security::kChipCurveSet_secp224r1 | chip::Profiles::Security::kChipCurveSet_prime256v1)
#else
#define CHIP_CONFIG_DEFAULT_CASE_ALLOWED_CURVES (chip::Profiles::Security::kChipCurveSet_All)
#endif
#endif // CHIP_CONFIG_DEFAULT_CASE_ALLOWED_CURVES

/**
* @def CHIP_CONFIG_LEGACY_CASE_AUTH_DELEGATE
*
Expand Down
11 changes: 0 additions & 11 deletions src/lib/core/CHIPEventLoggingConfig.h
Original file line number Diff line number Diff line change
Expand Up @@ -59,17 +59,6 @@
#define CHIP_CONFIG_EVENT_LOGGING_MAXIMUM_UPLOAD_SECONDS 86400
#endif

/**
* @def CHIP_CONFIG_EVENT_LOGGING_DEFAULT_IMPORTANCE
*
* @brief
* The default importance of events to be logged. It is used
* to initialize the chip LoggingConfiguration.
*/
#ifndef CHIP_CONFIG_EVENT_LOGGING_DEFAULT_IMPORTANCE
#define CHIP_CONFIG_EVENT_LOGGING_DEFAULT_IMPORTANCE chip::Profiles::DataManagement::Production
#endif

/**
* @def CHIP_CONFIG_EVENT_LOGGING_UTC_TIMESTAMPS
*
Expand Down
1 change: 0 additions & 1 deletion src/platform/BUILD.gn
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,6 @@ if (chip_device_platform != "none") {
"../include/platform/PlatformManager.h",
"../include/platform/SoftwareUpdateManagerImpl.h",
"../include/platform/ThreadStackManager.h",
"../include/platform/TimeSyncManager.h",
"../include/platform/internal/BLEManager.h",
"../include/platform/internal/CHIPDeviceLayerInternal.h",
"../include/platform/internal/DeviceControlServer.h",
Expand Down
Loading