Skip to content

Commit

Permalink
Fixed CSDK Typos, image path and default flags (#55)
Browse files Browse the repository at this point in the history
* Fixed CSDK Typos, image path and default flags

Signed-off-by: adarsh-intel <adarsh.anand@intel.com>

* Added cmake flags and changed CSE Full form

Signed-off-by: adarsh-intel <adarsh.anand@intel.com>

---------

Signed-off-by: adarsh-intel <adarsh.anand@intel.com>
  • Loading branch information
adarshan-intel authored Aug 16, 2023
1 parent 7bfdaf8 commit bab9693
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 5 deletions.
2 changes: 1 addition & 1 deletion docs/client-sdk/client-sdk-design.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ Currently, all manufacturer information and device secrets are stored in persist

All file save and load APIs must be rewritten using CBOR-COSE APIs to replace JSON encoding and decoding.

### Fido Message Handling
### FIDO Message Handling

The following is the detailed design for handling FDO CBOR messages in the Client SDK implementation.

Expand Down
22 changes: 21 additions & 1 deletion docs/client-sdk/client-sdk-porting-guide.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ The Client SDK reference implementation source code is organized as follows (fol
├── app - - - - - - Reference Application
├── crypto* - - - - Crypto Subsystem
├── cmake* - - - - - cmake sub files
├── cse - - - - - - - CSE (Converged Security Engine) Subsystem
├── data - - - - - - Filesystem place to store blob like keys, network info.
├── device_modules - ServiceInfo Modules
├── docs - - - - - - Documents
Expand All @@ -55,6 +56,8 @@ The build system uses cmake. This section explains the most prominent configurat
├── CMakeLists.txt
├── crypto
│ └── CMakeLists.txt
├── cse
│ └── CMakeLists.txt
├── device_modules
│ └── CMakeLists.txt
├── lib
Expand All @@ -72,15 +75,18 @@ The base.mk was used to define the build flags as a top-level configuration Make

The following specifies the default build configuration which can be overridden in invocation of cmake.
```
# cmake given defaults
set (TARGET_OS linux)
set (CSTD c99)
set (TLS openssl)
set (DA ecdsa384)
set (AES_MODE gcm)
set (BUILD debug)
set (BUILD release)
set (TARGET_OS linux)
set (HTTPPROXY true)
set (PROXY_DISCOVERY false)
set (SELF_SIGNED_CERTS true)
set (SNI true)
set (OPTIMIZE 1)
set (DA_FILE der)
set (CRYPTO_HW false)
Expand All @@ -93,6 +99,20 @@ set (BLOB_PATH .)
set (TPM2_TCTI_TYPE tabrmd)
set (RESALE true)
set (REUSE true)
#for CSE
set (CSE_SHUTDOWN true)
set (CSE_CLEAR false)
#following are specific to only mbedos
set (DATASTORE sd)
set (WIFI_SSID " ")
set (WIFI_PASS " ")
# TO-DO : This flag is no longer being used in the source.
# Explore use of the alternative MANUFACTURER_ADDR instead.
set (MANUFACTURER_IP " ")
set (MANUFACTURER_DN " ")
```
#### blob_path.cmake
The blob specific paths are set with this cmake file. A new variable BLOB_PATH is introduced to customize the placement of blobs in the filesystem.
Expand Down
6 changes: 3 additions & 3 deletions docs/client-sdk/client-sdk-reference-guide.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ Like any SDK, the Client SDK is expected to be embedded within a custom implemen

Figure 1. FDO Client Block Diagram

![FDO Client Block Diagram](img/1-Intel FDO Client Block Diagram.JPG)
![FDO Client Block Diagram](img/1-Intel%20FDO%20Client%20Block%20Diagram.JPG)

***NOTE:*** FDO is an acronym for FIDO Device Onboard.

Expand Down Expand Up @@ -80,7 +80,7 @@ This SDK release requires all software components to be linked together into a s

Figure 2. Integrated Image and Execution Flow

![FDO Client Block Diagram](img/2-Integrated Image and Execution Flow.JPG)
![FDO Client Block Diagram](img/2-Integrated%20Image%20and%20Execution%20Flow.JPG)

The integrated image and execution flows from system boot are shown above and each step is described below:

Expand All @@ -103,7 +103,7 @@ Each of these is described as follows:

Figure 3. ServiceInfo Exchanges between Device and Owner Server

![FDO Client Block Diagram](img/3-ServiceInfo Exchanges between Device and Owner Server.JPG)
![FDO Client Block Diagram](img/3-Service%20Info%20Exchanges%20between%20Device%20and%20Owner%20Server.JPG)

#### Module Initialization
For each registered module, the SDK initializes the module by calling its callback with the `FDO_SI_START` type. The module is expected to prepare to receive PSI, Device ServiceInfo, and Owner ServiceInfo calls after initialization.
Expand Down

0 comments on commit bab9693

Please sign in to comment.