mirror of
https://github.com/yuzu-emu/mbedtls.git
synced 2024-11-26 04:05:44 +01:00
Improve ECP documentation
This commit is contained in:
parent
12dff0352b
commit
5edcfa529f
@ -621,7 +621,7 @@ int mbedtls_ecp_point_read_string( mbedtls_ecp_point *P, int radix,
|
|||||||
* \param format The point format. This must be either
|
* \param format The point format. This must be either
|
||||||
* #MBEDTLS_ECP_PF_COMPRESSED or #MBEDTLS_ECP_PF_UNCOMPRESSED.
|
* #MBEDTLS_ECP_PF_COMPRESSED or #MBEDTLS_ECP_PF_UNCOMPRESSED.
|
||||||
* \param olen The address at which to store the length of
|
* \param olen The address at which to store the length of
|
||||||
* the output in Bytes.
|
* the output in Bytes. This must not be \c NULL.
|
||||||
* \param buf The output buffer. This must be a writable buffer
|
* \param buf The output buffer. This must be a writable buffer
|
||||||
* of length \p buflen Bytes.
|
* of length \p buflen Bytes.
|
||||||
* \param buflen The length of the output buffer \p buf in Bytes.
|
* \param buflen The length of the output buffer \p buf in Bytes.
|
||||||
@ -793,7 +793,7 @@ int mbedtls_ecp_tls_write_group( const mbedtls_ecp_group *grp,
|
|||||||
unsigned char *buf, size_t blen );
|
unsigned char *buf, size_t blen );
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* \brief This function performs a scalaar multiplication of a point
|
* \brief This function performs a scalar multiplication of a point
|
||||||
* by an integer: \p R = \p m * \p P.
|
* by an integer: \p R = \p m * \p P.
|
||||||
*
|
*
|
||||||
* It is not thread-safe to use same group in multiple threads.
|
* It is not thread-safe to use same group in multiple threads.
|
||||||
|
Loading…
Reference in New Issue
Block a user