Comments (2)
csp_autoconfig.h is an automatically generated configuration file. It's made by the 'waf' buildsystem, based on your configuration parameters. Normal build procedure is "./waf configure build". (Read more about building here: https://github.com/GomSpace/libcsp/wiki/Compiling-CSP)
If you would like to compile HMAC as standalone, without being integrated with the library, you should remove the references to csp_autoconfig.h and the #ifdef's in the code files.
Here is the typical contents of a config:
#define GIT_REV "46d67426"
/* #undef CSP_FREERTOS /
/ #undef CSP_POSIX /
#define CSP_WINDOWS 1
/ #undef CSP_MACOSX /
#define CSP_DEBUG 1
/ #undef CSP_USE_RDP /
/ #undef CSP_USE_CRC32 /
/ #undef CSP_USE_HMAC /
/ #undef CSP_USE_XTEA /
/ #undef CSP_USE_PROMISC /
/ #undef CSP_USE_QOS /
/ #undef CSP_BUFFER_STATIC /
#define CSP_BUFFER_COUNT 12
#define CSP_BUFFER_SIZE 320
#define CSP_CONN_MAX 10
#define CSP_CONN_QUEUE_LENGTH 100
#define CSP_FIFO_INPUT 10
#define CSP_MAX_BIND_PORT 31
#define CSP_RDP_MAX_WINDOW 20
#define CSP_PADDING_BYTES 8
#define CSP_LITTLE_ENDIAN 1
/ #undef CSP_BIG_ENDIAN */
I believe that the define that the hmac files are looking at is:
CSP_USE_HMAC
Regards,
Johan.
from libcsp.
Hi Johan,
Thank you the first option works.
regards,
Sandesh
from libcsp.
Related Issues (20)
- CSP_USE_DEDUP option not used
- csp_id.h/.c contain ambiguous functions' declarations
- cmake build with freertos HOT 5
- csp_bridge: potential issue in csp_bridge_work() HOT 2
- Why clear timestamp_rx in csp_id_strip()? HOT 3
- switch on -Wall -Wextra flags HOT 3
- build: differences in cmake, meson and waf HOT 2
- Example on how to use I2C HOT 5
- CSP_INIT returns CSP_ERROR_NOMEM HOT 16
- AVR support (how to build against it)
- Remove the old `master` branch
- example of adding a route to rtable HOT 3
- Dynamic Allocation in SFP HOT 2
- Enable printout when using libcsp as a submodule HOT 2
- Make this library more easily usable from C++ HOT 1
- Building the documentation HOT 5
- Zephyr with CSP CAN HOT 2
- Question: Does libCSP add any header or bits AFTER the message? HOT 15
- Getting CSPCAN examples to work. HOT 2
- Warning socket connection queue full HOT 12
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from libcsp.