Main Page   Data Structures   File List   Data Fields   Globals   Related Pages  

newdes-sk.h File Reference

NEWDES-SK declarations. More...

#include <types.h>

Go to the source code of this file.

Defines

#define NEWDESSK_KEY_LEN   15
 NEWDES-SK key size. More...

#define NEWDESSK_BLOCK_LEN   8
 NEWDES-SK block length. More...


Functions

void newdessk_enc (iu8 *v, iu8 *k)
 NEWDES-SK encryption function. More...

void newdessk_dec (iu8 *v, iu8 *k)
 NEWDES-SK decryption function. More...


Detailed Description

NEWDES-SK declarations.

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


Define Documentation

#define NEWDESSK_BLOCK_LEN   8
 

NEWDES-SK block length.

#define NEWDESSK_KEY_LEN   15
 

NEWDES-SK key size.


Function Documentation

void newdessk_dec iu8   v,
iu8   k
 

NEWDES-SK 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 15 iu8 values containing the key.

void newdessk_enc iu8   v,
iu8   k
 

NEWDES-SK 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 15 iu8 values containing the key.


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