Main Page   Data Structures   File List   Data Fields   Globals   Related Pages  

skipjack.h File Reference

Skipjack declarations. More...

#include <types.h>

Go to the source code of this file.

Defines

#define SKIPJACK_KEY_LEN   10
 SKIPJACK key size. More...

#define SKIPJACK_BLOCK_LEN   8
 SKIPJACK block length. More...


Functions

void skipjack_enc (iu8 *v, iu8 *k)
 Skipjack encryption function. More...

void skipjack_dec (iu8 *v, iu8 *k)
 Skipjack decryption function. More...


Detailed Description

Skipjack declarations.

Documentation for Skipjack is available at http://csrc.nist.gov/encryption/skipjack/skipjack-kea.htm.

Id:
skipjack.h,v 1.1 2003/03/30 12:42:21 m Exp


Define Documentation

#define SKIPJACK_BLOCK_LEN   8
 

SKIPJACK block length.

#define SKIPJACK_KEY_LEN   10
 

SKIPJACK key size.


Function Documentation

void skipjack_dec iu8   v,
iu8   k
 

Skipjack decryption function.

This function decrypts v with k and returns the decrypted data in v.

Parameters:
v  Array of eight iu8 values containing the data block.
k  Array of ten iu8 values containing the key.

void skipjack_enc iu8   v,
iu8   k
 

Skipjack encryption function.

This function encrypts v with k and returns the encrypted data in v.

Parameters:
v  Array of eight iu8 values containing the data block.
k  Array of ten iu8 values containing the key.


Copyright 2002 by Matthias Bruestle. This is licensed under the GNU General Public License.