mbedTLS
CHK
is only used within mbedTLS.
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
mbedTLS
CHK
CHK macro
Syntax
Show:
Summary
Declaration
from
ctr_drbg.c:937
#define
CHK
(
c
)
if
(
(
c
)
!=
0
)
\
{
\
if
(
verbose
!=
0
)
\
mbedtls_printf
(
"failed\n"
)
;
\
return
1
;
\
}
Arguments
Argument
c
Examples
References
from
examples
Code
Location
#define
CHK
(
c
)
if
(
(
c
)
!=
0
)
\
ctr_drbg.c:937
#define
CHK
(
c
)
if
(
(
c
)
!=
0
)
\
hmac_drbg.c:558
CHK
(
mbedtls_ctr_drbg_seed
(
&
ctx
,
ctr_drbg.c:966
CHK
(
mbedtls_ctr_drbg_random
(
&
ctx
,
buf
,
SELF_TEST_OUTPUT_DISCARD_LENGTH
)
)
;
ctr_drbg.c:971
CHK
(
mbedtls_ctr_drbg_random
(
&
ctx
,
buf
,
sizeof
(
result_pr
)
)
)
;
ctr_drbg.c:972
CHK
(
memcmp
(
buf
,
result_pr
,
sizeof
(
result_pr
)
)
)
;
ctr_drbg.c:973
CHK
(
mbedtls_ctr_drbg_seed
(
&
ctx
,
ctr_drbg.c:993
CHK
(
mbedtls_ctr_drbg_reseed
(
&
ctx
,
NULL
,
0
)
)
;
ctr_drbg.c:997
CHK
(
mbedtls_ctr_drbg_random
(
&
ctx
,
buf
,
SELF_TEST_OUTPUT_DISCARD_LENGTH
)
)
;
ctr_drbg.c:998
CHK
(
mbedtls_ctr_drbg_random
(
&
ctx
,
buf
,
sizeof
(
result_nopr
)
)
)
;
ctr_drbg.c:999
CHK
(
memcmp
(
buf
,
result_nopr
,
sizeof
(
result_nopr
)
)
)
;
ctr_drbg.c:1000
CHK
(
mbedtls_hmac_drbg_seed
(
&
ctx
,
md_info
,
hmac_drbg.c:584
CHK
(
mbedtls_hmac_drbg_random
(
&
ctx
,
buf
,
OUTPUT_LEN
)
)
;
hmac_drbg.c:588
CHK
(
mbedtls_hmac_drbg_random
(
&
ctx
,
buf
,
OUTPUT_LEN
)
)
;
hmac_drbg.c:589
CHK
(
memcmp
(
buf
,
result_pr
,
OUTPUT_LEN
)
)
;
hmac_drbg.c:590
CHK
(
mbedtls_hmac_drbg_seed
(
&
ctx
,
md_info
,
hmac_drbg.c:609
CHK
(
mbedtls_hmac_drbg_reseed
(
&
ctx
,
NULL
,
0
)
)
;
hmac_drbg.c:612
CHK
(
mbedtls_hmac_drbg_random
(
&
ctx
,
buf
,
OUTPUT_LEN
)
)
;
hmac_drbg.c:613
CHK
(
mbedtls_hmac_drbg_random
(
&
ctx
,
buf
,
OUTPUT_LEN
)
)
;
hmac_drbg.c:614
CHK
(
memcmp
(
buf
,
result_nopr
,
OUTPUT_LEN
)
)
;
hmac_drbg.c:615
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