sys_mbedtls.h

Include dependency graph for sys_mbedtls.h:

digraph {
    graph [bgcolor="#00000000"]
    node [shape=rectangle style=filled fillcolor="#FFFFFF" font=Helvetica padding=2]
    edge [color="#1414CE"]
    "2" [label="mbedtls/ctr_drbg.h" tooltip="mbedtls/ctr_drbg.h"]
    "1" [label="/home/runner/work/AtomVM/AtomVM/src/libAtomVM/sys_mbedtls.h" tooltip="/home/runner/work/AtomVM/AtomVM/src/libAtomVM/sys_mbedtls.h" fillcolor="#BFBFBF"]
    "3" [label="mbedtls/entropy.h" tooltip="mbedtls/entropy.h"]
    "1" -> "2" [dir=forward tooltip="include"]
    "1" -> "3" [dir=forward tooltip="include"]
}

This graph shows which files directly or indirectly include sys_mbedtls.h:

digraph {
    graph [bgcolor="#00000000"]
    node [shape=rectangle style=filled fillcolor="#FFFFFF" font=Helvetica padding=2]
    edge [color="#1414CE"]
    "1" [label="/home/runner/work/AtomVM/AtomVM/src/libAtomVM/sys_mbedtls.h" tooltip="/home/runner/work/AtomVM/AtomVM/src/libAtomVM/sys_mbedtls.h" fillcolor="#BFBFBF"]
    "2" [label="/home/runner/work/AtomVM/AtomVM/src/libAtomVM/otp_crypto.c" tooltip="/home/runner/work/AtomVM/AtomVM/src/libAtomVM/otp_crypto.c"]
    "1" -> "2" [dir=back tooltip="include"]
}

Functions

mbedtls_entropy_context *sys_mbedtls_get_entropy_context_lock(GlobalContext *global)
void sys_mbedtls_entropy_context_unlock(GlobalContext *global)
int sys_mbedtls_entropy_func(void *entropy, unsigned char *buf, size_t size)
mbedtls_ctr_drbg_context *sys_mbedtls_get_ctr_drbg_context_lock(GlobalContext *global)
void sys_mbedtls_ctr_drbg_context_unlock(GlobalContext *global)

Warning

do not call this function when already owning the entropy context