Hi,
PSA driver interface specification talks about "add_entropy" entry point. Snippet pasted below.A driver can declare an entropy source by providing a "get_entropy" entry point. This entry point has the following prototype for a driver with the prefix "acme":
psa_status_t acme_get_entropy(uint32_t flags,
size_t *estimate_bits,
uint8_t *output,
size_t output_size);However, in the current implementation of MbedTLS 3.x I don't see this implemented . With the psa_crypto-init() what I observe is that if the platform enables MBEDTLS_ENTROPY_HARDWARE_ALT then using " mbedtls_hardware_poll(), the entropy source can be provided.
Can you please confirm if this observation is correct and also let us know if the <driver>_get_entropy() is planned to be implemented in near future ?
Regards,
Ruchika