BSL v1.1.1 - 19.g31939de
AMMOS Bundle Protocol Security Library (BSL)
Loading...
Searching...
No Matches
BCB_AES_GCM.c File Reference

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"
+ Include dependency graph for BCB_AES_GCM.c:

Functions

bool BSLX_BCB_Validate (BSL_LibCtx_t *lib, const BSL_BundleRef_t *bundle, const BSL_SecOper_t *sec_oper)
 Match signature BSL_SecCtx_Validate_f.
 
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_GetOptions (const BSL_BundleRef_t *bundle, BSLX_BCB_t *bcb_context, const BSL_SecOper_t *sec_oper)
 Populate the BCB context with options from the operation.
 
int BSLX_BCB_Init (BSLX_BCB_t *bcb_context, BSL_BundleRef_t *bundle, const BSL_SecOper_t *sec_oper)
 
void BSLX_BCB_Deinit (BSLX_BCB_t *bcb_context)
 
int BSLX_BCB_Execute (BSL_LibCtx_t *lib, BSL_BundleRef_t *bundle, const BSL_SecOper_t *sec_oper, BSL_SecOutcome_t *sec_outcome)
 Match signature BSL_SecCtx_Execute_f.
 

Detailed Description

Contains functionality and data structures to implement BCB using security context in RFC9173.

Function Documentation

◆ BSLX_BCB_ComputeAAD()

◆ BSLX_BCB_Decrypt()

◆ BSLX_BCB_Deinit()

◆ BSLX_BCB_Encrypt()

◆ BSLX_BCB_Execute()

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

◆ BSLX_BCB_GetOptions()

◆ BSLX_BCB_Init()

◆ BSLX_BCB_Validate()

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