Home
last modified time | relevance | path

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

/NextBSD/sys/opencrypto/
HDcrypto.c126 static int crypto_drivers_num = 0; variable
217 crypto_drivers_num = CRYPTO_DRIVERS_INITIAL; in crypto_init()
218 crypto_drivers = malloc(crypto_drivers_num * in crypto_init()
305 return (hid >= crypto_drivers_num ? NULL : &crypto_drivers[hid]); in crypto_checkdriver()
352 for (hid = 0; hid < crypto_drivers_num; hid++) { in crypto_select_driver()
463 if (hid >= crypto_drivers_num) { in crypto_freesession()
501 for (i = 0; i < crypto_drivers_num; i++) { in crypto_get_driverid()
509 if (i == crypto_drivers_num) { in crypto_get_driverid()
511 if (2 * crypto_drivers_num <= crypto_drivers_num) { in crypto_get_driverid()
517 newdrv = malloc(2 * crypto_drivers_num * in crypto_get_driverid()
[all …]