Home
last modified time | relevance | path

Searched refs:CC312_pMbedtlsEntropy (Results 1 – 2 of 2) sorted by relevance

/trusted-firmware-m-latest/lib/ext/cryptocell-312-runtime/codesafe/src/psa_driver_api/src/
Dcc3xx_psa_init.c39 static mbedtls_entropy_context *CC312_pMbedtlsEntropy = NULL; variable
61 CC312_pMbedtlsEntropy = mbedtls_calloc(1, sizeof(mbedtls_entropy_context)); in cc3xx_init()
65 || !CC312_pRndState || !CC312_pMbedtlsEntropy) { in cc3xx_init()
69 mbedtls_free(CC312_pMbedtlsEntropy); in cc3xx_init()
76 CC312_pRndCtx->entropyCtx = CC312_pMbedtlsEntropy; in cc3xx_init()
84 mbedtls_free(CC312_pMbedtlsEntropy); in cc3xx_init()
104 mbedtls_free(CC312_pMbedtlsEntropy); in cc3xx_free()
/trusted-firmware-m-latest/platform/ext/accelerator/cc312/
Dcc312.c31 static mbedtls_entropy_context *CC312_pMbedtlsEntropy = NULL; variable
66 CC312_pMbedtlsEntropy = mbedtls_calloc(1, sizeof(mbedtls_entropy_context)); in crypto_hw_accelerator_init()
70 || !CC312_pRndState || !CC312_pMbedtlsEntropy) { in crypto_hw_accelerator_init()
74 mbedtls_free(CC312_pMbedtlsEntropy); in crypto_hw_accelerator_init()
81 CC312_pRndCtx->entropyCtx = CC312_pMbedtlsEntropy; in crypto_hw_accelerator_init()
89 mbedtls_free(CC312_pMbedtlsEntropy); in crypto_hw_accelerator_init()
112 mbedtls_free(CC312_pMbedtlsEntropy); in crypto_hw_accelerator_finish()