Skip to content
Snippets Groups Projects
Commit 440a2580 authored by Niels Möller's avatar Niels Möller
Browse files

(yarrow256_seed): Use const for the seed_file input.

Rev: src/nettle/ChangeLog:1.215
Rev: src/nettle/yarrow.h:1.11
Rev: src/nettle/yarrow256.c:1.18
parent 23226b5d
Branches
Tags
No related merge requests found
2003-11-16 Niels Mller <nisse@harpo.hack.org>
* yarrow256.c (yarrow256_seed): Use const for the seed_file input.
2003-11-12 Niels Mller <niels@s3.kth.se> 2003-11-12 Niels Mller <niels@s3.kth.se>
* list-obj-sizes.awk: New function for decoding hex values, with a * list-obj-sizes.awk: New function for decoding hex values, with a
......
...@@ -81,7 +81,7 @@ yarrow256_init(struct yarrow256_ctx *ctx, ...@@ -81,7 +81,7 @@ yarrow256_init(struct yarrow256_ctx *ctx,
void void
yarrow256_seed(struct yarrow256_ctx *ctx, yarrow256_seed(struct yarrow256_ctx *ctx,
unsigned length, unsigned length,
uint8_t *seed_file); const uint8_t *seed_file);
/* Returns 1 on reseed */ /* Returns 1 on reseed */
int int
......
...@@ -107,7 +107,7 @@ yarrow256_init(struct yarrow256_ctx *ctx, ...@@ -107,7 +107,7 @@ yarrow256_init(struct yarrow256_ctx *ctx,
void void
yarrow256_seed(struct yarrow256_ctx *ctx, yarrow256_seed(struct yarrow256_ctx *ctx,
unsigned length, unsigned length,
uint8_t *seed_file) const uint8_t *seed_file)
{ {
/* FIXME: Perhaps it's better to use assert ? */ /* FIXME: Perhaps it's better to use assert ? */
if (!length) if (!length)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment