From 4212766ddf1d223a8fb9196c540401a72d1c0209 Mon Sep 17 00:00:00 2001 From: Assar Westerlund Date: Sat, 21 Oct 1995 12:00:17 +0000 Subject: [PATCH] Initial revision git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@168 ec53bebd-3082-4978-b11e-865c3cabbd6b --- lib/des/key_par.c | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 lib/des/key_par.c diff --git a/lib/des/key_par.c b/lib/des/key_par.c new file mode 100644 index 000000000..6004fc622 --- /dev/null +++ b/lib/des/key_par.c @@ -0,0 +1,13 @@ +#include "des_locl.h" + +/* MIT Link and source compatibility */ + +#ifdef des_fixup_key_parity +#undef des_fixup_key_parity +#endif des_fixup_key_parity + +void +des_fixup_key_parity(des_cblock *key) +{ + des_set_odd_parity(key); +}