return 1;
}
-int compute_subkeys(u8 *key0,u8 **subkey) {
+int compute_subkeys(u8 *key0,u8 subkey[DES_SUBKEYS][DES_SUBKEY_LEN/8]) {
int i;
u8 key0_56[DES_INITIAL_KEY_LEN/8];
/* initial permutation of key */
return 1;
}
-int progress_data(u8 *data,u8 *crypted,u8 **subkey,u8 mode) {
+int progress_data(u8 *data,u8 *crypted,u8 subkey[DES_SUBKEYS][DES_SUBKEY_LEN/8],u8 mode) {
int i,j;
u8 permuted_data[DES_DATA_BLOCK_LEN/8];
u8 left[DES_DATA_BLOCK_LEN/(2*8)];