BSL v0.0.0
AMMOS Bundle Protocol Security Library (BSL)
|
Contains functionality and data structures to implement BCB using security context in RFC9173. More...
#include <stdlib.h>
#include <qcbor/qcbor_encode.h>
#include <qcbor/qcbor_spiffy_decode.h>
#include <BPSecLib_Private.h>
#include <CryptoInterface.h>
#include "DefaultSecContext.h"
#include "DefaultSecContext_Private.h"
#include "rfc9173.h"
Go to the source code of this file.
Functions | |
int | BSLX_BCB_ComputeAAD (BSLX_BCB_t *bcb_context) |
static int | BSLX_BCB_Decrypt (BSLX_BCB_t *bcb_context) |
int | BSLX_BCB_Encrypt (BSLX_BCB_t *bcb_context) |
int | BSLX_BCB_GetParams (const BSL_BundleRef_t *bundle, BSLX_BCB_t *bcb_context, const BSL_SecOper_t *sec_oper) |
int | BSLX_BCB_Init (BSLX_BCB_t *bcb_context, const BSL_BundleRef_t *bundle, const BSL_SecOper_t *sec_oper) |
static void | BSLX_BCB_Deinit (BSLX_BCB_t *bcb_context) |
int | BSLX_BCB_Execute (BSL_LibCtx_t *lib, const BSL_BundleRef_t *bundle, const BSL_SecOper_t *sec_oper, BSL_SecOutcome_t *sec_outcome) |
Contains functionality and data structures to implement BCB using security context in RFC9173.
Definition in file BCB_AES_GCM.c.
int BSLX_BCB_ComputeAAD | ( | BSLX_BCB_t * | bcb_context | ) |
Definition at line 40 of file BCB_AES_GCM.c.
|
static |
Definition at line 97 of file BCB_AES_GCM.c.
|
static |
Definition at line 577 of file BCB_AES_GCM.c.
int BSLX_BCB_Encrypt | ( | BSLX_BCB_t * | bcb_context | ) |
Definition at line 218 of file BCB_AES_GCM.c.
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.
int BSLX_BCB_GetParams | ( | const BSL_BundleRef_t * | bundle, |
BSLX_BCB_t * | bcb_context, | ||
const BSL_SecOper_t * | sec_oper | ||
) |
Definition at line 384 of file BCB_AES_GCM.c.
int BSLX_BCB_Init | ( | BSLX_BCB_t * | bcb_context, |
const BSL_BundleRef_t * | bundle, | ||
const BSL_SecOper_t * | sec_oper | ||
) |
Definition at line 530 of file BCB_AES_GCM.c.