1
0
mirror of https://github.com/Mbed-TLS/mbedtls.git synced 2025-08-08 17:42:09 +03:00

Update the documentation of mbedtls_psa_ecp_load_representation

Document the new curve_bits parameter.

Signed-off-by: Gilles Peskine <Gilles.Peskine@arm.com>
This commit is contained in:
Gilles Peskine
2021-02-08 18:39:18 +01:00
parent 2fa6b5f503
commit d88ccaef23
2 changed files with 10 additions and 2 deletions

View File

@@ -80,10 +80,10 @@ psa_status_t mbedtls_psa_ecp_load_representation(
curve_bytes = data_length / 2;
/* Montgomery public keys are represented in compressed format, meaning
* their curve_size is equal to the amount of input. */
* their curve_bytes is equal to the amount of input. */
/* Private keys are represented in uncompressed private random integer
* format, meaning their curve_size is equal to the amount of input. */
* format, meaning their curve_bytes is equal to the amount of input. */
}
if( explicit_bits )