Skip to content

Commit 67ec8fd

Browse files
Move shared Cx source files to OS, where theyare compiled
1 parent 0c36fa8 commit 67ec8fd

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

50 files changed

+12
-11251
lines changed

Makefile.rules

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,7 @@ INCLUDES_PATH += ${BOLOS_SDK}
6262
#include the lib_cxng definition by default if not asked otherwise
6363
ifeq ($(NO_CXNG),)
6464
INCLUDES_PATH += $(BOLOS_SDK)/lib_cxng/include
65+
INCLUDES_PATH += $(BOLOS_SDK)/lib_cxng/src
6566
endif
6667

6768
# Get absolute App root directory to ensure correct stem replacement

lib_cxng/src/cx_crc16.c renamed to fuzzing/mock/custom/cx_crc16.c

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -16,12 +16,8 @@
1616
* limitations under the License.
1717
********************************************************************************/
1818

19-
#include "app_config.h"
20-
21-
#ifdef HAVE_CRC
22-
2319
#include "lcx_crc.h"
24-
#include "cx_ram.h"
20+
#include "ox_crc.h"
2521

2622
uint16_t cx_crc16_update(uint16_t crc, const void *buf, size_t len)
2723
{
@@ -32,5 +28,3 @@ uint16_t cx_crc16(const void *buf, size_t len)
3228
{
3329
return cx_crc_hw(CRC_TYPE_CRC16_CCITT_FALSE, CX_CRC16_INIT, buf, len);
3430
}
35-
36-
#endif // HAVE_CRC

lib_cxng/src/cx_rng.c renamed to fuzzing/mock/custom/cx_rng.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,8 @@
2020

2121
#ifdef HAVE_RNG
2222

23-
#include "cx_ram.h"
2423
#include "cx_utils.h"
25-
#include "cx_crc.h"
24+
#include "lcx_crc.h"
2625
#include "lcx_rng.h"
2726
#include "errors.h"
2827
#include "exceptions.h"

lib_cxng/cx.export

Lines changed: 0 additions & 151 deletions
This file was deleted.

0 commit comments

Comments
 (0)