From 88fa5c463e916724b052657fdbc04fb208ea1060 Mon Sep 17 00:00:00 2001 From: Gilles Peskine Date: Mon, 4 Jan 2021 21:00:53 +0100 Subject: [PATCH] Minor documentation improvements Signed-off-by: Gilles Peskine --- include/psa/crypto_platform.h | 2 +- library/psa_crypto_random_impl.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/include/psa/crypto_platform.h b/include/psa/crypto_platform.h index 17ebd70e7..8acf22c7f 100644 --- a/include/psa/crypto_platform.h +++ b/include/psa/crypto_platform.h @@ -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 */ #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 * mbedtls_psa_external_get_random() for the first time. diff --git a/library/psa_crypto_random_impl.h b/library/psa_crypto_random_impl.h index 8c745dae2..07e1d1031 100644 --- a/library/psa_crypto_random_impl.h +++ b/library/psa_crypto_random_impl.h @@ -167,7 +167,7 @@ extern mbedtls_psa_drbg_context_t *const mbedtls_psa_random_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(). * * This macro exists in all configurations where the psa_crypto module is