Bluetooth LE Stack
btstack_crypto_ccm_init()
is only used within Bluetooth LE Stack.
Symbol previews are coming soon...
Symbols
loading...
Files
loading...
Summary
Syntax
Arguments
Related
Examples
References
Call Tree
Data Use
Class Tree
Override Tree
Implementations
Instances
Lifecycle
SourceVu
Raspberry Pi Pico SDK and Examples
Bluetooth LE Stack
btstack_crypto_ccm_init()
btstack_crypto_ccm_init() function
Initialize Counter with CBC-MAC for Bluetooth Mesh (L=2)
Syntax
Show:
Summary
Declaration
Definition
from
btstack_crypto.h:236
void
btstack_crypto_ccm_init
(
btstack_crypto_ccm_t
*
request
,
const
uint8_t
*
key
,
const
uint8_t
*
nonce
,
uint16_t
message_len
,
uint16_t
additional_authenticated_data_len
,
uint8_t
auth_len
)
;
Implemented in
btstack_crypto.c:1302
Arguments
Argument
Description
request
key
nonce
message_len
additional_authenticated_data_len
must be smaller than 0xff00
auth_len
Related Functions
Found 17 other functions taking a
btstack_crypto_ccm_t
argument:
Function
Description
btstack_crypto_ccm_setup_a_i()
btstack_crypto_ccm_next_block()
btstack_crypto_ccm_decrypt_block()
Decrypt block - can be called multiple times. len must be a multiply of 16 for all but the last call
btstack_crypto_ccm_get_authentication_value()
Get authentication value after encrypt or decrypt operation
btstack_crypto_ccm_digest()
Digest Additional Authentication Data - can be called multipled times up to total additional_authenticated_data_len specified in btstack_crypto_ccm_init
btstack_crypto_ccm_encrypt_block()
Encrypt block - can be called multiple times. len must be a multiply of 16 for all but the last call
btstack_crypto_ccm_setup_b_0()
btstack_crypto_ccm_handle_s0()
btstack_crypto_ccm_handle_sn()
btstack_crypto_ccm_handle_aad_xn()
btstack_crypto_ccm_handle_x1()
btstack_crypto_ccm_handle_xn()
btstack_crypto_ccm_calc_s0()
btstack_crypto_ccm_calc_sn()
btstack_crypto_ccm_calc_x1()
btstack_crypto_ccm_calc_xn()
btstack_crypto_ccm_calc_aad_xn()
Examples
References
from
examples
Call Tree
from
examples
All items filtered out
All items filtered out
Data Use
from
examples
All items filtered out
All items filtered out
Class Tree
from
examples
All items filtered out
All items filtered out
Override Tree
from
examples
All items filtered out
All items filtered out
Implementations
from
examples
All items filtered out
All items filtered out
Instances
from
examples
Lifecycle
from
examples
All items filtered out
All items filtered out