1 /*- 2 * Copyright (c) 1991 The Regents of the University of California. 3 * All rights reserved. 4 * 5 * %sccs.include.redist.c% 6 * 7 * @(#)key-proto.h 5.1 (Berkeley) 02/28/91 8 */ 9 10 /* 11 * Copyright (C) 1990 by the Massachusetts Institute of Technology 12 * 13 * Export of this software from the United States of America is assumed 14 * to require a specific license from the United States Government. 15 * It is the responsibility of any person or organization contemplating 16 * export to obtain such a license before exporting. 17 * 18 * WITHIN THAT CONSTRAINT, permission to use, copy, modify, and 19 * distribute this software and its documentation for any purpose and 20 * without fee is hereby granted, provided that the above copyright 21 * notice appear in all copies and that both that copyright notice and 22 * this permission notice appear in supporting documentation, and that 23 * the name of M.I.T. not be used in advertising or publicity pertaining 24 * to distribution of the software without specific, written prior 25 * permission. M.I.T. makes no representations about the suitability of 26 * this software for any purpose. It is provided "as is" without express 27 * or implied warranty. 28 */ 29 30 #ifndef __KEY_PROTO__ 31 #define __KEY_PROTO__ 32 33 #if !defined(P) 34 #ifdef __STDC__ 35 #define P(x) x 36 #else 37 #define P(x) () 38 #endif 39 #endif 40 41 int key_file_exists P((void)); 42 void key_lookup P((unsigned char *, Block)); 43 void key_stream_init P((Block, Block, int)); 44 unsigned char key_stream P((int, int)); 45 #endif 46