Home
last modified time | relevance | path

Searched refs:crypto_drivers (Results 1 – 1 of 1) sorted by relevance

/freebsd-13-stable/sys/opencrypto/
HDcrypto.c134 static struct cryptocap **crypto_drivers = NULL; variable
339 crypto_drivers = malloc(crypto_drivers_size * in crypto_init()
483 if (crypto_drivers[i] != NULL) in crypto_destroy()
484 cap_rele(crypto_drivers[i]); in crypto_destroy()
486 free(crypto_drivers, M_CRYPTO_DATA); in crypto_destroy()
617 return (hid >= crypto_drivers_size ? NULL : crypto_drivers[hid]); in crypto_checkdriver()
639 cap = crypto_drivers[hid]; in crypto_select_driver()
1061 if (crypto_drivers[i] == NULL) in crypto_get_driverid()
1079 sizeof(*crypto_drivers), M_CRYPTO_DATA, M_WAITOK | M_ZERO); in crypto_get_driverid()
1082 memcpy(newdrv, crypto_drivers, in crypto_get_driverid()
[all …]