mirror of
https://git.suyu.dev/suyu/mbedtls.git
synced 2025-12-24 00:06:32 +01:00
Fix ecp_tls_write_point's signature
This commit is contained in:
parent
b325887fad
commit
420f1eb675
3 changed files with 31 additions and 16 deletions
|
|
@ -255,7 +255,7 @@ int ecp_group_read_string( ecp_group *grp, int radix,
|
|||
* or POLARSSL_ERR_ECP_BUFFER_TOO_SMALL
|
||||
*/
|
||||
int ecp_point_write_binary( const ecp_group *grp, const ecp_point *P,
|
||||
int format, uint8_t *olen,
|
||||
int format, size_t *olen,
|
||||
unsigned char *buf, size_t buflen );
|
||||
|
||||
/**
|
||||
|
|
@ -348,7 +348,8 @@ int ecp_tls_read_point( const ecp_group *grp, ecp_point *pt,
|
|||
* or POLARSSL_ERR_ECP_BUFFER_TOO_SMALL
|
||||
*/
|
||||
int ecp_tls_write_point( const ecp_group *grp, const ecp_point *pt,
|
||||
int format, unsigned char *buf, size_t buf_len );
|
||||
int format, size_t *olen,
|
||||
unsigned char *buf, size_t blen );
|
||||
|
||||
/**
|
||||
* \brief Addition: R = P + Q
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue