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); +}