DES(4S) — SPECIAL FILES
NAME
des − DES encryption chip interface
SYNOPSIS — SUN-3
des0 at obio ? csr 0x1c0000 #include <sys/des.h>
SYNOPSIS — SUN-2
des0 at virtual ? csr 0xee1800 #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. 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
Federal Information Processing Standards Publication 46
AmZ8068 DCP Product Description, Advanced Micro Devices
Sun Release 3.5 — Last change: 27 March 1986