d03ab969 |
1 | /* -*-c-*- |
2 | * |
326e5faf |
3 | * $Id: daftstory.h,v 1.2 1999/11/11 00:58:38 mdw Exp $ |
d03ab969 |
4 | * |
5 | * Daft story for use in test encryptions |
6 | * |
7 | * (c) 1999 Straylight/Edgeware |
8 | */ |
9 | |
10 | /*----- Licensing notice --------------------------------------------------* |
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. |
18 | * |
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. |
23 | * |
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 | |
30 | /*----- Revision history --------------------------------------------------* |
31 | * |
32 | * $Log: daftstory.h,v $ |
326e5faf |
33 | * Revision 1.2 1999/11/11 00:58:38 mdw |
34 | * Use fewer copies of the silly story to improve performance. |
35 | * |
d03ab969 |
36 | * Revision 1.1 1999/09/03 08:41:11 mdw |
37 | * Initial import. |
38 | * |
39 | */ |
40 | |
41 | #ifndef DAFTSTORY_H |
42 | #define DAFTSTORY_H |
43 | |
44 | #ifdef __cplusplus |
45 | extern "C" { |
46 | #endif |
47 | |
48 | /*----- Macros ------------------------------------------------------------*/ |
49 | |
50 | /* --- Don't ask --- */ |
51 | |
52 | #ifdef SMALL_TEST |
53 | # define TEXT "A small piece of text for testing encryption." |
54 | #else |
55 | # define STORY "\ |
56 | Once upon a time there were a beautiful princess, a slightly nutty wizard,\n\ |
57 | and a watermelon. Now, the watermelon had decided that it probably wasn't\n\ |
58 | going to get very far with the princess unless it did something pretty\n\ |
59 | drastic. So it asked the wizard to turn it into a handsome prince.\n\ |
60 | \n\ |
61 | At least, this is the way that the wizard viewed the situation. He might\n\ |
62 | have just hallucinated it all; those mushrooms had looked ever so nice.\n\ |
63 | \n\ |
64 | Back to the point. The watermelon had expressed its desire not to be a\n\ |
65 | watermelon any more. And the wizard was probably tripping something quite\n\ |
66 | powerful. He hunted around a bit for his staff, and mumbled something\n\ |
67 | that film directors would think of as sounding appropriately arcane and\n\ |
68 | mystical (but was, in fact, just the ingredients list for an ancient\n\ |
69 | remedy for athlete's foot) and *pop*. Cooked watermelon. Yuk.\n\ |
70 | \n\ |
71 | Later in the year, the princess tripped over the hem of her dress, fell\n\ |
72 | down a spiral staircase, and died. The king ordered dressmakers to attach\n\ |
73 | safety warnings to long dresses.\n\ |
74 | \n\ |
75 | And the wizard? Who cares?\n\ |
76 | " |
326e5faf |
77 | # define TEXT STORY STORY |
d03ab969 |
78 | #endif |
79 | |
80 | #define KEY "Penguins rule OK, rhubarb cauliflower" |
81 | #define IV "EdgewareCatacomb, parsley, sage, rosemary and thyme" |
82 | |
83 | /*----- That's all, folks -------------------------------------------------*/ |
84 | |
85 | #ifdef __cplusplus |
86 | } |
87 | #endif |
88 | |
89 | #endif |