-
Notifications
You must be signed in to change notification settings - Fork 29
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #175 from nasa/142-reserved-identifier-violation
Review and normalized all file header include guards
- Loading branch information
Showing
28 changed files
with
50 additions
and
49 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -16,8 +16,8 @@ | |
[email protected] | ||
*/ | ||
|
||
#ifndef _crypto_h_ | ||
#define _crypto_h_ | ||
#ifndef CRYPTO_H | ||
#define CRYPTO_H | ||
|
||
/* | ||
** Crypto Includes | ||
|
@@ -217,4 +217,4 @@ extern uint8_t badFECF; | |
extern uint32_t crc32Table[256]; | ||
extern uint16_t crc16Table[256]; | ||
|
||
#endif // _crypto_h_z | ||
#endif //CRYPTO_H |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -15,8 +15,8 @@ | |
NASA IV&V | ||
[email protected] | ||
*/ | ||
#ifndef _crypto_config_h_ | ||
#define _crypto_config_h_ | ||
#ifndef CRYPTO_CONFIG_H | ||
#define CRYPTO_CONFIG_H | ||
|
||
// Build Defines | ||
//#define BUILD_STATIC | ||
|
@@ -186,4 +186,5 @@ | |
// Logic Behavior Defines | ||
#define CRYPTO_FALSE 0 | ||
#define CRYPTO_TRUE 1 | ||
#endif | ||
|
||
#endif //CRYPTO_CONFIG_H |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -15,8 +15,8 @@ ITC Team | |
NASA IV&V | ||
[email protected] | ||
*/ | ||
#ifndef _crypto_config_structs_h_ | ||
#define _crypto_config_structs_h_ | ||
#ifndef CRYPTO_CONFIG_STRUCTS_H | ||
#define CRYPTO_CONFIG_STRUCTS_H | ||
|
||
#include "crypto_config.h" | ||
|
||
|
@@ -246,5 +246,4 @@ typedef struct | |
} CamConfig_t; | ||
#define CAM_CONFIG_SIZE (sizeof(CamConfig_t)) | ||
|
||
|
||
#endif | ||
#endif //CRYPTO_CONFIG_STRUCTS_H |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -15,8 +15,8 @@ | |
NASA IV&V | ||
[email protected] | ||
*/ | ||
#ifndef _crypto_error_h_ | ||
#define _crypto_error_h_ | ||
#ifndef CRYPTO_ERROR_H | ||
#define CRYPTO_ERROR_H | ||
|
||
/* | ||
* If error codes are added to this header file, their enum string must be added to the error lists (in crypto_error.c) | ||
|
@@ -129,4 +129,4 @@ extern char *crypto_enum_errlist_crypto_cam[]; | |
#define CRYPTO_UNDEFINED_ERROR "CRYPTO_UNDEFINED_ERROR_CODE" | ||
|
||
|
||
#endif //_crypto_error_h_ | ||
#endif //CRYPTO_ERROR_H |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -15,8 +15,8 @@ | |
NASA IV&V | ||
[email protected] | ||
*/ | ||
#ifndef _crypto_events_h_ | ||
#define _crypto_events_h_ | ||
#ifndef CRYPTO_EVENTS_H | ||
#define CRYPTO_EVENTS_H | ||
|
||
#define FECF_ERR_EID 0 | ||
#define MKID_INVALID_EID 1 | ||
|
@@ -29,4 +29,4 @@ | |
|
||
#define STARTUP 10 | ||
|
||
#endif | ||
#endif //CRYPTO_EVENTS_H |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -16,8 +16,8 @@ | |
[email protected] | ||
*/ | ||
|
||
#ifndef _crypto_print_h_ | ||
#define _crypto_print_h_ | ||
#ifndef CRYPTO_PRINT_H | ||
#define CRYPTO_PRINT_H | ||
|
||
/* | ||
** Includes | ||
|
@@ -37,4 +37,5 @@ void Crypto_saPrint(SecurityAssociation_t* sa); | |
void Crypto_hexprint(const void* c, size_t n); | ||
void Crypto_binprint(void* c, size_t n); | ||
void Crypto_mpPrint(GvcidManagedParameters_t* managed_parameters, uint8_t print_children); | ||
#endif | ||
|
||
#endif //CRYPTO_PRINT_H |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -16,8 +16,8 @@ | |
[email protected] | ||
*/ | ||
|
||
#ifndef _crypto_structs_h_ | ||
#define _crypto_structs_h_ | ||
#ifndef CRYPTO_STRUCTS_H | ||
#define CRYPTO_STRUCTS_H | ||
|
||
#include "crypto_config.h" | ||
|
||
|
@@ -403,4 +403,4 @@ typedef struct | |
#define TM_MIN_SIZE \ | ||
(TM_FRAME_PRIMARYHEADER_SIZE + TM_FRAME_SECHEADER_SIZE + TM_FRAME_SECTRAILER_SIZE + TM_FRAME_CLCW_SIZE) | ||
|
||
#endif | ||
#endif //CRYPTO_STRUCTS_H |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -15,8 +15,8 @@ | |
NASA IV&V | ||
[email protected] | ||
*/ | ||
#ifndef _key_interface_h_ | ||
#define _key_interface_h_ | ||
#ifndef KEY_INTERFACE_H | ||
#define KEY_INTERFACE_H | ||
|
||
#include "crypto_error.h" | ||
#include "crypto_structs.h" | ||
|
@@ -46,4 +46,4 @@ KeyInterface get_key_interface_custom(void); | |
KeyInterface get_key_interface_internal(void); | ||
KeyInterface get_key_interface_kmc(void); | ||
|
||
#endif /* _key_interface_h_ */ | ||
#endif // KEY_INTERFACE_H |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -33,4 +33,4 @@ extern "C" | |
#endif | ||
|
||
|
||
#endif // CRYPTOLIB_UT_TC_PROCESS_H | ||
#endif //CRYPTOLIB_UT_TC_PROCESS_H |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters