Skip to content

[nasa/cryptolib#411] Moved Templates up one level #134

[nasa/cryptolib#411] Moved Templates up one level

[nasa/cryptolib#411] Moved Templates up one level #134

Triggered via pull request March 3, 2025 19:19
Status Success
Total duration 2m 21s
Artifacts

cpp-linter.yml

on: pull_request
cpp-linter
31s
cpp-linter
Fit to window
Zoom out
Zoom in

Annotations

10 errors, 10 warnings, and 10 notices
include/crypto_config_structs.h:225:16 [bugprone-reserved-identifier]: include/crypto_config_structs.h#L225
declaration uses identifier '_GvcidManagedParameters_t', which is a reserved identifier
include/crypto_error.h:146:37 [bugprone-macro-parentheses]: include/crypto_error.h#L146
macro replacement list should be enclosed in parentheses
include/crypto_error.h:167:14 [cppcoreguidelines-avoid-non-const-global-variables]: include/crypto_error.h#L167
variable 'crypto_enum_errlist_core' is non-const and globally accessible, consider making it const
include/crypto_error.h:168:14 [cppcoreguidelines-avoid-non-const-global-variables]: include/crypto_error.h#L168
variable 'crypto_enum_errlist_config' is non-const and globally accessible, consider making it const
include/crypto_error.h:169:14 [cppcoreguidelines-avoid-non-const-global-variables]: include/crypto_error.h#L169
variable 'crypto_enum_errlist_sa_if' is non-const and globally accessible, consider making it const
include/crypto_error.h:170:14 [cppcoreguidelines-avoid-non-const-global-variables]: include/crypto_error.h#L170
variable 'crypto_enum_errlist_sa_mariadb' is non-const and globally accessible, consider making it const
include/crypto_error.h:171:14 [cppcoreguidelines-avoid-non-const-global-variables]: include/crypto_error.h#L171
variable 'crypto_enum_errlist_crypto_if' is non-const and globally accessible, consider making it const
include/crypto_error.h:172:14 [cppcoreguidelines-avoid-non-const-global-variables]: include/crypto_error.h#L172
variable 'crypto_enum_errlist_crypto_kmc' is non-const and globally accessible, consider making it const
include/crypto_error.h:173:14 [cppcoreguidelines-avoid-non-const-global-variables]: include/crypto_error.h#L173
variable 'crypto_enum_errlist_crypto_cam' is non-const and globally accessible, consider making it const
include/crypto.h:98:67 [readability-avoid-const-params-in-decls]: include/crypto.h#L98
parameter 'in_frame_length' is const-qualified in the function declaration; const-qualification of parameters only has an effect in function definitions
Run clang-format on include/crypto_config_structs.h: include/crypto_config_structs.h#L1
File include/crypto_config_structs.h does not conform to Custom style guidelines. (lines 247, 248, 249, 250, 252, 253, 254, 255, 257, 268, 269, 271, 272, 273, 274, 275, 276, 277, 278, 290, 291, 292, 293, 294)
Run clang-format on include/crypto.h: include/crypto.h#L1
File include/crypto.h does not conform to Custom style guidelines. (lines 139, 140, 141, 142, 236, 323, 325, 326, 327, 337)
Run clang-format on support/standalone/standalone.h: support/standalone/standalone.h#L1
File support/standalone/standalone.h does not conform to Custom style guidelines. (lines 94, 117, 120)
Run clang-format on support/standalone/standalone.c: support/standalone/standalone.c#L1
File support/standalone/standalone.c does not conform to Custom style guidelines. (lines 225, 226, 229, 240, 353, 354, 589, 590)
Run clang-format on src/crypto/libgcrypt/cryptography_interface_libgcrypt.template.c: src/crypto/libgcrypt/cryptography_interface_libgcrypt.template.c#L1
File src/crypto/libgcrypt/cryptography_interface_libgcrypt.template.c does not conform to Custom style guidelines. (lines 138, 219, 220, 221, 245, 328, 329, 330, 331, 395, 598, 728, 814)
Run clang-format on src/crypto/kmc/cryptography_interface_kmc_crypto_service.template.c: src/crypto/kmc/cryptography_interface_kmc_crypto_service.template.c#L1
File src/crypto/kmc/cryptography_interface_kmc_crypto_service.template.c does not conform to Custom style guidelines. (lines 35, 41, 91, 99, 100, 163, 345, 396, 397, 419, 427, 482, 540, 586, 639, 669, 784, 836, 850, 851, 854, 903, 1009, 1032, 1093, 1119, 1202, 1282, 1361, 1362, 1385, 1393, 1448, 1575, 1606, 1612, 1683, 1742, 1772, 2015, 2087, 2309)
Run clang-format on src/mc/internal/mc_interface_internal.template.c: src/mc/internal/mc_interface_internal.template.c#L1
File src/mc/internal/mc_interface_internal.template.c does not conform to Custom style guidelines. (lines 22)
Run clang-format on src/core/crypto_tm.c: src/core/crypto_tm.c#L1
File src/core/crypto_tm.c does not conform to Custom style guidelines. (lines 1703, 1708, 1709)
Run clang-format on src/core/crypto_tc.c: src/core/crypto_tc.c#L1
File src/core/crypto_tc.c does not conform to Custom style guidelines. (lines 342, 343, 344, 618, 619, 808, 941, 942, 947, 953, 1754, 1758, 1759)
Run clang-format on src/core/crypto_mc.c: src/core/crypto_mc.c#L1
File src/core/crypto_mc.c does not conform to Custom style guidelines. (lines 273)