Loading...
Searching...
No Matches
edhoc_config.h File Reference

EDHOC-C configuration file. More...

Detailed Description

EDHOC-C configuration file.

Author
Timothy Claeys timot.nosp@m.hy.c.nosp@m.laeys.nosp@m.@inr.nosp@m.ia.fr

Definition in file edhoc_config.h.

Go to the source code of this file.

Macros

#define EDHOC_CIPHER_SUITE_0_ENABLED
 EDHOC_CIPHER_SUITE_X_ENABLED.
 
#define EDHOC_ASYNC_API_ENABLED
 EDHOC_ASYNC_API_ENABLED.
 
#define EDHOC_DEBUG_ENABLED
 EDHOC_DEBUG_ENABLE.
 
#define EDHOC_AUTH_RPK_ENABLED
 EDHOC_AUTH_RPK_ENABLED.
 
#define EDHOC_COSE_HEADER_SIZE   (5)
 EDHOC_COSE_HEADER_SIZE.
 
#define EDHOC_CRED_SIZE   (256)
 EDHOC_CREDENTIAL_MAX_SIZE.
 
#define EDHOC_CRED_ID_SIZE   (256)
 EDHOC_CREDENTIAL_ID_MAX_SIZE.
 
#define EDHOC_ADDITIONAL_DATA_SIZE   (64)
 EDHOC_ADD_DATA_MAX_SIZE.
 
#define EDHOC_AUTH_METHOD_0_ENABLED
 EDHOC_AUTH_METHOD_X_ENABLED.
 
#define EDHOC_AUTH_METHOD_1_ENABLED
 
#define EDHOC_AUTH_METHOD_2_ENABLED
 
#define EDHOC_AUTH_METHOD_3_ENABLED
 
#define EDHOC_AUTH_CERT_ENABLED
 EDHOC_AUTH_CERT_ENABLED.
 
#define EDHOC_AUTH_CBOR_CERT
 

Macro Definition Documentation

◆ EDHOC_ADDITIONAL_DATA_SIZE

#define EDHOC_ADDITIONAL_DATA_SIZE   (64)

EDHOC_ADD_DATA_MAX_SIZE.

Maximum number of additional data bytes to piggy-back on the EDHOC exchange

Definition at line 115 of file edhoc_config.h.

◆ EDHOC_ASYNC_API_ENABLED

#define EDHOC_ASYNC_API_ENABLED

EDHOC_ASYNC_API_ENABLED.

Exposes the individual EDHOC message functions for asynchronous usage.

Definition at line 55 of file edhoc_config.h.

◆ EDHOC_AUTH_CBOR_CERT

#define EDHOC_AUTH_CBOR_CERT

Definition at line 74 of file edhoc_config.h.

◆ EDHOC_AUTH_CERT_ENABLED

#define EDHOC_AUTH_CERT_ENABLED

EDHOC_AUTH_CERT_ENABLED.

Enables CBOR certificates as the EDHOC local credential

Definition at line 72 of file edhoc_config.h.

◆ EDHOC_AUTH_METHOD_0_ENABLED

#define EDHOC_AUTH_METHOD_0_ENABLED

EDHOC_AUTH_METHOD_X_ENABLED.

Enables support for a specific EDHOC authentication method

Definition at line 43 of file edhoc_config.h.

◆ EDHOC_AUTH_METHOD_1_ENABLED

#define EDHOC_AUTH_METHOD_1_ENABLED

Definition at line 44 of file edhoc_config.h.

◆ EDHOC_AUTH_METHOD_2_ENABLED

#define EDHOC_AUTH_METHOD_2_ENABLED

Definition at line 45 of file edhoc_config.h.

◆ EDHOC_AUTH_METHOD_3_ENABLED

#define EDHOC_AUTH_METHOD_3_ENABLED

Definition at line 46 of file edhoc_config.h.

◆ EDHOC_AUTH_RPK_ENABLED

#define EDHOC_AUTH_RPK_ENABLED

EDHOC_AUTH_RPK_ENABLED.

Enables COSE raw public keys as the EDHOC local credential

Definition at line 84 of file edhoc_config.h.

◆ EDHOC_CIPHER_SUITE_0_ENABLED

#define EDHOC_CIPHER_SUITE_0_ENABLED

EDHOC_CIPHER_SUITE_X_ENABLED.

Enables support for a specific EDHOC cipher suite

Definition at line 34 of file edhoc_config.h.

◆ EDHOC_COSE_HEADER_SIZE

#define EDHOC_COSE_HEADER_SIZE   (5)

EDHOC_COSE_HEADER_SIZE.

Sets the maximum number of COSE header elements

Definition at line 91 of file edhoc_config.h.

◆ EDHOC_CRED_ID_SIZE

#define EDHOC_CRED_ID_SIZE   (256)

EDHOC_CREDENTIAL_ID_MAX_SIZE.

Sets the maximum buffer size for credential identifiers

Definition at line 107 of file edhoc_config.h.

◆ EDHOC_CRED_SIZE

#define EDHOC_CRED_SIZE   (256)

EDHOC_CREDENTIAL_MAX_SIZE.

Sets the maximum buffer size for credentials (raw keys or certificates)

Definition at line 99 of file edhoc_config.h.

◆ EDHOC_DEBUG_ENABLED

#define EDHOC_DEBUG_ENABLED

EDHOC_DEBUG_ENABLE.

Enables some extra methods that allow for easier testing and debugging

Definition at line 63 of file edhoc_config.h.