Better instructions
parent
a1938fdf0f
commit
43882bdf69
|
@ -29,14 +29,33 @@ $ make
|
|||
|
||||
## Configuring the STM32CubeIDE Project
|
||||
|
||||
Please see the following video for highlights on how the project was configured
|
||||
and how to configure wolfSSL to enable our PQM4 integration.
|
||||
Please see the following video for highlights on how to configure wolfSSL to
|
||||
enable our PQM4 integration.
|
||||
|
||||
https://www.youtube.com/watch?v=OK6MKXYiVBY
|
||||
|
||||
To setup the required PQM4 source files, please run the `setup_kyber.sh` script
|
||||
in this directory. It will clone releveant git repos from github and generate
|
||||
the directories and files you need.
|
||||
Detailed instructions on how to build a project with wolfssl can be found at:
|
||||
|
||||
https://github.com/wolfSSL/wolfssl/tree/master/IDE/STM32Cube
|
||||
|
||||
1. Follow instructions at the link above and make sure you can perform "Example
|
||||
for TLS v1.3 over UART".
|
||||
2. Run the `setup_kyber.sh` script in this directory. It will clone relevant
|
||||
git repos from github and generate the directories and files you need.
|
||||
3. Drag and drop the include files into `Inc` and the `pqm4_kyber512` directory
|
||||
into `Core`.
|
||||
4. Turn on the PQM4 integration.
|
||||
- Open the .ioc file
|
||||
- Click "Software Packs"
|
||||
- Click on the wolfSSL.I-CUBE-wolfSSL.<version> that appears.
|
||||
- In the Configuration box that appears, set "PQM4 Post-Quantum Integration
|
||||
Support" to "True"
|
||||
- Close the .ioc file and generate code.
|
||||
- Build your project.
|
||||
|
||||
For your reference, `wolfssl_stm32_pq` is a minimal starting project that has
|
||||
many things already configured. If you have a NUCLEO-F446ZE evaluation board
|
||||
Then you can skip step 1 and 4 and just use that.
|
||||
|
||||
Once you have successfully built and flashed the project, the STM32 terminal
|
||||
should should display the following menu:
|
||||
|
|
Loading…
Reference in New Issue