ndn-lite
Macros | Functions
ndn-lite-sec-config.h File Reference
#include "detail/default-backend/ndn-lite-default-sha-impl.h"
#include "detail/default-backend/ndn-lite-default-aes-impl.h"
#include "detail/default-backend/ndn-lite-default-ecc-impl.h"
#include "detail/default-backend/ndn-lite-default-hmac-impl.h"

Go to the source code of this file.

Macros

#define NDN_LITE_SEC_BACKEND_DEFAULT
 Here you can define the security backend to use for various security functionality of ndn-lite. More...
 
#define NDN_LITE_SEC_BACKEND_SHA256_DEFAULT
 
#define NDN_LITE_SEC_BACKEND_RANDOM_DEFAULT
 
#define NDN_LITE_SEC_BACKEND_AES_DEFAULT
 
#define NDN_LITE_SEC_BACKEND_ECC_DEFAULT
 
#define NDN_LITE_SEC_BACKEND_HMAC_DEFAULT
 

Functions

void register_platform_security_init (void(*init)(void))
 Including corresponding header files. More...
 
void ndn_security_init (void)
 

Macro Definition Documentation

◆ NDN_LITE_SEC_BACKEND_AES_DEFAULT

#define NDN_LITE_SEC_BACKEND_AES_DEFAULT

◆ NDN_LITE_SEC_BACKEND_DEFAULT

#define NDN_LITE_SEC_BACKEND_DEFAULT

Here you can define the security backend to use for various security functionality of ndn-lite.

this is useful if you experience issues with security library conflicts in the development environment you are using.Selecting BackendThe default software backend provided by NDN-Lite CFLAG += -DNDN_LITE_SEC_BACKEND_DEFAULT

NOTE: If you select this backend, you will have to use an rng function other than ndn_lite_rng; other backends, such as NDN_LITE_SEC_BACKEND_NRF_CRYPTO, will automatically assign a function to ndn_lite_rng.

◆ NDN_LITE_SEC_BACKEND_ECC_DEFAULT

#define NDN_LITE_SEC_BACKEND_ECC_DEFAULT

◆ NDN_LITE_SEC_BACKEND_HMAC_DEFAULT

#define NDN_LITE_SEC_BACKEND_HMAC_DEFAULT

◆ NDN_LITE_SEC_BACKEND_RANDOM_DEFAULT

#define NDN_LITE_SEC_BACKEND_RANDOM_DEFAULT

◆ NDN_LITE_SEC_BACKEND_SHA256_DEFAULT

#define NDN_LITE_SEC_BACKEND_SHA256_DEFAULT

Function Documentation

◆ ndn_security_init()

void ndn_security_init ( void  )

◆ register_platform_security_init()

void register_platform_security_init ( void(*)(void)  init)

Including corresponding header files.