mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-03-30 16:20:11 +00:00
pk: fix typos in description of mbedtls_pk_ec_[ro/rw]
Signed-off-by: Valerio Setti <valerio.setti@nordicsemi.no>
This commit is contained in:
parent
b1c0afe484
commit
4ac9d44d83
@ -30,11 +30,11 @@
|
||||
#if defined(MBEDTLS_ECP_LIGHT)
|
||||
/**
|
||||
* Public function mbedtls_pk_ec() can be used to get direct access to the
|
||||
* wrapped ecp_keypair strucure pointed to the pk_ctx. However this is not
|
||||
* ideal because it bypasses the PK module on the control of its internal's
|
||||
* wrapped ecp_keypair structure pointed to the pk_ctx. However this is not
|
||||
* ideal because it bypasses the PK module on the control of its internal
|
||||
* structure (pk_context) fields.
|
||||
* For backward compatibility we keep mbedtls_pk_ec() when ECP_C is defined, but
|
||||
* we provide 2 very similar function when only ECP_LIGHT is enabled and not
|
||||
* we provide 2 very similar functions when only ECP_LIGHT is enabled and not
|
||||
* ECP_C.
|
||||
* These variants embed the "ro" or "rw" keywords in their name to make the
|
||||
* usage of the returned pointer explicit. Of course the returned value is
|
||||
|
Loading…
x
Reference in New Issue
Block a user