Skip to content

Commit

Permalink
[#196] Cyclomatic Complexity Refactoring
Browse files Browse the repository at this point in the history
  • Loading branch information
rjbrown6 committed Mar 15, 2024
1 parent 70d0849 commit 76ef337
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion include/crypto.h
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ extern int32_t Crypto_Init_AOS_Unit_Test(void); // Initialize CryptoLib wit

// Cleanup
extern int32_t Crypto_Shutdown(void); // Free all allocated memory

// Telecommand (TC)
extern int32_t Crypto_TC_ApplySecurity(const uint8_t* p_in_frame, const uint16_t in_frame_length,
uint8_t** pp_enc_frame, uint16_t* p_enc_frame_len);
Expand Down
2 changes: 1 addition & 1 deletion include/crypto_error.h
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@
#define CAM_KEYTAB_FILE_KINIT_FAILURE 608
#define CAM_KERBEROS_REQUEST_TIME_OUT 609
#define CAM_MAX_AUTH_RETRIES_REACHED 610

#define CRYPTO_LIB_SUCCESS (0)
#define CRYPTO_LIB_ERROR (-1)
#define CRYPTO_LIB_ERR_NO_INIT (-2)
Expand Down

0 comments on commit 76ef337

Please sign in to comment.