Searched refs:crypto_drivers (Results 1 – 1 of 1) sorted by relevance
129 static struct cryptocap **crypto_drivers = NULL; variable309 crypto_drivers = malloc(crypto_drivers_size * in crypto_init()452 if (crypto_drivers[i] != NULL) in crypto_destroy()453 cap_rele(crypto_drivers[i]); in crypto_destroy()455 free(crypto_drivers, M_CRYPTO_DATA); in crypto_destroy()590 return (hid >= crypto_drivers_size ? NULL : crypto_drivers[hid]); in crypto_checkdriver()612 cap = crypto_drivers[hid]; in crypto_select_driver()1041 if (crypto_drivers[i] == NULL) in crypto_get_driverid()1059 sizeof(*crypto_drivers), M_CRYPTO_DATA, M_WAITOK | M_ZERO); in crypto_get_driverid()1062 memcpy(newdrv, crypto_drivers, in crypto_get_driverid()[all …]