Skip to content

Commit

Permalink
psa: Add PSA_DRIVER_GET_ENTROPY_BLOCK in temporary place
Browse files Browse the repository at this point in the history
For PSA crypto drivers, pull request Mbed-TLS#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 <francois.beerten@silexinsight.com>
Signed-off-by: Francois Beerten <fbeerten.git@b10eng.com>
  • Loading branch information
Francois Beerten committed Jun 6, 2022
1 parent 53da8d6 commit 0b0ec60
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions library/psa_crypto_driver_wrappers.h
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down

0 comments on commit 0b0ec60

Please sign in to comment.