Minor documentation improvements

Signed-off-by: Gilles Peskine <Gilles.Peskine@arm.com>
This commit is contained in:
Gilles Peskine 2021-01-04 21:00:53 +01:00
parent b3cd9633f4
commit 88fa5c463e
2 changed files with 2 additions and 2 deletions

View File

@ -82,7 +82,7 @@ static inline int mbedtls_key_owner_id_equal( mbedtls_key_owner_id_t id1,
#endif /* MBEDTLS_PSA_CRYPTO_KEY_ID_ENCODES_OWNER */ #endif /* MBEDTLS_PSA_CRYPTO_KEY_ID_ENCODES_OWNER */
#if defined(MBEDTLS_PSA_CRYPTO_EXTERNAL_RNG) #if defined(MBEDTLS_PSA_CRYPTO_EXTERNAL_RNG)
/** The type of contexts passed to mbedtls_psa_external_get_random(). /** The type of the context passed to mbedtls_psa_external_get_random().
* *
* Mbed TLS initializes the context to all-bits-zero before calling * Mbed TLS initializes the context to all-bits-zero before calling
* mbedtls_psa_external_get_random() for the first time. * mbedtls_psa_external_get_random() for the first time.

View File

@ -167,7 +167,7 @@ extern mbedtls_psa_drbg_context_t *const mbedtls_psa_random_state;
/** A pointer to the PSA DRBG state. /** A pointer to the PSA DRBG state.
* *
* This macro expnds to an expression that is suitable as the \c p_rng * This macro expands to an expression that is suitable as the \c p_rng
* parameter to pass to mbedtls_psa_get_random(). * parameter to pass to mbedtls_psa_get_random().
* *
* This macro exists in all configurations where the psa_crypto module is * This macro exists in all configurations where the psa_crypto module is