Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 2 additions & 4 deletions pkg/cryptoauthlib/include/atca.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@
* directory for more details.
*/

#pragma once

/**
* @ingroup pkg_cryptoauthlib
* @{
Expand All @@ -17,9 +19,6 @@
*
*/

#ifndef ATCA_H
#define ATCA_H

#include "periph/i2c.h"
#include "cryptoauthlib.h"

Expand Down Expand Up @@ -74,5 +73,4 @@ typedef struct {
}
#endif

#endif /* ATCA_H */
/** @} */
6 changes: 2 additions & 4 deletions pkg/cryptoauthlib/include/atca_config.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@
* directory for more details.
*/

#pragma once

/**
* @ingroup pkg_cryptoauthlib
* @{
Expand All @@ -18,9 +20,6 @@
*
*/

#ifndef ATCA_CONFIG_H
#define ATCA_CONFIG_H

#ifdef __cplusplus
extern "C" {
#endif
Expand Down Expand Up @@ -48,5 +47,4 @@ extern "C" {
#ifdef __cplusplus
}
#endif
#endif /* ATCA_CONFIG_H */
/** @} */
6 changes: 2 additions & 4 deletions pkg/cryptoauthlib/include/atca_params.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@
* directory for more details.
*/

#pragma once

/**
* @ingroup pkg_cryptoauthlib
* @{
Expand All @@ -17,9 +19,6 @@
*
*/

#ifndef ATCA_PARAMS_H
#define ATCA_PARAMS_H

#include "board.h"
#include "periph/i2c.h"
#include "atca.h"
Expand Down Expand Up @@ -124,5 +123,4 @@ extern ATCADevice atca_devs_ptr[ATCA_NUMOF];
}
#endif

#endif /* ATCA_PARAMS_H */
/** @} */
7 changes: 2 additions & 5 deletions pkg/cryptoauthlib/include/atecc608a_config.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@
* directory for more details.
*/

#pragma once

/**
* @file
* @brief Example configuration for Microchip CryptoAuth devices
Expand All @@ -26,9 +28,6 @@
*
*/

#ifndef ATECC608A_CONFIG_H
#define ATECC608A_CONFIG_H

