ESP-IDF
hmac_sha256()
is only used within ESP-IDF.
Symbol previews are coming soon...
Symbols
loading (4/5)...
Files
loading (4/5)...
Summary
Syntax
Arguments
Examples
References
Call Tree
Data Use
Class Tree
Override Tree
Implementations
Instances
Lifecycle
SourceVu
ESP-IDF Framework and Examples
ESP-IDF
hmac_sha256()
hmac_sha256() function
Syntax
Show:
Summary
Declaration
Definition
from
sha256.h:16
int
hmac_sha256
(
const
u8
*
key
,
size_t
key_len
,
const
u8
*
data
,
size_t
data_len
,
u8
*
mac
)
;
Implemented in
crypto_mbedtls.c:346
Arguments
Argument
key
key_len
data
data_len
mac
Examples
References
from
examples
Code
Location
Referrer
int
hmac_sha256
(
const
u8
*
key
,
size_t
key_len
,
const
u8
*
data
,
crypto_mbedtls.c:346
int
hmac_sha256
(
const
u8
*
key
,
size_t
key_len
,
const
u8
*
data
,
sha256.h:16
if
(
hmac_sha256
(
comeback_key
,
COMEBACK_KEY_SIZE
,
comeback_token.c:24
comeback_token_hash()
return
hmac_sha256
(
key
,
key_len
,
data
,
data_len
,
mac
)
;
dpp_crypto.c:148
dpp_hmac()
hmac_sha256
(
secret
,
secret_len
,
A
,
SHA256_MAC_LEN
,
A
)
<
0
)
sha256-tlsprf.c:60
tls_prf_sha256()
res
=
hmac_sha256
(
wpabuf_head
(
hkey
)
,
wpabuf_len
(
hkey
)
,
wpabuf_head
(
sh_secret
)
,
wpabuf_len
(
sh_secret
)
,
prk
)
;
wpa.c:2957
owe_process_assoc_resp()
if
(
hmac_sha256
(
key
,
key_len
,
buf
,
len
,
hash
)
)
wpa_common.c:936
wpa_eapol_key_mic()
if
(
hmac_sha256
(
key
,
key_len
,
buf
,
len
,
hash
)
)
wpa_common.c:967
wpa_eapol_key_mic()
if
(
hmac_sha256
(
key
,
key_len
,
buf
,
len
,
hash
)
)
wpa_common.c:984
wpa_eapol_key_mic()
if
(
hmac_sha256
(
wps
->
authkey
,
WPS_AUTHKEY_LEN
,
wpabuf_head
(
msg
)
,
wps_attr_build.c:388
wps_build_key_wrap_auth()
if
(
hmac_sha256
(
wps
->
authkey
,
WPS_AUTHKEY_LEN
,
head
,
len
,
hash
)
<
0
||
wps_attr_process.c:74
wps_process_key_wrap_auth()
if
(
hmac_sha256
(
wps
->
authkey
,
WPS_AUTHKEY_LEN
,
dev_passwd
,
wps_common.c:143
wps_derive_psk()
if
(
hmac_sha256
(
wps
->
authkey
,
WPS_AUTHKEY_LEN
,
wps_common.c:147
wps_derive_psk()
Call Tree
from
examples
hmac_sha256()
is called by 8 functions and calls 1 function:
comeback_token_hash()
wpa_eapol_key_mic()
tls_prf_sha256()
owe_process_assoc_resp()
wps_build_key_wrap_auth()
wps_process_key_wrap_auth()
wps_derive_psk()
dpp_hmac()
All items filtered out
hmac_sha256()
hmac_sha256_vector()
All items filtered out
Data Use
from
examples
hmac_sha256()
:
All items filtered out
hmac_sha256()
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