mbedTLS
mbedtls_cipher_context_t::cipher_ctx
is only used within mbedTLS.
Symbol previews are coming soon...
Symbols
loading...
Files
loading...
Summary
Syntax
Examples
References
Call Tree
Data Use
Class Tree
Override Tree
Implementations
Instances
Lifecycle
SourceVu
STM32 Libraries and Samples
mbedTLS
mbedtls_cipher_context_t::cipher_ctx
mbedtls_cipher_context_t::cipher_ctx field
The cipher-specific context.
Syntax
Show:
Summary
Declaration
from
cipher.h:319
void
*
cipher_ctx
;
Examples
References
from
examples
Code
Location
Referrer
void
*
cipher_ctx
;
cipher.h:319
if
(
ctx
->
cipher_ctx
)
cipher.c:176
mbedtls_cipher_free()
ctx
->
cipher_info
->
base
->
ctx_free_func
(
ctx
->
cipher_ctx
)
;
cipher.c:177
mbedtls_cipher_free()
if
(
NULL
==
(
ctx
->
cipher_ctx
=
cipher_info
->
base
->
ctx_alloc_func
(
)
)
)
cipher.c:190
mbedtls_cipher_setup()
return
(
ctx
->
cipher_info
->
base
->
setkey_enc_func
(
ctx
->
cipher_ctx
,
key
,
cipher.c:238
mbedtls_cipher_setkey()
return
(
ctx
->
cipher_info
->
base
->
setkey_dec_func
(
ctx
->
cipher_ctx
,
key
,
cipher.c:243
mbedtls_cipher_setkey()
return
(
mbedtls_gcm_starts
(
(
mbedtls_gcm_context
*
)
ctx
->
cipher_ctx
,
ctx
->
operation
,
cipher.c:319
mbedtls_cipher_update_ad()
if
(
0
!=
(
ret
=
ctx
->
cipher_info
->
base
->
ecb_func
(
ctx
->
cipher_ctx
,
cipher.c:372
mbedtls_cipher_update()
return
(
mbedtls_gcm_update
(
(
mbedtls_gcm_context
*
)
ctx
->
cipher_ctx
,
ilen
,
input
,
cipher.c:385
mbedtls_cipher_update()
return
(
mbedtls_gcm_finish
(
(
mbedtls_gcm_context
*
)
ctx
->
cipher_ctx
,
cipher.c:916
mbedtls_cipher_write_tag()
if
(
0
!=
(
ret
=
mbedtls_gcm_finish
(
(
mbedtls_gcm_context
*
)
ctx
->
cipher_ctx
,
cipher.c:957
mbedtls_cipher_check_tag()
return
(
mbedtls_gcm_crypt_and_tag
(
ctx
->
cipher_ctx
,
MBEDTLS_GCM_ENCRYPT
,
ilen
,
cipher.c:1054
mbedtls_cipher_auth_encrypt()
ret
=
mbedtls_gcm_auth_decrypt
(
ctx
->
cipher_ctx
,
ilen
,
cipher.c:1111
mbedtls_cipher_auth_decrypt()
Call Tree
from
examples
All items filtered out
All items filtered out
Data Use
from
examples
mbedtls_cipher_context_t::cipher_ctx
is written by 1 function and is read by 8 functions:
mbedtls_cipher_setup()
All items filtered out
mbedtls_cipher_context_t::cipher_ctx
mbedtls_cipher_free()
mbedtls_cipher_setkey()
mbedtls_cipher_update_ad()
mbedtls_cipher_update()
mbedtls_cipher_write_tag()
mbedtls_cipher_check_tag()
mbedtls_cipher_auth_encrypt()
mbedtls_cipher_auth_decrypt()
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