Searched refs:crypto_drivers (Results 1 – 1 of 1) sorted by relevance
116 static struct cryptocap *crypto_drivers = NULL; variable219 crypto_drivers = kmalloc(crypto_drivers_num * sizeof(struct cryptocap), in crypto_init()290 if (crypto_drivers != NULL) in crypto_destroy()291 kfree(crypto_drivers, M_CRYPTO_DATA); in crypto_destroy()304 if (crypto_drivers == NULL) in crypto_checkdriver()306 return (hid >= crypto_drivers_num ? NULL : &crypto_drivers[hid]); in crypto_checkdriver()354 cap = &crypto_drivers[hid]; in crypto_select_driver()416 hid = cap - crypto_drivers; in crypto_newsession()454 if (crypto_drivers == NULL) { in crypto_freesession()466 cap = &crypto_drivers[hid]; in crypto_freesession()[all …]