void DES_decrypt3(DES_LONG *data, DES_key_schedule *ks1, DES_key_schedule *ks2, DES_key_schedule *ks3) { register DES_LONG l, r; l = data[0]; r = data[1]; IP(l, r); data[0] = l; data[1] = r; DES_encrypt2((DES_LONG *)data, ks3, DES_DECRYPT); DES_encrypt2((DES_LONG *)data, ks2, DES_ENCRYPT); DES_encrypt2((DES_LONG *)data, ks1, DES_DECRYPT); l = data[0]; r = data[1]; FP(r, l); data[0] = l; data[1] = r; }
void _ossl_old_des_encrypt2(DES_LONG *data,des_key_schedule ks, int enc) { DES_encrypt2(data, (DES_key_schedule *)ks, enc); }