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:
@@ -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 )
|
||||
|
Reference in New Issue
Block a user