BSL v1.1.1 - 19.g31939de
AMMOS Bundle Protocol Security Library (BSL)
Loading...
Searching...
No Matches
BSLX_BCB_t Struct Reference

BCB encryption context with crypto primitives. More...

#include <default_sc/DefaultSecContext_Private.h>

+ Collaboration diagram for BSLX_BCB_t:

Data Fields

BSL_BundleRef_tbundle
 Bundle context associated with this operation.
 
bool is_source
 True if this operation is the source role.
 
size_t err_count
 Error counter for procedure interruption.
 
const char * key_id
 Pointer to text which will outlive this context.
 
BSL_Data_t authtag
 
BSL_Data_t iv
 
BSL_Data_t wrapped_key
 
BSL_Data_t debugstr
 
BSL_Data_t aad
 
BSL_CipherMode_e crypto_mode
 Cipher mode variants.
 
int64_t aes_variant
 Required AES variant.
 
bool opt_aad_scope
 True if aad_scope came from an option.
 
int64_t aad_scope
 Required AAD scope.
 
BSL_PrimaryBlock_t primary_block
 
BSL_CanonicalBlock_t sec_block
 
BSL_CanonicalBlock_t target_block
 
int64_t keywrap
 
bool success
 
bool overwrite_btsd
 True if this is a source or acceptor role and target BTSD is replaced.
 

Detailed Description

BCB encryption context with crypto primitives.

Field Documentation

◆ aad

◆ aad_scope

int64_t BSLX_BCB_t::aad_scope

Required AAD scope.

Referenced by BSLX_BCB_ComputeAAD(), BSLX_BCB_Execute(), and BSLX_BCB_GetOptions().

◆ aes_variant

int64_t BSLX_BCB_t::aes_variant

◆ authtag

◆ bundle

BSL_BundleRef_t* BSLX_BCB_t::bundle

Bundle context associated with this operation.

Referenced by BSLX_BCB_Decrypt(), BSLX_BCB_Encrypt(), and BSLX_BCB_Init().

◆ crypto_mode

BSL_CipherMode_e BSLX_BCB_t::crypto_mode

Cipher mode variants.

Referenced by BSLX_BCB_Init().

◆ debugstr

BSL_Data_t BSLX_BCB_t::debugstr

Referenced by BSLX_BCB_Deinit(), and BSLX_BCB_Init().

◆ err_count

size_t BSLX_BCB_t::err_count

Error counter for procedure interruption.

Referenced by BSLX_BCB_Execute(), and BSLX_BCB_GetOptions().

◆ is_source

bool BSLX_BCB_t::is_source

True if this operation is the source role.

Referenced by BSLX_BCB_Execute(), and BSLX_BCB_Init().

◆ iv

◆ key_id

const char* BSLX_BCB_t::key_id

Pointer to text which will outlive this context.

Referenced by BSLX_BCB_Decrypt(), BSLX_BCB_Encrypt(), and BSLX_BCB_GetOptions().

◆ keywrap

int64_t BSLX_BCB_t::keywrap

◆ opt_aad_scope

bool BSLX_BCB_t::opt_aad_scope

True if aad_scope came from an option.

Referenced by BSLX_BCB_Execute(), and BSLX_BCB_GetOptions().

◆ overwrite_btsd

bool BSLX_BCB_t::overwrite_btsd

True if this is a source or acceptor role and target BTSD is replaced.

Referenced by BSLX_BCB_Decrypt(), and BSLX_BCB_Execute().

◆ primary_block

BSL_PrimaryBlock_t BSLX_BCB_t::primary_block

◆ sec_block

BSL_CanonicalBlock_t BSLX_BCB_t::sec_block

◆ success

bool BSLX_BCB_t::success

◆ target_block

◆ wrapped_key


The documentation for this struct was generated from the following file: