Fix typos

Signed-off-by: Dave Rodgman <dave.rodgman@arm.com>
This commit is contained in:
Dave Rodgman 2021-06-30 09:52:40 +01:00
parent b491b2b051
commit e4ec84631b

View File

@ -242,7 +242,7 @@ because the 3DES ciphersuites were disabled by that.
3DES has weaknesses/limitations and there are better alternatives, and more and
more standard bodies are recommending against its use in TLS.
The migration path here is to chose from the recommended in literature alternatives.
The migration path here is to choose from the recommended in literature alternatives.
### Deprecated error codes for hardware failures were removed
@ -389,7 +389,7 @@ original names of those functions. The renamed functions are:
To migrate to the this change the user can keep the `*_ret` names in their code
and include the `compat_2.x.h` header file which holds macros with proper
renaming or to rename those function in their code according to the list from
renaming or to rename those functions in their code according to the list from
mentioned header file.
### Signature functions now require the hash length to match the expected value
@ -432,7 +432,7 @@ To choose the padding type when initializing a context, instead of
mbedtls_rsa_init(ctx, padding, hash_id);
```
, use
use
```C
mbedtls_rsa_init(ctx);
@ -445,7 +445,7 @@ To use PKCS#1 v1.5 padding, instead of
mbedtls_rsa_init(ctx, MBEDTLS_RSA_PKCS_V15, <ignored>);
```
, just use
just use
```C
mbedtls_rsa_init(ctx);
@ -869,7 +869,7 @@ option MBEDTLS_SSL_RECORD_CHECKING was already on by default.
This option was added only to control compilation of one function,
mbedtls_ssl_check_record(), which is only useful in some specific cases, so it
was made optional to allow users who don't need it to save some code space.
However, the same effect can be achieve by using link-time garbage collection.
However, the same effect can be achieved by using link-time garbage collection.
Users who changed the default setting of the option need to change the config/
build system to remove that change.