|
BSL v1.1.1 - 19.g31939de
AMMOS Bundle Protocol Security Library (BSL)
|
BCB encryption context with crypto primitives. More...
#include <default_sc/DefaultSecContext_Private.h>
Collaboration diagram for BSLX_BCB_t:Data Fields | |
| BSL_BundleRef_t * | bundle |
| 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. | |
BCB encryption context with crypto primitives.
| BSL_Data_t BSLX_BCB_t::aad |
Referenced by BSLX_BCB_ComputeAAD(), BSLX_BCB_Decrypt(), BSLX_BCB_Deinit(), and BSLX_BCB_Encrypt().
| int64_t BSLX_BCB_t::aad_scope |
Required AAD scope.
Referenced by BSLX_BCB_ComputeAAD(), BSLX_BCB_Execute(), and BSLX_BCB_GetOptions().
| int64_t BSLX_BCB_t::aes_variant |
Required AES variant.
Referenced by BSLX_BCB_Decrypt(), BSLX_BCB_Encrypt(), BSLX_BCB_Execute(), and BSLX_BCB_GetOptions().
| BSL_Data_t BSLX_BCB_t::authtag |
Referenced by BSLX_BCB_Decrypt(), BSLX_BCB_Deinit(), BSLX_BCB_Encrypt(), and BSLX_BCB_Execute().
| 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().
| BSL_CipherMode_e BSLX_BCB_t::crypto_mode |
Cipher mode variants.
Referenced by BSLX_BCB_Init().
| BSL_Data_t BSLX_BCB_t::debugstr |
Referenced by BSLX_BCB_Deinit(), and BSLX_BCB_Init().
| size_t BSLX_BCB_t::err_count |
Error counter for procedure interruption.
Referenced by BSLX_BCB_Execute(), and BSLX_BCB_GetOptions().
| bool BSLX_BCB_t::is_source |
True if this operation is the source role.
Referenced by BSLX_BCB_Execute(), and BSLX_BCB_Init().
| BSL_Data_t BSLX_BCB_t::iv |
Referenced by BSLX_BCB_Decrypt(), BSLX_BCB_Deinit(), BSLX_BCB_Encrypt(), and BSLX_BCB_Execute().
| 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().
| int64_t BSLX_BCB_t::keywrap |
Referenced by BSLX_BCB_Decrypt(), BSLX_BCB_Encrypt(), and BSLX_BCB_GetOptions().
| bool BSLX_BCB_t::opt_aad_scope |
True if aad_scope came from an option.
Referenced by BSLX_BCB_Execute(), and BSLX_BCB_GetOptions().
| 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().
| BSL_PrimaryBlock_t BSLX_BCB_t::primary_block |
Referenced by BSLX_BCB_ComputeAAD(), BSLX_BCB_Deinit(), and BSLX_BCB_Init().
| BSL_CanonicalBlock_t BSLX_BCB_t::sec_block |
Referenced by BSLX_BCB_ComputeAAD(), and BSLX_BCB_Execute().
| bool BSLX_BCB_t::success |
| BSL_CanonicalBlock_t BSLX_BCB_t::target_block |
Referenced by BSLX_BCB_ComputeAAD(), BSLX_BCB_Decrypt(), BSLX_BCB_Encrypt(), BSLX_BCB_GetOptions(), and BSLX_BCB_Init().
| BSL_Data_t BSLX_BCB_t::wrapped_key |
Referenced by BSLX_BCB_Decrypt(), BSLX_BCB_Deinit(), BSLX_BCB_Encrypt(), BSLX_BCB_Execute(), and BSLX_BCB_GetOptions().