summaryrefslogtreecommitdiff
path: root/yarrow256.c
diff options
context:
space:
mode:
authorNiels Möller <nisse@lysator.liu.se>2002-02-14 00:15:48 +0100
committerNiels Möller <nisse@lysator.liu.se>2002-02-14 00:15:48 +0100
commit9217ac1c29e38a6352c2ada6517d4513b8e11d9a (patch)
treee5054515498e3084dda9f2f68195d6bc8d46b84b /yarrow256.c
parenta1c08e8f7d3278146720b3a9712057346c38b82d (diff)
downloadnettle-9217ac1c29e38a6352c2ada6517d4513b8e11d9a.tar.gz
Replaced uses of aes_set_key with
aes_set_encrypt_key. Rev: src/nettle/yarrow256.c:1.16
Diffstat (limited to 'yarrow256.c')
-rw-r--r--yarrow256.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/yarrow256.c b/yarrow256.c
index 4910049a..6a275d69 100644
--- a/yarrow256.c
+++ b/yarrow256.c
@@ -195,7 +195,7 @@ yarrow_fast_reseed(struct yarrow256_ctx *ctx)
/* Iterate */
yarrow_iterate(digest);
- aes_set_key(&ctx->key, sizeof(digest), digest);
+ aes_set_encrypt_key(&ctx->key, sizeof(digest), digest);
/* Derive new counter value */
memset(ctx->counter, 0, sizeof(ctx->counter));
@@ -332,7 +332,7 @@ yarrow_gate(struct yarrow256_ctx *ctx)
for (i = 0; i < sizeof(key); i+= AES_BLOCK_SIZE)
yarrow_generate_block(ctx, key + i);
- aes_set_key(&ctx->key, sizeof(key), key);
+ aes_set_encrypt_key(&ctx->key, sizeof(key), key);
}
void