Граф коммитов

630 Коммитов

Автор SHA1 Сообщение Дата
chweimer 39f4f0fdc3 Update README.md 2020-05-02 00:36:09 +00:00
Christopher Weimer c87c5350b7 Ensure device manager uses local capabilities as a fallback. 2020-05-01 22:32:00 +00:00
Christopher Weimer 4d6133f0ea Update Get Digest and Get Certificate command processing.
- Return the root certificate and its digest
- Unused slots/cert indices return empty payloads
- The root cert is always index 0.
2020-04-30 23:26:47 +00:00
Akram Hamdy 73ea81042a Update PCR store to utilize TCG event types
Update PCR store to utilize TCG event types
2020-04-29 00:02:58 +00:00
Christopher Weimer 1d885cbb92 Fix a crash in manifest observer test cases. 2020-04-27 23:00:09 +00:00
Atul Shah 350fa9fa1a Merged PR 1240: Add PFM/CFM/PCD Id and platform ID measurement to TCG log
This PR adds new pcr measurements to the TCG log. A measurement of PFM, CFM and PCD IDs is added to the PCR store.
Also, measurements of PFM and PCD platform IDs is added to PCR store.

Related work items: #457, #481
2020-04-25 02:59:16 +00:00
Christopher Weimer c38b4c0d0c Fix the KDF data used to generate RIoT serial numbers.
The L parameter for output length should be represented in bits.  The implementation used the size in bytes.
2020-04-24 18:32:46 +00:00
Christopher Weimer 88958dbc5f Update format of get digests command to take a slot number. 2020-04-23 16:22:48 +00:00
Christopher Weimer 59c328b5c0 Update the unseal flow to support additional capabilities.
The Message Unseal command was updated to support:
- ECDH seeds
- Sealing to multiple PCRs
- Different RSA padding schemes

The Cerberus protocol version was updated to version 3.
2020-04-22 23:18:43 +00:00
Christopher Weimer a7cf297eca Update command processing and formats to match the protocol spec.
Align the code with the protocol spec.  At a high level this includes:
- Defining structures for each command and adding unit tests to verify these structures against the spec definition.
- Adjusting message and packet sizes to match spec definitions.
- Using capabilities information to determine response payload sizes.
- Refactoring the command processing unit tests to ensure better, more maintainable test coverage.

Note: The Message Unseal command has not been updated.  This will be updated to match the spec as a separate task.
2020-04-09 18:31:06 +00:00
chweimer 1117e85f70
Update README.md 2020-03-27 08:53:05 -07:00
Akram Hamdy d14f68c573 add debug log entry for short mctp packets
add debug log entry for short mctp packets

Related work items: #487
2020-03-24 04:38:36 +00:00
Van Bui 029d62fbf8 Fix issuer name in RIoT reference signed certs
Fix the issuer name when creating a signed certificate using the RIoT reference implementation.  Added an additional unit test to cover scenario where a cert chain with at least three certificates is created.
2020-03-18 16:07:05 +00:00
Christopher Weimer 4b8a3fce0d Handle unsupported flash during POR processing.
If host flash initialization fails with errors that indicates the flash is not compatible with the FW, bail from POR processing and mark the flash as unsupported.  The system will be allowed to boot in bypass mode in this case, and can never be activated.
2020-03-17 17:28:52 +00:00
Christopher Weimer 80d334fe13 Fix compiler warnings when stricter flags are enabled. 2020-03-17 16:30:04 +00:00
Christopher Weimer 2182be0c77 Merged PR 1216: Update SPI flash driver to include support for a wider range of devices.
More extensive used of the SFDP tables have been utilized to determine behavioral differences between different devices and account for the SPI driver.  Most of the vendor-specific flows have been removed in favor of SFDP.  Updates include:
- QSPI enable/disable
- Block protect clear
- Enter/exit 4-byte address mode
- Soft reset support
- Deep powerdown support
- Write in progress polling
- Status register writes, including different write enables

The only vendor-specific flows that remain are pieces that cannot be determined from SFDP tables:
- Current address mode
- Configuring output drive strength

Related work items: #474
2020-03-16 22:38:44 +00:00
Christopher Weimer 99d64e3016 Merged PR 1223: Add tools for creating manifests.
Also add tools for testing/debugging.

Related work items: #503
2020-03-16 20:05:16 +00:00
Christopher Weimer a591d3e3b3 Merged PR 1220: Update host update prepare message to remove failure reference.
Related work items: #493
2020-03-16 16:33:24 +00:00
Van Bui d5c33531e1 Merged PR 1213: Reset counter command
Add support for command to count Cerberus and port resets.

Related work items: #485
2020-03-16 16:25:58 +00:00
chweimer 1c427c4c1b
Remove default template file. 2020-03-03 14:45:40 -08:00
chweimer 4553b1e060
Update README.md with all project details. 2020-03-03 14:45:02 -08:00
Chris Weimer 43ac7f18f4 Fix test failure with OpenSSL 1.1.1. 2020-03-03 12:23:26 -08:00
Chris Weimer 87bd87048c Fix build issue with RIoT unit tests. 2020-03-02 18:33:00 -08:00
Chris Weimer b27831ad06 Initial release of Cerberus source code. 2020-03-02 17:58:57 -08:00
Chris Weimer 5f045cec22 Remove default project files. 2020-03-02 17:40:10 -08:00
Microsoft Open Source 01b3a8e326 Initial SECURITY.md commit 2020-02-27 16:13:37 -08:00
Microsoft Open Source 21d808d32e Initial README.md commit 2020-02-27 16:13:36 -08:00
Microsoft Open Source c814e16f71 Updating LICENSE to template content 2020-02-27 16:13:34 -08:00
Microsoft Open Source dc90012e98 Initial CODE_OF_CONDUCT.md commit 2020-02-27 16:13:33 -08:00
Bryan Kelly f042d87a98
Initial commit 2020-02-26 17:59:12 -08:00