diff --git a/documents/License.pdf b/documents/License.pdf new file mode 100644 index 00000000..32dc63ee Binary files /dev/null and b/documents/License.pdf differ diff --git a/documents/OPTIGA_Trust_M1_Datasheet_v1.50.pdf b/documents/OPTIGA_Trust_M1_Datasheet_v1.60.pdf similarity index 65% rename from documents/OPTIGA_Trust_M1_Datasheet_v1.50.pdf rename to documents/OPTIGA_Trust_M1_Datasheet_v1.60.pdf index 997d0dd0..c1d751b9 100644 Binary files a/documents/OPTIGA_Trust_M1_Datasheet_v1.50.pdf and b/documents/OPTIGA_Trust_M1_Datasheet_v1.60.pdf differ diff --git a/documents/OPTIGA_Trust_M1_Keys_And_Certificates_v1.2.pdf b/documents/OPTIGA_Trust_M1_Keys_And_Certificates_v1.2.pdf deleted file mode 100644 index 15f5cdf1..00000000 Binary files a/documents/OPTIGA_Trust_M1_Keys_And_Certificates_v1.2.pdf and /dev/null differ diff --git a/documents/OPTIGA_Trust_M1_Keys_And_Certificates_v1.30.pdf b/documents/OPTIGA_Trust_M1_Keys_And_Certificates_v1.30.pdf new file mode 100644 index 00000000..cd35c460 Binary files /dev/null and b/documents/OPTIGA_Trust_M1_Keys_And_Certificates_v1.30.pdf differ diff --git a/documents/OPTIGA_Trust_M1_Release_Notes_v1.00.pdf b/documents/OPTIGA_Trust_M1_Release_Notes_v1.00.pdf deleted file mode 100644 index 59783b58..00000000 Binary files a/documents/OPTIGA_Trust_M1_Release_Notes_v1.00.pdf and /dev/null differ diff --git a/documents/OPTIGA_Trust_M1_Release_Notes_v1.01.pdf b/documents/OPTIGA_Trust_M1_Release_Notes_v1.01.pdf new file mode 100644 index 00000000..5f2f26df Binary files /dev/null and b/documents/OPTIGA_Trust_M1_Release_Notes_v1.01.pdf differ diff --git a/documents/OPTIGA_Trust_M1_Solution_Reference_Manual_v1.00.pdf b/documents/OPTIGA_Trust_M1_Solution_Reference_Manual_v1.01.pdf similarity index 71% rename from documents/OPTIGA_Trust_M1_Solution_Reference_Manual_v1.00.pdf rename to documents/OPTIGA_Trust_M1_Solution_Reference_Manual_v1.01.pdf index 6a7fc79b..e290e6cf 100644 Binary files a/documents/OPTIGA_Trust_M1_Solution_Reference_Manual_v1.00.pdf and b/documents/OPTIGA_Trust_M1_Solution_Reference_Manual_v1.01.pdf differ diff --git a/examples/tools/protected_update_data_set/README.md b/examples/tools/protected_update_data_set/README.md deleted file mode 100644 index f90dfc5c..00000000 --- a/examples/tools/protected_update_data_set/README.md +++ /dev/null @@ -1,60 +0,0 @@ -## Usage -Start the `protected_update_data_generator.exe` with following options, in order to generate the data set for protected update data set. -``` - payload_version=%%d - trust_anchor_oid=%%s - target_oid=%%s - offset=%%d - write_type=%%d - - sign_algo=%%s - - priv_key=%%s - - payload=%%s - -``` -## Example : - -```console -C:\optiga-trust-m\examples\tools\protected_update_data_set\bin> protected_update_data_generator.exe ^ -payload_version=3 ^ -trust_anchor=E0E8 ^ -target=E0E1 ^ -offset=01 ^ -write_type=1 ^ -sign_algo=RSA_SSA_PKCS1_V1_5_SHA_256 ^ -priv_key= ^ -payload= -``` - -* Generate a manifest data with payload version 3, trust anchor 0xE0E3. The manifest is signed using "priv_key" and RSA_SSA_PKCS1_V1_5_SHA_256 is the signing algorithm -* Fragments of data is generated from text file provided in option "payload" -* The generated fragments is written at target OID 0xE0E1 from offset 1 - -## Sample : - -A sample script demonstrating the usage of the tool is available in ..\samples - -## Limitations -* Only SHA-256 digest algorithm is supported for hash calculation -* Manifest version number is 1 - -## Environment -* The availabel executable is built using microsoft visual studio 2010 in windows 10 (64 bit) -* mbedTLS 2.7.0 is used for crypto operation. -* The following MACRO must be disabled/ enabled when using mbedTLS for this tool. - * Enable : - - `MBEDTLS_FS_IO` - - `MBEDTLS_PEM_PARSE_C` - - `MBEDTLS_BASE64_C` - - `MBEDTLS_ECDSA_DETERMINISTIC` - - `MBEDTLS_HMAC_DRBG_C` - - `MBEDTLS_ECDSA_DETERMINISTIC_DEBUG` - - `MBEDTLS_RSA_C` - - `MBEDTLS_PKCS1_V15` - - `MBEDTLS_PK_RSA_ALT_SUPPORT` - - `MBEDTLS_TIMING_C` - - * Disable - - `MBEDTLS_NO_PLATFORM_ENTROPY` in mbedTLS_config.h diff --git a/examples/tools/protected_update_data_set/readme.txt b/examples/tools/protected_update_data_set/readme.txt new file mode 100644 index 00000000..a828149d --- /dev/null +++ b/examples/tools/protected_update_data_set/readme.txt @@ -0,0 +1,48 @@ +1. Usage +Start the "protected_update_data_generator.exe" with following options, in order to generate the data set for protected update data set. + payload_version=%%d + trust_anchor_oid=%%s + target_oid=%%s + offset=%%d + write_type=%%d + + sign_algo=%%s + + priv_key=%%s + + payload=%%s + + +Example : + +protected_update_data_generator.exe payload_version=3 trust_anchor=E0E8 target=E0E1 offset=01 write_type=1 sign_algo=RSA_SSA_PKCS1_V1_5_SHA_256 priv_key= payload= + + a. Generate a manifest data with payload version 3, trust anchor 0xE0E3. The manifest is signed using "priv_key" and RSA_SSA_PKCS1_V1_5_SHA_256 is the signing algorithm + b. Fragments of data is generated from text file provided in option "payload" + b. The generated fragments is written at target OID 0xE0E1 from offset 1 + +2. Sample : + A sample script demonstrating the usage of the tool is available in ..\samples + +3. Limitations + a. Only SHA-256 digest algorithm is supported for hash calculation + b. Manifest version number is 1 + +4. Environment + a. The availabel executable is built using microsoft visual studio 2010 in windows 10 (64 bit) + b. mbedTLS 2.7.0 is used for crypto operation. + c. The following MACRO must be disabled/ enabled when using mbedTLS for this tool. + i. Enable : + MBEDTLS_FS_IO + MBEDTLS_PEM_PARSE_C + MBEDTLS_BASE64_C + MBEDTLS_ECDSA_DETERMINISTIC + MBEDTLS_HMAC_DRBG_C + MBEDTLS_ECDSA_DETERMINISTIC_DEBUG + MBEDTLS_RSA_C + MBEDTLS_PKCS1_V15 + MBEDTLS_PK_RSA_ALT_SUPPORT + MBEDTLS_TIMING_C + + ii.Disable + MBEDTLS_NO_PLATFORM_ENTROPY in mbedTLS_config.h \ No newline at end of file