SIMPLE SOLUTIONS

CRYPTO(4FREEBSD) - man page online | special files

Hardware crypto access driver.

Chapter
September 7, 2010
CRYPTO(4)                          BSD Kernel Interfaces Manual                         CRYPTO(4)

NAME

crypto, cryptodev — hardware crypto access driver

SYNOPSIS

device crypto device cryptodev

DESCRIPTION

The crypto driver provides a device-independent framework to support cryptographic opera‐ tions in the kernel. The cryptodev driver provides userland applications access to this support through the /dev/crypto device. This node primarily operates in an ioctl(2) based model, permitting a variety of applications to query device capabilities, submit transac‐ tions, 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 session.

FEATURES

Depending on hardware being present, the following symmetric and asymmetric cryptographic features are potentially available from /dev/crypto: CRYPTO_DES_CBC CRYPTO_3DES_CBC CRYPTO_BLF_CBC CRYPTO_CAMELLIA_CBC CRYPTO_CAST_CBC CRYPTO_SKIPJACK_CBC CRYPTO_MD5_HMAC CRYPTO_SHA1_HMAC CRYPTO_RIPEMD160_HMAC CRYPTO_MD5_KPDK CRYPTO_SHA1_KPDK CRYPTO_AES_CBC CRYPTO_ARC4 CRYPTO_MD5 CRYPTO_SHA1 CRK_MOD_EXP CRK_MOD_EXP_CRT CRK_DSA_SIGN CRK_DSA_VERIFY CRK_DH_COMPUTE_KEY

FILES

/dev/crypto crypto access device

SEE ALSO

aesni(4), glxsb(4), hifn(4), ipsec(4), padlock(4), safe(4), ubsec(4), geli(8), crypto(9)

HISTORY

The crypto driver first appeared in OpenBSD 3.0. The crypto driver was imported to FreeBSD 5.0.
BSD September 7, 2010 BSD
This manual Reference Other manuals
crypto(4freebsd) referred by aesni(4freebsd) | cryptodev(4freebsd) | glxsb(4freebsd) | hifn(4freebsd) | ipsec(4freebsd) | padlock(4freebsd) | rndtest(4freebsd) | safe(4freebsd) | ubsec(4freebsd)
refer to aesni(4freebsd) | crypto(9freebsd) | glxsb(4freebsd) | hifn(4freebsd) | ioctl(2) | ipsec(4freebsd) | padlock(4freebsd) | safe(4freebsd) | ubsec(4freebsd)