ESP-IDF
bt_mesh_aes_cmac()
is only used within ESP-IDF.
Symbol previews are coming soon...
Symbols
loading...
Files
loading...
Summary
Syntax
Arguments
Examples
References
Call Tree
Data Use
Class Tree
Override Tree
Implementations
Instances
Lifecycle
SourceVu
ESP-IDF Framework and Examples
ESP-IDF
bt_mesh_aes_cmac()
bt_mesh_aes_cmac() function
Syntax
Show:
Summary
Declaration
Definition
from
crypto.h:25
int
bt_mesh_aes_cmac
(
const
uint8_t
key
[
16
]
,
struct
bt_mesh_sg
*
sg
,
size_t
sg_len
,
uint8_t
mac
[
16
]
)
;
Implemented in
crypto.c:32
Arguments
Argument
key
sg
sg_len
mac
Examples
References
from
examples
Code
Location
Referrer
int
bt_mesh_aes_cmac
(
const
uint8_t
key
[
16
]
,
struct
bt_mesh_sg
*
sg
,
crypto.c:32
int
bt_mesh_aes_cmac
(
const
uint8_t
key
[
16
]
,
struct
bt_mesh_sg
*
sg
,
crypto.c:40
int
bt_mesh_aes_cmac
(
const
uint8_t
key
[
16
]
,
struct
bt_mesh_sg
*
sg
,
crypto.h:25
int
bt_mesh_aes_cmac
(
const
uint8_t
key
[
16
]
,
struct
bt_mesh_sg
*
sg
,
crypto.h:18
err
=
bt_mesh_aes_cmac
(
t
,
sg
,
ARRAY_SIZE
(
sg
)
,
out
)
;
crypto.c:101
bt_mesh_k2()
err
=
bt_mesh_aes_cmac
(
t
,
sg
,
ARRAY_SIZE
(
sg
)
,
out
)
;
crypto.c:112
bt_mesh_k2()
err
=
bt_mesh_aes_cmac
(
t
,
sg
,
ARRAY_SIZE
(
sg
)
,
out
)
;
crypto.c:121
bt_mesh_k2()
return
bt_mesh_aes_cmac
(
conf_key
,
sg
,
ARRAY_SIZE
(
sg
)
,
conf
)
;
crypto.c:856
bt_mesh_prov_conf()
err
=
bt_mesh_aes_cmac
(
t
,
sg
,
ARRAY_SIZE
(
sg
)
,
out
)
;
crypto.c:152
bt_mesh_k2()
err
=
bt_mesh_aes_cmac
(
t
,
sg
,
ARRAY_SIZE
(
sg
)
,
out
)
;
crypto.c:163
bt_mesh_k2()
err
=
bt_mesh_aes_cmac
(
t
,
sg
,
ARRAY_SIZE
(
sg
)
,
out
)
;
crypto.c:172
bt_mesh_k2()
return
bt_mesh_aes_cmac
(
conf_key
,
sg
,
ARRAY_SIZE
(
sg
)
,
conf
)
;
crypto.c:567
bt_mesh_prov_conf()
return
bt_mesh_aes_cmac
(
key
,
&
sg
,
1
,
mac
)
;
crypto.h:33
bt_mesh_aes_cmac_one()
return
bt_mesh_aes_cmac
(
prov_salt_key
,
sg
,
ARRAY_SIZE
(
sg
)
,
prov_salt
)
;
crypto.h:133
bt_mesh_prov_salt()
return
bt_mesh_aes_cmac
(
key
,
&
sg
,
1
,
mac
)
;
crypto.h:26
bt_mesh_aes_cmac_one()
return
bt_mesh_aes_cmac
(
prov_salt_key
,
sg
,
ARRAY_SIZE
(
sg
)
,
prov_salt
)
;
crypto.h:122
bt_mesh_prov_salt()
return
bt_mesh_aes_cmac
(
key
,
sg
,
sg_len
,
mac
)
;
ext.c:521
bt_mesh_ext_aes_cmac()
Call Tree
from
examples
bt_mesh_aes_cmac()
is called by 5 functions and calls 10 functions:
bt_mesh_k2()
bt_mesh_prov_conf()
bt_mesh_aes_cmac_one()
bt_mesh_prov_salt()
bt_mesh_ext_aes_cmac()
All items filtered out
bt_mesh_aes_cmac()
tc_cmac_update()
tc_cmac_final()
tc_cmac_setup()
mbedtls_cipher_info_from_type()
mbedtls_cipher_init()
mbedtls_cipher_free()
mbedtls_cipher_setup()
mbedtls_cipher_cmac_starts()
mbedtls_cipher_cmac_update()
mbedtls_cipher_cmac_finish()
All items filtered out
Data Use
from
examples
bt_mesh_aes_cmac()
reads 3 variables:
bt_mesh_sg::data
bt_mesh_sg::len
mbedtls_cipher_type_t::MBEDTLS_CIPHER_AES_128_ECB
All items filtered out
bt_mesh_aes_cmac()
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