07-09-2016, 01:17 AM
(07-05-2016, 08:56 AM)atom Wrote: In DES, for decrypt, you just access the sboxes in reverse. See http://www.scs.stanford.edu/histar/src/p...rypt/des.c how it handles de_keysl[] and en_keysl[]
Winner winner chicken diner!
I was not aware of the reverse S boxes part. I've implemented '_des_decrypt_keysetup' with reverse filling of the Kc and Kd arrays and works like a charm.
Thanks for your reply!
John