From 0b0ec602706f023668b325be333a8c35c2994623 Mon Sep 17 00:00:00 2001 From: Francois Beerten Date: Wed, 1 Jun 2022 10:40:41 +0200 Subject: [PATCH] psa: Add PSA_DRIVER_GET_ENTROPY_BLOCK in temporary place MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit For PSA crypto drivers, pull request #5464 will add PSA_DRIVER_GET_ENTROPY_BLOCK in a header in include/psa. To be able to build and test, it's temporarily added in the internal header file for PSA driver wrapper. Signed-off-by: François Beerten Signed-off-by: Francois Beerten --- library/psa_crypto_driver_wrappers.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/library/psa_crypto_driver_wrappers.h b/library/psa_crypto_driver_wrappers.h index 3cddd4aa485..323bb07a54a 100644 --- a/library/psa_crypto_driver_wrappers.h +++ b/library/psa_crypto_driver_wrappers.h @@ -373,6 +373,8 @@ struct psa_entropy_acc { #endif }; +#define PSA_DRIVER_GET_ENTROPY_BLOCK 1 + int mbedtls_accumulate_psa_entropy(struct psa_entropy_acc *acc, size_t estimate_bits, uint8_t *p);