62 lines
2.4 KiB
Plaintext
62 lines
2.4 KiB
Plaintext
/**
|
|
@page KMS_Blob_Binary KMS application / Blob generation project.
|
|
|
|
@verbatim
|
|
******************************************************************************
|
|
* @file Applications/KMS/KMS_Blob_Binary/readme.txt
|
|
* @brief Key Management Services Blob generation.
|
|
* Allows to generate Blob to be injected to a device supporting
|
|
* KMS ImportBlob().
|
|
******************************************************************************
|
|
*
|
|
* Copyright (c) 2020 STMicroelectronics.
|
|
* All rights reserved.
|
|
*
|
|
* This software is licensed under terms that can be found in the LICENSE file in
|
|
* the root directory of this software component.
|
|
* If no LICENSE file comes with this software, it is provided AS-IS.
|
|
*
|
|
******************************************************************************
|
|
@endverbatim
|
|
|
|
@par Application Description
|
|
|
|
This application is used to generate Key Management Services Blob binary file to be downloaded
|
|
with KMS through the ImportBlob() API.
|
|
|
|
You can edit your own keys to generate your own Blob.
|
|
|
|
For more details, refer to UM2262 "Getting started with SBSFU - software expansion for STM32Cube"
|
|
available from the STMicroelectronics microcontroller website www.st.com.
|
|
|
|
@par Keywords
|
|
|
|
Cryptography, KMS, Provisioning
|
|
|
|
@par Directory contents
|
|
|
|
- 2_Images_KMS_Blob/Src/kms_blob_example_keys.c KMS blob objects definition
|
|
- 2_Images_KMS_Blob/Inc/kms_config.h KMS configuration file
|
|
- 2_Images_KMS_Blob/Binary/ECCKEY.txt Private ECCDSA key for signature
|
|
- 2_Images_KMS_Blob/Binary/iv.bin Encryption initialization vector
|
|
- 2_Images_KMS_Blob/Binary/OEM_KEY_COMPANY1_key_AES_CBC.bin Secret key for AES CBC encryption
|
|
|
|
@par Hardware and Software environment
|
|
|
|
- This example runs on STM32WL55xx devices
|
|
- This example has been tested with NUCLEO-WL55JC RevC board and can be
|
|
easily tailored to any other supported device and development board.
|
|
- Python installation required. In addition, install the appropriate python modules as described in
|
|
Middlewares\ST\STM32_Secure_Engine\Utilities\KeysAndImages\readme.txt
|
|
|
|
|
|
@par How to use it ?
|
|
|
|
In order to generate Secure Key Storage Blob file, you must do the following:
|
|
- Edit the .c source file, where example of keys are provided. Update with your own keys.
|
|
- Open your preferred toolchain
|
|
- Rebuild the project
|
|
|
|
* <h3><center>© COPYRIGHT STMicroelectronics</center></h3>
|
|
*/
|