mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-06-06 11:40:59 +03:00
Make input parameter const
Signed-off-by: Gilles Peskine <Gilles.Peskine@arm.com>
This commit is contained in:
parent
28e9d86cbc
commit
39b7bba8a0
@ -1368,7 +1368,7 @@ int mbedtls_ecp_write_key(mbedtls_ecp_keypair *key,
|
|||||||
* or the export for the given group is not implemented.
|
* or the export for the given group is not implemented.
|
||||||
* \return Another negative error code on other kinds of failure.
|
* \return Another negative error code on other kinds of failure.
|
||||||
*/
|
*/
|
||||||
int mbedtls_ecp_write_public_key(mbedtls_ecp_keypair *key,
|
int mbedtls_ecp_write_public_key(const mbedtls_ecp_keypair *key,
|
||||||
int format, size_t *olen,
|
int format, size_t *olen,
|
||||||
unsigned char *buf, size_t buflen);
|
unsigned char *buf, size_t buflen);
|
||||||
|
|
||||||
|
@ -3336,7 +3336,7 @@ cleanup:
|
|||||||
/*
|
/*
|
||||||
* Write a public key.
|
* Write a public key.
|
||||||
*/
|
*/
|
||||||
int mbedtls_ecp_write_public_key(mbedtls_ecp_keypair *key,
|
int mbedtls_ecp_write_public_key(const mbedtls_ecp_keypair *key,
|
||||||
int format, size_t *olen,
|
int format, size_t *olen,
|
||||||
unsigned char *buf, size_t buflen)
|
unsigned char *buf, size_t buflen)
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user