CRYPTO(4)                 OpenBSD Programmer's Manual                CRYPTO(4)

NAME
     crypto - hardware crypto access driver

SYNOPSIS
     pseudo-device crypto [count]

DESCRIPTION
     The crypto driver provides userland applications access to hardware cryp-
     to support via the kernel.  The /dev/crypto device node primarily oper-
     ates in an ioctl(2) based model, permitting a variety of applications to
     query device capabilities, submit transactions, and get results.

     If count given in the specification, and is greater than 0, a maximum of
     one crypto device is created.

     The following ioctl(2) calls apply only to the crypto devices:

     CIOCGSESSION  Setup a new crypto session for a new type of operation.

     CIOCFSESSION  Free a previously established session.

     CIOCCRYPT     Perform a crypto operation against a previously setup ses-
                   sion.

FILES
     /dev/crypto  crypto access device

SEE ALSO
     hifn(4), ises(4), ubsec(4), crypto(9)

HISTORY
     The crypto driver appeared in OpenBSD 3.0.

OpenBSD 2.9                      May 13, 2001                                1
