diff --git a/include/psa/crypto_platform.h b/include/psa/crypto_platform.h index 17ebd70e7b..8acf22c7f3 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 8c745dae26..07e1d10311 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