BSL v0.0.0
AMMOS Bundle Protocol Security Library (BSL)
Loading...
Searching...
No Matches
DefaultSecContext.h File Reference

Header for the implementation of an example default security context (RFC 9173). More...

#include <BPSecLib_Private.h>
#include <BPSecLib_Public.h>
+ Include dependency graph for DefaultSecContext.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define BSLX_MAX_KEYLEN   (2048)
 
#define BSLX_MAX_AES_PAD   (64)
 

Functions

int BSLX_BCB_Execute (BSL_LibCtx_t *lib, const BSL_BundleRef_t *bundle, const BSL_SecOper_t *sec_oper, BSL_SecOutcome_t *sec_outcome)
 
int BSLX_BIB_Execute (BSL_LibCtx_t *lib, const BSL_BundleRef_t *bundle, const BSL_SecOper_t *sec_oper, BSL_SecOutcome_t *sec_outcome)
 
bool BSLX_BIB_Validate (BSL_LibCtx_t *lib, const BSL_BundleRef_t *bundle, const BSL_SecOper_t *sec_oper)
 
bool BSLX_BCB_Validate (BSL_LibCtx_t *lib, const BSL_BundleRef_t *bundle, const BSL_SecOper_t *sec_oper)
 

Detailed Description

Header for the implementation of an example default security context (RFC 9173).

Definition in file DefaultSecContext.h.

Macro Definition Documentation

◆ BSLX_MAX_AES_PAD

#define BSLX_MAX_AES_PAD   (64)

Definition at line 35 of file DefaultSecContext.h.

◆ BSLX_MAX_KEYLEN

#define BSLX_MAX_KEYLEN   (2048)

Definition at line 34 of file DefaultSecContext.h.

Function Documentation

◆ BSLX_BCB_Execute()

int BSLX_BCB_Execute ( BSL_LibCtx_t lib,
const BSL_BundleRef_t bundle,
const BSL_SecOper_t sec_oper,
BSL_SecOutcome_t sec_outcome 
)

Definition at line 593 of file BCB_AES_GCM.c.

◆ BSLX_BCB_Validate()

bool BSLX_BCB_Validate ( BSL_LibCtx_t lib,
const BSL_BundleRef_t bundle,
const BSL_SecOper_t sec_oper 
)

Definition at line 54 of file BIB_HMAC_SHA2.c.

◆ BSLX_BIB_Execute()

int BSLX_BIB_Execute ( BSL_LibCtx_t lib,
const BSL_BundleRef_t bundle,
const BSL_SecOper_t sec_oper,
BSL_SecOutcome_t sec_outcome 
)

Definition at line 292 of file BIB_HMAC_SHA2.c.

◆ BSLX_BIB_Validate()

bool BSLX_BIB_Validate ( BSL_LibCtx_t lib,
const BSL_BundleRef_t bundle,
const BSL_SecOper_t sec_oper 
)

Definition at line 42 of file BIB_HMAC_SHA2.c.