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