Commit 249cfc9e authored by Niels Möller's avatar Niels Möller

(des_key_sched, des_is_weak_key): Use the name

nettle_des_set_key for referring to Nettle's function.

Rev: src/nettle/des-compat.c:1.8
parent f89eac73
......@@ -25,8 +25,6 @@
#include "des-compat.h"
#undef des_set_key
#include "cbc.h"
#include "macros.h"
#include "memxor.h"
......@@ -193,7 +191,7 @@ des_key_sched(des_cblock *key, des_key_schedule ctx)
/* Fix the parity */
des_set_odd_parity(key);
if (des_set_key(ctx, *key))
if (nettle_des_set_key(ctx, *key))
return 0;
else switch(ctx->status)
{
......@@ -221,5 +219,5 @@ des_is_weak_key(des_cblock *key)
{
struct des_ctx ctx;
return !des_set_key(&ctx, *key);
return !nettle_des_set_key(&ctx, *key);
}
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