Searched refs:kciphers (Results 1 – 1 of 1) sorted by relevance
668 crypto_get_mechanism_list_t *kciphers = NULL; in kernel_cipher_check() local680 kciphers = malloc(sizeof (crypto_get_mechanism_list_t) + in kernel_cipher_check()682 if (kciphers == NULL) in kernel_cipher_check()685 kciphers->ml_count = count; in kernel_cipher_check()693 if (ioctl(fd, CRYPTO_GET_MECHANISM_LIST, kciphers) == -1) { in kernel_cipher_check()698 if (kciphers->ml_return_value == CRYPTO_BUFFER_TOO_SMALL) { in kernel_cipher_check()699 count = kciphers->ml_count; in kernel_cipher_check()700 free(kciphers); in kernel_cipher_check()701 kciphers = malloc(sizeof (crypto_get_mechanism_list_t) + in kernel_cipher_check()703 if (kciphers == NULL) { in kernel_cipher_check()[all …]