Skip to content

Commit d72b9e2

Browse files
authored
Merge pull request #450 from nasa/449-remove-kmc_cffi_exclude-and-uses
[#449] remove KMC_CFFI_EXCLUDE
2 parents c42bed7 + dbad95d commit d72b9e2

File tree

4 files changed

+1
-7
lines changed

4 files changed

+1
-7
lines changed

CMakeLists.txt

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,6 @@ option(SA_FILE "Save Security Association to File" OFF)
6060
option(KEY_VALIDATION "Validate existance of key duplication" OFF)
6161
OPTION(KMC_MDB_RH "KMC-MDB-RedHat-Integration-Testing" OFF) #Disabled by default, enable with: -DKMC_MDB_RH=ON
6262
OPTION(KMC_MDB_DB "KMC-MDB-Debian-Integration-Testing" OFF) #Disabled by default, enable with: -DKMC_MDB_DB=ON
63-
OPTION(KMC_CFFI_EXCLUDE "KMC-Exclude-Problematic-CFFI-Code" OFF) #Disabled by default, enable with: -DKMC_CFFI_EXCLUDE=ON
6463
OPTION(CRYPTO_EPROC "Enables the building and use of Extended Procedures" OFF) #Disabled by default, enable with -DCRYPTO_EPROC=ON
6564

6665
OPTION(MAC_SIZE "The size of the max MAC buffer in bytes")
@@ -153,12 +152,10 @@ endif()
153152

154153
IF(KMC_MDB_RH)
155154
ADD_DEFINITIONS(-DKMC_MDB_RH)
156-
ADD_DEFINITIONS(-DKMC_CFFI_EXCLUDE)
157155
ENDIF(KMC_MDB_RH)
158156

159157
IF(KMC_MDB_DB)
160158
ADD_DEFINITIONS(-DKMC_MDB_DB)
161-
ADD_DEFINITIONS(-DKMC_CFFI_EXCLUDE)
162159
ENDIF(KMC_MDB_DB)
163160

164161
IF(CRYPTO_EPROC)

docs/wiki/Environment_Building.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,5 @@ The two flags (DEBUG and TEST_ENC) can be used simultaneously, or separately.
9696
9797
> * KMC_MDB_RH "KMC-MDB-RedHat-Integration-Testing" -- Default OFF
9898
> * KMC_MDB_DB "KMC-MDB-Debian-Integration-Testing" -- Default OFF
99-
> * KMC_CFFI_EXCLUDE "KMC-Exclude-Problematic-CFFI-Code" -- Default OFF
10099
101100
> * CRYPTO_EPROC "Enables building of Extended Procedures -- Default OFF (CURRENTLY A WIP - Not ready for Operations)

include/crypto_structs.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,11 +31,9 @@
3131
#include "common_types.h"
3232
#endif // Assume build outside of NOS3/cFS infrastructure
3333

34-
#ifndef KMC_CFFI_EXCLUDE // Exclude libraries that CFFI parser can’t process
3534
#include <stdlib.h>
3635
#include <stdint.h>
3736
#include <stdio.h>
38-
#endif
3937

4038
/*
4139
** Definitions

support/scripts/build_kmc.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,4 @@ source $SCRIPT_DIR/env.sh
1111

1212
rm $BASE_DIR/CMakeCache.txt
1313

14-
cmake $BASE_DIR -DCODECOV=1 -DDEBUG=1 -DCRYPTO_KMC=1 -DKEY_KMC=1 -DMC_DISABLED=1 -DSA_MARIADB=1 -DTEST=1 -DKMC_CFFI_EXCLUDE=1 -DSA_FILE=1 -DKMC_MDB_DB=1 && make && make test
14+
cmake $BASE_DIR -DCODECOV=1 -DDEBUG=1 -DCRYPTO_KMC=1 -DKEY_KMC=1 -DMC_DISABLED=1 -DSA_MARIADB=1 -DTEST=1 -DSA_FILE=1 -DKMC_MDB_DB=1 && make && make test

0 commit comments

Comments
 (0)