Searched refs:kinfo (Results 1 – 2 of 2) sorted by relevance
589 crypto_get_all_mechanism_info_t *kinfo = NULL; in kernel_cipher_check() local670 kinfo = malloc(sizeof (crypto_get_all_mechanism_info_t) + in kernel_cipher_check()672 if (kinfo == NULL) { in kernel_cipher_check()677 kinfo->mi_count = count; in kernel_cipher_check()678 (void) strlcpy(kinfo->mi_mechanism_name, cipher->name, in kernel_cipher_check()681 if (ioctl(fd, CRYPTO_GET_ALL_MECHANISM_INFO, kinfo) == -1) { in kernel_cipher_check()687 if (kinfo->mi_return_value == CRYPTO_BUFFER_TOO_SMALL) { in kernel_cipher_check()688 count = kinfo->mi_count; in kernel_cipher_check()689 free(kinfo); in kernel_cipher_check()690 kinfo = malloc( in kernel_cipher_check()[all …]
1736 tuple_lookup(rcmd_t *rcm, const char *krsrc, const char *kinfo) in tuple_lookup() argument1741 if ((rcm == NULL) || (krsrc == NULL) || (kinfo == NULL)) { in tuple_lookup()1752 if (strcmp(rsrc, krsrc) == 0 && strcmp(info, kinfo) == 0) { in tuple_lookup()