Skip to content

Commit 6b7e2cf

Browse files
[api, core, services, doc] Move includes of standard library into source files
1 parent 6e3b2e9 commit 6b7e2cf

89 files changed

Lines changed: 336 additions & 203 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -62,9 +62,9 @@ Reference implementation for most common STSE applicative use case can be found
6262
Following applicative project can be used as reference for STSELib integration and usage.
6363

6464
- STSAFE-A
65-
- [stsafe-a-sdk](https://github.com/STMicroelectronics/STSAFE-A120-sdk)
66-
- [wolfssl-examples](https://github.com/wolfSSL/wolfssl-examples/tree/master/stsafe) developed and maintained by [WolfSSL](https://www.wolfssl.com/)
67-
- [Zephyr_st-stsafe-a1xx](https://github.com/catie-aq/zephyr_st-stsafe-a1xx) developed and maintained by [CATIE](https://www.catie.fr/language/en/home/)
65+
- [stsafe-a-sdk](https://github.com/STMicroelectronics/STSAFE-A120-sdk)
66+
- [wolfssl-examples](https://github.com/wolfSSL/wolfssl-examples/tree/master/stsafe) developed and maintained by [WolfSSL](https://www.wolfssl.com/)
67+
- [Zephyr_st-stsafe-a1xx](https://github.com/catie-aq/zephyr_st-stsafe-a1xx) developed and maintained by [CATIE](https://www.catie.fr/language/en/home/)
6868

6969

7070
- STSAFE-L

api/stse_aes.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,9 @@
1515
*
1616
*****************************************************************************/
1717

18+
/* Includes ------------------------------------------------------------------*/
19+
#include <stddef.h>
20+
1821
#include "api/stse_aes.h"
1922

2023
stse_ReturnCode_t stse_aes_ecb_encrypt(

api/stse_asymmetric_keys_management.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@
1616
*****************************************************************************/
1717

1818
/* Includes ------------------------------------------------------------------*/
19+
#include <stddef.h>
20+
#include <string.h>
1921

2022
#include "api/stse_asymmetric_keys_management.h"
2123

api/stse_derive_keys.c

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,10 @@
1515
*
1616
*****************************************************************************/
1717

18+
/* Includes ------------------------------------------------------------------*/
19+
#include <stddef.h>
20+
#include <string.h>
21+
1822
#include "api/stse_derive_keys.h"
1923

2024
stse_ReturnCode_t stse_derive_key(

api/stse_device_authentication.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616
*****************************************************************************/
1717

1818
/* Includes ------------------------------------------------------------------*/
19+
#include <stddef.h>
1920

2021
#include "api/stse_device_authentication.h"
2122
#include "api/stse_ecc.h"

api/stse_device_management.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@
1616
*****************************************************************************/
1717

1818
/* Includes ------------------------------------------------------------------*/
19+
#include <stddef.h>
20+
1921
#include "api/stse_device_management.h"
2022

2123
/* Exported variables --------------------------------------------------------*/

api/stse_ecc.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,9 @@
1515
*
1616
*****************************************************************************/
1717

18+
/* Includes ------------------------------------------------------------------*/
19+
#include <stddef.h>
20+
1821
#include "api/stse_ecc.h"
1922

2023
stse_ReturnCode_t stse_ecc_verify_signature(

api/stse_hash.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,9 @@
1515
*
1616
*****************************************************************************/
1717

18+
/* Includes ------------------------------------------------------------------*/
19+
#include <stddef.h>
20+
1821
#include "api/stse_hash.h"
1922
#include "services/stsafea/stsafea_frame_transfer.h"
2023
#include "services/stsafea/stsafea_hash.h"

api/stse_mac.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,9 @@
1515
*
1616
*****************************************************************************/
1717

18+
/* Includes ------------------------------------------------------------------*/
19+
#include <stddef.h>
20+
1821
#include "api/stse_mac.h"
1922

2023
stse_ReturnCode_t stse_cmac_hmac_compute(

api/stse_random.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,9 @@
1515
*
1616
*****************************************************************************/
1717

18+
/* Includes ------------------------------------------------------------------*/
19+
#include <stddef.h>
20+
1821
#include "api/stse_random.h"
1922

2023
stse_ReturnCode_t stse_generate_random(

0 commit comments

Comments
 (0)