Home
last modified time | relevance | path

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

/samples/crypto/
Dfips140_lab_util.c172 static int fips140_dev_fd = -1; variable
176 if (fips140_dev_fd < 0) { in fips140_ioctl()
178 fips140_dev_fd = open("/dev/fips140", O_RDONLY); in fips140_ioctl()
179 if (fips140_dev_fd < 0) in fips140_ioctl()
182 return ioctl(fips140_dev_fd, cmd, arg); in fips140_ioctl()