d03ab969 |
1 | /* -*-c-*- |
d03ab969 |
2 | * |
3 | * Daft story for use in test encryptions |
4 | * |
5 | * (c) 1999 Straylight/Edgeware |
6 | */ |
7 | |
45c0fd36 |
8 | /*----- Licensing notice --------------------------------------------------* |
d03ab969 |
9 | * |
10 | * This file is part of Catacomb. |
11 | * |
12 | * Catacomb is free software; you can redistribute it and/or modify |
13 | * it under the terms of the GNU Library General Public License as |
14 | * published by the Free Software Foundation; either version 2 of the |
15 | * License, or (at your option) any later version. |
45c0fd36 |
16 | * |
d03ab969 |
17 | * Catacomb is distributed in the hope that it will be useful, |
18 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
19 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
20 | * GNU Library General Public License for more details. |
45c0fd36 |
21 | * |
d03ab969 |
22 | * You should have received a copy of the GNU Library General Public |
23 | * License along with Catacomb; if not, write to the Free |
24 | * Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, |
25 | * MA 02111-1307, USA. |
26 | */ |
27 | |
b3f05084 |
28 | #ifndef CATACOMB_DAFTSTORY_H |
29 | #define CATACOMB_DAFTSTORY_H |
d03ab969 |
30 | |
31 | #ifdef __cplusplus |
32 | extern "C" { |
33 | #endif |
34 | |
35 | /*----- Macros ------------------------------------------------------------*/ |
36 | |
37 | /* --- Don't ask --- */ |
38 | |
39 | #ifdef SMALL_TEST |
40 | # define TEXT "A small piece of text for testing encryption." |
41 | #else |
42 | # define STORY "\ |
43 | Once upon a time there were a beautiful princess, a slightly nutty wizard,\n\ |
44 | and a watermelon. Now, the watermelon had decided that it probably wasn't\n\ |
45 | going to get very far with the princess unless it did something pretty\n\ |
46 | drastic. So it asked the wizard to turn it into a handsome prince.\n\ |
47 | \n\ |
48 | At least, this is the way that the wizard viewed the situation. He might\n\ |
49 | have just hallucinated it all; those mushrooms had looked ever so nice.\n\ |
50 | \n\ |
51 | Back to the point. The watermelon had expressed its desire not to be a\n\ |
52 | watermelon any more. And the wizard was probably tripping something quite\n\ |
53 | powerful. He hunted around a bit for his staff, and mumbled something\n\ |
54 | that film directors would think of as sounding appropriately arcane and\n\ |
55 | mystical (but was, in fact, just the ingredients list for an ancient\n\ |
56 | remedy for athlete's foot) and *pop*. Cooked watermelon. Yuk.\n\ |
57 | \n\ |
58 | Later in the year, the princess tripped over the hem of her dress, fell\n\ |
59 | down a spiral staircase, and died. The king ordered dressmakers to attach\n\ |
60 | safety warnings to long dresses.\n\ |
61 | \n\ |
45c0fd36 |
62 | And the wizard? Who cares?\n\ |
d03ab969 |
63 | " |
326e5faf |
64 | # define TEXT STORY STORY |
d03ab969 |
65 | #endif |
66 | |
67 | #define KEY "Penguins rule OK, rhubarb cauliflower" |
68 | #define IV "EdgewareCatacomb, parsley, sage, rosemary and thyme" |
69 | |
70 | /*----- That's all, folks -------------------------------------------------*/ |
71 | |
72 | #ifdef __cplusplus |
73 | } |
74 | #endif |
75 | |
76 | #endif |