mirror of
https://git.rtems.org/rtems-libbsd/
synced 2025-10-17 19:40:57 +08:00
Update to FreeBSD head 2018-09-17
Git mirror commit 6c2192b1ef8c50788c751f878552526800b1e319. Update #3472.
This commit is contained in:
@@ -20,35 +20,26 @@
|
||||
#include <opencrypto/cryptodev.h>
|
||||
#include <rtems/bsd/local/cryptodev_if.h>
|
||||
|
||||
struct kobj_method cryptodev_newsession_method_default = {
|
||||
&cryptodev_newsession_desc, (kobjop_t) kobj_error_method
|
||||
};
|
||||
|
||||
static int null_freesession(device_t dev,
|
||||
crypto_session_t crypto_session)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
struct kobjop_desc cryptodev_newsession_desc = {
|
||||
0, &cryptodev_newsession_method_default
|
||||
};
|
||||
|
||||
struct kobj_method cryptodev_freesession_method_default = {
|
||||
&cryptodev_freesession_desc, (kobjop_t) kobj_error_method
|
||||
0, { &cryptodev_newsession_desc, (kobjop_t)kobj_error_method }
|
||||
};
|
||||
|
||||
struct kobjop_desc cryptodev_freesession_desc = {
|
||||
0, &cryptodev_freesession_method_default
|
||||
};
|
||||
|
||||
struct kobj_method cryptodev_process_method_default = {
|
||||
&cryptodev_process_desc, (kobjop_t) kobj_error_method
|
||||
0, { &cryptodev_freesession_desc, (kobjop_t)null_freesession }
|
||||
};
|
||||
|
||||
struct kobjop_desc cryptodev_process_desc = {
|
||||
0, &cryptodev_process_method_default
|
||||
};
|
||||
|
||||
struct kobj_method cryptodev_kprocess_method_default = {
|
||||
&cryptodev_kprocess_desc, (kobjop_t) kobj_error_method
|
||||
0, { &cryptodev_process_desc, (kobjop_t)kobj_error_method }
|
||||
};
|
||||
|
||||
struct kobjop_desc cryptodev_kprocess_desc = {
|
||||
0, &cryptodev_kprocess_method_default
|
||||
0, { &cryptodev_kprocess_desc, (kobjop_t)kobj_error_method }
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user