Home
last modified time | relevance | path

Searched refs:d_fd (Results 1 – 1 of 1) sorted by relevance

/external/openssl/crypto/engine/
Deng_cryptodev.c74 int d_fd; member
364 if (state->d_fd < 0) in cryptodev_cipher()
391 if (ioctl(state->d_fd, CIOCCRYPT, &cryp) == -1) { in cryptodev_cipher()
425 state->d_fd = -1; in cryptodev_init_key()
431 if ((state->d_fd = get_dev_crypto()) < 0) in cryptodev_init_key()
438 if (ioctl(state->d_fd, CIOCGSESSION, sess) == -1) { in cryptodev_init_key()
439 close(state->d_fd); in cryptodev_init_key()
440 state->d_fd = -1; in cryptodev_init_key()
457 if (state->d_fd < 0) in cryptodev_cleanup()
471 if (ioctl(state->d_fd, CIOCFSESSION, &sess->ses) == -1) { in cryptodev_cleanup()
[all …]