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