crypto, cryptodev
- Provided by: freebsd-manpages (Version: 10.1~RC1-1)
- Report a bug
device crypto
device cryptodev
The crypto driver provides a
device-independent framework to support cryptographic operations 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 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:
CIOCGSESSIONCIOCFSESSIONCIOCCRYPTDepending on hardware being present, the following symmetric and asymmetric cryptographic features are potentially available from /dev/crypto:
CRYPTO_DES_CBCCRYPTO_3DES_CBCCRYPTO_BLF_CBCCRYPTO_CAMELLIA_CBCCRYPTO_CAST_CBCCRYPTO_SKIPJACK_CBCCRYPTO_MD5_HMACCRYPTO_SHA1_HMACCRYPTO_RIPEMD160_HMACCRYPTO_MD5_KPDKCRYPTO_SHA1_KPDKCRYPTO_AES_CBCCRYPTO_ARC4CRYPTO_MD5CRYPTO_SHA1CRK_MOD_EXPCRK_MOD_EXP_CRTCRK_DSA_SIGNCRK_DSA_VERIFYCRK_DH_COMPUTE_KEYaesni(4), glxsb(4), hifn(4), ipsec(4), padlock(4), safe(4), ubsec(4), geli(8), crypto(9)
The crypto driver first appeared in
OpenBSD 3.0. The crypto
driver was imported to FreeBSD 5.0.