Searched refs:devcrypto (Results 1 - 2 of 2) sorted by relevance

/freebsd-9.3-release/tools/tools/crypto/
H A Dcryptokeytest.c27 devcrypto(void) function
36 err(1, "fcntl(F_SETFD) (devcrypto)");
48 if (ioctl(devcrypto(), CIOCFINDDEV, &find) == -1)
60 if (ioctl(devcrypto(), CIOCFINDDEV, &find) == -1)
132 if (crypto_fd == -1 && ioctl(devcrypto(), CRIOGET, &crypto_fd) == -1)
H A Dcryptotest.c185 devcrypto(void) function
194 err(1, "fcntl(F_SETFD) (devcrypto)");
206 if (ioctl(devcrypto(), CIOCFINDDEV, &find) == -1)
218 if (ioctl(devcrypto(), CRIOFINDDEV, &find) == -1)
228 if (ioctl(devcrypto(), CRIOGET, &fd) == -1)

Completed in 94 milliseconds