Christian Heimes | 4a0270d | 2012-10-06 02:23:36 +0200 | [diff] [blame] | 1 | /* |
| 2 | The Keccak sponge function, designed by Guido Bertoni, Joan Daemen, |
| 3 | Michaƫl Peeters and Gilles Van Assche. For more information, feedback or |
| 4 | questions, please refer to our website: http://keccak.noekeon.org/ |
| 5 | |
| 6 | Implementation by the designers, |
| 7 | hereby denoted as "the implementer". |
| 8 | |
| 9 | To the extent possible under law, the implementer has waived all copyright |
| 10 | and related or neighboring rights to the source code in this file. |
| 11 | http://creativecommons.org/publicdomain/zero/1.0/ |
| 12 | */ |
| 13 | |
| 14 | #ifdef UseSchedule |
| 15 | #if (UseSchedule == 1) |
| 16 | #include "KeccakF-1600-32-s1.macros" |
| 17 | #elif (UseSchedule == 2) |
| 18 | #include "KeccakF-1600-32-s2.macros" |
| 19 | #elif (UseSchedule == 3) |
| 20 | #include "KeccakF-1600-32-rvk.macros" |
| 21 | #else |
| 22 | #error "This schedule is not supported." |
| 23 | #endif |
| 24 | #else |
| 25 | #include "KeccakF-1600-32-s1.macros" |
| 26 | #endif |