#ifdef __cplusplus
extern "C" {
#endif
Expand Down Expand Up @@ -112,5 +111,3 @@ const uint8_t atecc608a_config[] = {
#ifdef __cplusplus
}
#endif

#endif /* ATECC608A_CONFIG_H */
6 changes: 2 additions & 4 deletions pkg/cryptoauthlib/include/cryptoauthlib_test.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@
* directory for more details.
*/

#pragma once

/**
* @ingroup pkg_cryptoauthlib
* @{
Expand All @@ -16,9 +18,6 @@
*
*/

#ifndef CRYPTOAUTHLIB_TEST_H
#define CRYPTOAUTHLIB_TEST_H

#ifdef __cplusplus
extern "C" {
#endif
Expand All @@ -38,5 +37,4 @@ int atca_run_cmd(char *command, size_t len);
}
#endif

#endif /* CRYPTOAUTHLIB_TEST_H */
/** @} */
6 changes: 2 additions & 4 deletions pkg/driver_bme680/include/bme680_hal.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@
* directory for more details.
*/

#pragma once

/**
* @ingroup pkg_driver_bme680
* @{
Expand All @@ -16,9 +18,6 @@
* @author Dylan Laduranty <dylan.laduranty@mesotic.com>
*/

#ifndef BME680_HAL_H
#define BME680_HAL_H

#ifdef __cplusplus
extern "C" {
#endif
Expand All @@ -45,5 +44,4 @@ int8_t bme680_spi_write_hal(uint8_t dev_id, uint8_t reg_addr,
}
#endif

#endif /* BME680_HAL_H */
/** @} */
5 changes: 2 additions & 3 deletions pkg/driver_cryptocell_310/include/cryptocell_310_util.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@
* directory for more details.
*/

#pragma once

/**
* @ingroup pkg_driver_cryptocell_310
* @{
Expand All @@ -16,8 +18,6 @@
* @author Lena Boeckmann <lena.boeckmann@haw-hamburg.de>
*
*/
#ifndef CRYPTOCELL_310_UTIL_H
#define CRYPTOCELL_310_UTIL_H

#ifdef __cplusplus
extern "C" {
Expand Down Expand Up @@ -68,5 +68,4 @@ void driver_cryptocell_310_terminate(void);
}
#endif

#endif /* CRYPTOCELL_310_UTIL_H */
/** @} */
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@
* directory for more details.
*/

#pragma once

/**
* @ingroup pkg_driver_cryptocell_310
* @{
Expand All @@ -18,9 +20,6 @@
*
*/

#ifndef PSA_CRYPTOCELL_310_AES_COMMON_H
#define PSA_CRYPTOCELL_310_AES_COMMON_H

#ifdef __cplusplus
extern "C" {
#endif
Expand Down Expand Up @@ -69,5 +68,4 @@ psa_status_t cryptocell_310_common_aes_encrypt_decrypt(SaSiAesUserContext_t *ctx
}
#endif

#endif /* PSA_CRYPTOCELL_310_AES_COMMON_H */
/** @} */
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@
* directory for more details.
*/

#pragma once

/**
* @ingroup pkg_driver_cryptocell_310
* @{
Expand All @@ -18,9 +20,6 @@
*
*/

#ifndef PSA_CRYPTOCELL_310_ECC_COMMON_H
#define PSA_CRYPTOCELL_310_ECC_COMMON_H

#ifdef __cplusplus
extern "C" {
#endif
Expand Down Expand Up @@ -118,7 +117,7 @@
*
* @param pub_key Pointer to ECC public key
* @param pub_key_size Size of public key
* @param input Input to verify (hash or original message depending on @c hash_mode )

Check warning on line 120 in pkg/driver_cryptocell_310/include/psa_cryptocell_310_ecc_common.h

View workflow job for this annotation

GitHub Actions / static-tests

line is longer than 100 characters
* @param input_length Length of the input
* @param signature Buffer containing the signature to be verified
* @param signature_length Actual length of the signature
Expand All @@ -140,5 +139,4 @@
}
#endif

#endif /* PSA_CRYPTOCELL_310_ECC_COMMON_H */
/** @} */
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@
* directory for more details.
*/

#pragma once

/**
* @ingroup pkg_driver_cryptocell_310
* @{
Expand All @@ -17,8 +19,6 @@
* @author Lena Boeckmann <lena.boeckmann@haw-hamburg.de>
*
*/
#ifndef PSA_CRYPTOCELL_310_HASHES_COMMON_H
#define PSA_CRYPTOCELL_310_HASHES_COMMON_H

#ifdef __cplusplus
extern "C" {
Expand Down Expand Up @@ -67,5 +67,4 @@ psa_status_t cryptocell_310_common_hash_finish(CRYS_HASHUserContext_t *ctx,
}
#endif

#endif /* PSA_CRYPTOCELL_310_HASHES_COMMON_H */
/** @} */
5 changes: 2 additions & 3 deletions pkg/driver_cryptocell_310/include/psa_error.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@
* directory for more details.
*/

#pragma once

/**
* @ingroup pkg_driver_cryptocell_310
* @{
Expand All @@ -16,8 +18,6 @@
* @author Lena Boeckmann <lena.boeckmann@haw-hamburg.de>
*
*/
#ifndef PSA_ERROR_H
#define PSA_ERROR_H

#ifdef __cplusplus
extern "C" {
Expand Down Expand Up @@ -58,5 +58,4 @@ const char *cryptocell310_status_to_humanly_readable(uint32_t status);
}
#endif

#endif /* PSA_ERROR_H */
/** @} */
5 changes: 2 additions & 3 deletions pkg/driver_cryptocell_310/include/psa_periph_aes_ctx.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@
* directory for more details.
*/

#pragma once

/**
* @ingroup pkg_driver_cryptocell_310
* @{
Expand All @@ -16,8 +18,6 @@
* @author Lena Boeckmann <lena.boeckmann@haw-hamburg.de>
*
*/
#ifndef PSA_PERIPH_AES_CTX_H
#define PSA_PERIPH_AES_CTX_H

#ifdef __cplusplus
extern "C" {
Expand All @@ -37,5 +37,4 @@ typedef SaSiAesUserContext_t psa_cipher_aes_128_ctx_t;
}
#endif

#endif /* PSA_PERIPH_AES_CTX_H */
/** @} */
6 changes: 2 additions & 4 deletions pkg/driver_cryptocell_310/include/psa_periph_hashes_ctx.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@
* directory for more details.
*/

#pragma once

/**
* @ingroup pkg_driver_cryptocell_310
* @{
Expand All @@ -17,9 +19,6 @@
*
*/

#ifndef PSA_PERIPH_HASHES_CTX_H
#define PSA_PERIPH_HASHES_CTX_H

#ifdef __cplusplus
extern "C" {
#endif
Expand Down Expand Up @@ -60,5 +59,4 @@ typedef CRYS_HASHUserContext_t psa_hashes_sha512_ctx_t;
}
#endif

#endif /* PSA_PERIPH_HASHES_CTX_H */
/** @} */
7 changes: 2 additions & 5 deletions pkg/edhoc-c/include/edhoc_config.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@
* directory for more details.
*/

#pragma once

/**
* @ingroup pkg_edhoc_c
* @{
Expand All @@ -18,9 +20,6 @@
* @}
*/

#ifndef EDHOC_CONFIG_H
#define EDHOC_CONFIG_H

#ifdef __cplusplus
extern "C" {
#endif
Expand Down Expand Up @@ -117,5 +116,3 @@ extern "C" {
#ifdef __cplusplus
}
#endif

#endif /* EDHOC_CONFIG_H */
6 changes: 2 additions & 4 deletions pkg/esp8266_sdk/bootloader/sdkconfig.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@
* directory for more details.
*/

#pragma once

/**
* @ingroup pkg_esp8266_sdk
* @{
Expand All @@ -24,9 +26,6 @@
* @author iosabi <iosabi@protonmail.com>
*/

#ifndef SDKCONFIG_H
#define SDKCONFIG_H

#if !DOXYGEN

#include "riotbuild.h"
Expand Down Expand Up @@ -81,5 +80,4 @@ extern "C" {
#endif

#endif /* !DOXYGEN */
#endif /* SDKCONFIG_H */
/** @} */
7 changes: 2 additions & 5 deletions pkg/esp8266_sdk/bootloader/sdkconfig_default.h
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/*
 * Generated by ./update_mk.sh, don't modify directly.
 * Default CONFIG_ parameters from the SDK package.
 */

This file should probably not be modified directly.

Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@
#pragma once

Check warning on line 1 in pkg/esp8266_sdk/bootloader/sdkconfig_default.h

View workflow job for this annotation

GitHub Actions / static-tests

no copyright notice found

/*
* Generated by ./update_mk.sh, don't modify directly.
* Default CONFIG_ parameters from the SDK package.
*/

#ifndef SDKCONFIG_DEFAULT_H
#define SDKCONFIG_DEFAULT_H

#ifdef __cplusplus
extern "C" {
#endif
Expand All @@ -24,5 +23,3 @@
#ifdef __cplusplus
}
#endif

#endif /* SDKCONFIG_DEFAULT_H */
Loading
Loading