Lines Matching refs:cryptocap
91 struct cryptocap *list;
508 static struct cryptocap *crypto_checkdriver_lock(u_int32_t);
509 static struct cryptocap *crypto_checkdriver_uninit(u_int32_t);
510 static struct cryptocap *crypto_checkdriver(u_int32_t);
511 static void crypto_driver_lock(struct cryptocap *);
512 static void crypto_driver_unlock(struct cryptocap *);
513 static void crypto_driver_clear(struct cryptocap *);
571 sizeof(struct cryptocap), KM_SLEEP); in crypto_init0()
620 struct cryptocap *cap = NULL; in crypto_destroy()
670 crypto_drivers_num * sizeof(struct cryptocap)); in crypto_destroy()
685 crypto_driver_suitable(struct cryptocap *cap, struct cryptoini *cri) in crypto_driver_suitable()
710 static struct cryptocap *
715 struct cryptocap *cap, *best; in crypto_select_driver_lock()
800 struct cryptocap *cap; in crypto_newsession()
858 struct cryptocap *cap; in crypto_freesession()
893 crypto_checkdriver_initialized(const struct cryptocap *cap) in crypto_checkdriver_initialized()
908 struct cryptocap *newdrv; in crypto_get_driverid()
909 struct cryptocap *cap = NULL; in crypto_get_driverid()
932 sizeof(struct cryptocap), KM_SLEEP); in crypto_get_driverid()
934 crypto_drivers_num * sizeof(struct cryptocap)); in crypto_get_driverid()
936 crypto_drivers_num * sizeof(struct cryptocap)); in crypto_get_driverid()
958 static struct cryptocap *
961 struct cryptocap *cap; in crypto_checkdriver_lock()
979 static struct cryptocap *
997 static struct cryptocap *
1006 struct cryptocap *cap = &crypto_drivers[hid]; in crypto_checkdriver()
1011 crypto_driver_lock(struct cryptocap *cap) in crypto_driver_lock()
1020 crypto_driver_unlock(struct cryptocap *cap) in crypto_driver_unlock()
1029 crypto_driver_clear(struct cryptocap *cap) in crypto_driver_clear()
1061 struct cryptocap *cap; in crypto_kregister()
1109 struct cryptocap *cap; in crypto_register()
1153 crypto_unregister_locked(struct cryptocap *cap, int alg, bool all) in crypto_unregister_locked()
1207 struct cryptocap *cap; in crypto_unregister()
1227 struct cryptocap *cap; in crypto_unregister_all()
1247 struct cryptocap *cap; in crypto_unblock()
1280 struct cryptocap *cap; in crypto_dispatch()
1383 struct cryptocap *cap; in crypto_kdispatch()
1442 struct cryptocap *cap = NULL; in crypto_kinvoke()
1524 struct cryptocap *cap; in crypto_invoke()
1766 struct cryptocap *cap; in crypto_getfeat()
1801 struct cryptocap *cap; in cryptointr()