Home
last modified time | relevance | path

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

/freebsd-9-stable/sys/opencrypto/
Dcrypto.c127 static int crypto_drivers_num = 0; variable
218 crypto_drivers_num = CRYPTO_DRIVERS_INITIAL; in crypto_init()
219 crypto_drivers = malloc(crypto_drivers_num * in crypto_init()
306 return (hid >= crypto_drivers_num ? NULL : &crypto_drivers[hid]); in crypto_checkdriver()
353 for (hid = 0; hid < crypto_drivers_num; hid++) { in crypto_select_driver()
462 if (hid >= crypto_drivers_num) { in crypto_freesession()
500 for (i = 0; i < crypto_drivers_num; i++) { in crypto_get_driverid()
508 if (i == crypto_drivers_num) { in crypto_get_driverid()
510 if (2 * crypto_drivers_num <= crypto_drivers_num) { in crypto_get_driverid()
516 newdrv = malloc(2 * crypto_drivers_num * in crypto_get_driverid()
[all …]