Commit f8ad54fa authored by Niels Möller's avatar Niels Möller

Use const for _nettle_write_* source argument.

parent 07a34323
2016-10-10 Niels Möller <nisse@lysator.liu.se>
* write-be32.c (_nettle_write_be32): Use const for source argument.
* write-le32.c (_nettle_write_le32): Likewise.
* write-le64.c (_nettle_write_le64): Likewise.
* nettle-write.h: Update prototypes.
2016-10-01 Niels Möller <nisse@lysator.liu.se>
* Released nettle-3.3.
......
......@@ -46,13 +46,13 @@
/* FIXME: Use a macro shortcut to memcpy for native endianness. */
void
_nettle_write_be32(size_t length, uint8_t *dst,
uint32_t *src);
const uint32_t *src);
void
_nettle_write_le32(size_t length, uint8_t *dst,
uint32_t *src);
const uint32_t *src);
void
_nettle_write_le64(size_t length, uint8_t *dst,
uint64_t *src);
const uint64_t *src);
#endif /* NETTLE_WRITE_H_INCLUDED */
......@@ -41,7 +41,7 @@
void
_nettle_write_be32(size_t length, uint8_t *dst,
uint32_t *src)
const uint32_t *src)
{
size_t i;
size_t words;
......
......@@ -41,7 +41,7 @@
void
_nettle_write_le32(size_t length, uint8_t *dst,
uint32_t *src)
const uint32_t *src)
{
size_t i;
size_t words;
......
......@@ -39,7 +39,7 @@
void
_nettle_write_le64(size_t length, uint8_t *dst,
uint64_t *src)
const uint64_t *src)
{
size_t i;
size_t words;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment