OpenCores
URL https://opencores.org/ocsvn/or1k/or1k/trunk

Subversion Repositories or1k

[/] [or1k/] [trunk/] [ecos-2.0/] [packages/] [net/] [tcpip/] [v2_0/] [include/] [netinet/] [ip_skipjack.h] - Blame information for rev 1765

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 1254 phoenix
//==========================================================================
2
//
3
//      include/netinet/ip_skipjack.h
4
//
5
//      
6
//
7
//==========================================================================
8
//####BSDCOPYRIGHTBEGIN####
9
//
10
// -------------------------------------------
11
//
12
// Portions of this software may have been derived from OpenBSD or other sources,
13
// and are covered by the appropriate copyright disclaimers included herein.
14
//
15
// -------------------------------------------
16
//
17
//####BSDCOPYRIGHTEND####
18
//==========================================================================
19
//#####DESCRIPTIONBEGIN####
20
//
21
// Author(s):    gthomas
22
// Contributors: gthomas
23
// Date:         2000-01-10
24
// Purpose:      
25
// Description:  
26
//              
27
//
28
//####DESCRIPTIONEND####
29
//
30
//==========================================================================
31
 
32
 
33
/*
34
 * Further optimized test implementation of SKIPJACK algorithm
35
 * Mark Tillotson <markt@chaos.org.uk>, 25 June 98
36
 * Optimizations suit RISC (lots of registers) machine best.
37
 *
38
 * based on unoptimized implementation of
39
 * Panu Rissanen <bande@lut.fi> 960624
40
 *
41
 * SKIPJACK and KEA Algorithm Specifications
42
 * Version 2.0
43
 * 29 May 1998
44
*/
45
 
46
#ifndef _NETINET_IP_SKIPJACK_H_
47
#define _NETINET_IP_SKIPJACK_H_
48
 
49
extern void skipjack_forwards __P((u_int8_t *plain, u_int8_t *cipher, u_int8_t **key));
50
extern void skipjack_backwards __P((u_int8_t *cipher, u_int8_t *plain, u_int8_t **key));
51
extern void subkey_table_gen __P((u_int8_t *key, u_int8_t **key_tables));
52
 
53
#endif // _NETINET_IP_SKIPJACK_H_

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.