Searched refs:kciphers (Results 1 – 1 of 1) sorted by relevance
588 crypto_get_mechanism_list_t *kciphers = NULL; in kernel_cipher_check() local600 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 …]