Gilles Peskine 8814fc4a34 Make mbedtls_psa_get_random more usable outside psa_crypto.c
In the external RNG case, don't make mbedtls_psa_get_random() a
static inline function: this would likely result in identical
instances of this function in every module that uses it. Instead, make
it a single function with external linkage.

In the non-external case, instead of a trivial wrapper function, make
mbedtls_psa_get_random a constant pointer to whichever DRBG function
is being used.

Signed-off-by: Gilles Peskine <Gilles.Peskine@arm.com>
2020-12-14 15:33:44 +01:00
..
2020-11-16 15:02:16 +01:00
2020-08-21 21:08:56 +02:00
2020-08-21 21:08:56 +02:00
2020-08-21 21:08:56 +02:00
2020-09-22 11:57:16 +02:00
2020-11-20 13:57:15 +01:00
2020-08-21 21:08:56 +02:00
2020-09-25 08:43:57 -05:00
2020-08-21 21:08:56 +02:00
2020-09-01 11:04:53 +02:00