Home
last modified time | relevance | path

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

/titanic_50/usr/src/cmd/lofiadm/
H A Dmain.c589 crypto_get_mechanism_list_t *kciphers = NULL; in kernel_cipher_check() local
601 kciphers = malloc(sizeof (crypto_get_mechanism_list_t) + in kernel_cipher_check()
603 if (kciphers == NULL) in kernel_cipher_check()
606 kciphers->ml_count = count; in kernel_cipher_check()
614 if (ioctl(fd, CRYPTO_GET_MECHANISM_LIST, kciphers) == -1) { in kernel_cipher_check()
619 if (kciphers->ml_return_value == CRYPTO_BUFFER_TOO_SMALL) { in kernel_cipher_check()
620 count = kciphers->ml_count; in kernel_cipher_check()
621 free(kciphers); in kernel_cipher_check()
622 kciphers = malloc(sizeof (crypto_get_mechanism_list_t) + in kernel_cipher_check()
624 if (kciphers == NULL) { in kernel_cipher_check()
[all …]