up | Inhaltsverzeichniss | Kommentar

Manual page for DES(4S)

des - DES encryption chip interface

CONFIG -- SUN-3 SYSTEM

device des0 at obio ? csr 0x1c0000

CONFIG -- SUN-3x SYSTEM

device des0 at obio ? csr 0x66002000

CONFIG -- SUN-4 SYSTEM

device des0 at obio ? csr 0xfe000000

SYNOPSIS

#include <sys/des.h>

DESCRIPTION

The des driver provides a high level interface to the AmZ8068 Data Ciphering Processor, a hardware implementation of the NBS Data Encryption Standard.

The high level interface provided by this driver is hardware independent and could be shared by future drivers in other systems.

The interface allows access to two modes of the DES algorithm: Electronic Code Book (ECB) and Cipher Block Chaining (CBC). All access to the DES driver is through ioctl.2 calls rather than through reads and writes; all encryption is done in-place in the user's buffers.

IOCTLS

The ioctls provided are:
DESIOCBLOCK
This call encrypts/decrypts an entire buffer of data, whose address and length are passed in the `struct desparams' addressed by the argument. The length must be a multiple of 8 bytes.
DESIOCQUICK
This call encrypts/decrypts a small amount of data quickly. The data is limited to DES_QUICKLEN bytes, and must be a multiple of 8 bytes. Rather than being addresses, the data is passed directly in the `struct desparams' argument.

FILES

/dev/des

SEE ALSO

des.1 des_crypt.3

Federal Information Processing Standards Publication 46

AmZ8068 DCP Product Description, Advanced Micro Devices


index | Inhaltsverzeichniss | Kommentar

Created by unroff & hp-tools. © by Hans-Peter Bischof. All Rights Reserved (1997).

Last modified 21/April/97