From ad9100fb13bcd5df4c373028f89f5bfac88e9a83 Mon Sep 17 00:00:00 2001 From: "NDC\\rjbrown6" Date: Mon, 25 Mar 2024 11:12:17 -0400 Subject: [PATCH] Revert "[nasa/cryptolib#196] Cyclomatic Complexity Refactoring" This reverts commit 76ef337f5eabc0ff917a9f2aa26ee6c8ea25a790. --- include/crypto.h | 2 +- include/crypto_error.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/include/crypto.h b/include/crypto.h index 6a0699f6..242b4d4e 100644 --- a/include/crypto.h +++ b/include/crypto.h @@ -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); diff --git a/include/crypto_error.h b/include/crypto_error.h index 3e61fd9a..63e0c71d 100644 --- a/include/crypto_error.h +++ b/include/crypto_error.h @@ -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)