Home
last modified time | relevance | path

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

/titanic_41/usr/src/cmd/lofiadm/
H A Dmain.c588 crypto_get_mechanism_list_t *kciphers = NULL; in kernel_cipher_check() local
600 kciphers = malloc(sizeof (crypto_get_mechanism_list_t) + in kernel_cipher_check()
602 if (kciphers == NULL) in kernel_cipher_check()
605 kciphers->ml_count = count; in kernel_cipher_check()
613 if (ioctl(fd, CRYPTO_GET_MECHANISM_LIST, kciphers) == -1) { in kernel_cipher_check()
618 if (kciphers->ml_return_value == CRYPTO_BUFFER_TOO_SMALL) { in kernel_cipher_check()
619 count = kciphers->ml_count; in kernel_cipher_check()
620 free(kciphers); in kernel_cipher_check()
621 kciphers = malloc(sizeof (crypto_get_mechanism_list_t) + in kernel_cipher_check()
623 if (kciphers == NULL) { in kernel_cipher_check()
[all …]