1 /* FFdecsa -- fast decsa algorithm
3 * Copyright (C) 2007 Dark Avenger
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License as published by
8 * the Free Software Foundation; either version 2 of the License, or
9 * (at your option) any later version.
11 * This program is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 * GNU General Public License for more details.
16 * You should have received a copy of the GNU General Public License
17 * along with this program; if not, write to the Free Software
18 * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
21 #include "parallel_std_def.h"
23 typedef unsigned long long group
;
24 #define GROUP_PARALLELISM 64
26 #define FF1() 0xffffffffffffffffULL
28 typedef unsigned long long batch
;
29 #define BYTES_PER_BATCH 8
30 #define B_FFN_ALL_29() 0x2929292929292929ULL
31 #define B_FFN_ALL_02() 0x0202020202020202ULL
32 #define B_FFN_ALL_04() 0x0404040404040404ULL
33 #define B_FFN_ALL_10() 0x1010101010101010ULL
34 #define B_FFN_ALL_40() 0x4040404040404040ULL
35 #define B_FFN_ALL_80() 0x8080808080808080ULL