Changeset View
Changeset View
Standalone View
Standalone View
head/sys/opencrypto/cryptodev.c
Show First 20 Lines • Show All 111 Lines • ▼ Show 20 Lines | struct crypt_kop32 { | ||||
u_int crk_op; | u_int crk_op; | ||||
u_int crk_status; | u_int crk_status; | ||||
u_short crk_iparams; | u_short crk_iparams; | ||||
u_short crk_oparams; | u_short crk_oparams; | ||||
u_int crk_crid; | u_int crk_crid; | ||||
struct crparam32 crk_param[CRK_MAXPARAM]; | struct crparam32 crk_param[CRK_MAXPARAM]; | ||||
}; | }; | ||||
struct cryptotstat32 { | |||||
struct timespec32 acc; | |||||
struct timespec32 min; | |||||
struct timespec32 max; | |||||
u_int32_t count; | |||||
}; | |||||
struct cryptostats32 { | |||||
u_int32_t cs_ops; | |||||
u_int32_t cs_errs; | |||||
u_int32_t cs_kops; | |||||
u_int32_t cs_kerrs; | |||||
u_int32_t cs_intrs; | |||||
u_int32_t cs_rets; | |||||
u_int32_t cs_blocks; | |||||
u_int32_t cs_kblocks; | |||||
struct cryptotstat32 cs_invoke; | |||||
struct cryptotstat32 cs_done; | |||||
struct cryptotstat32 cs_cb; | |||||
struct cryptotstat32 cs_finis; | |||||
}; | |||||
#define CIOCGSESSION32 _IOWR('c', 101, struct session_op32) | #define CIOCGSESSION32 _IOWR('c', 101, struct session_op32) | ||||
#define CIOCCRYPT32 _IOWR('c', 103, struct crypt_op32) | #define CIOCCRYPT32 _IOWR('c', 103, struct crypt_op32) | ||||
#define CIOCKEY32 _IOWR('c', 104, struct crypt_kop32) | #define CIOCKEY32 _IOWR('c', 104, struct crypt_kop32) | ||||
#define CIOCGSESSION232 _IOWR('c', 106, struct session2_op32) | #define CIOCGSESSION232 _IOWR('c', 106, struct session2_op32) | ||||
#define CIOCKEY232 _IOWR('c', 107, struct crypt_kop32) | #define CIOCKEY232 _IOWR('c', 107, struct crypt_kop32) | ||||
static void | static void | ||||
session_op_from_32(const struct session_op32 *from, struct session_op *to) | session_op_from_32(const struct session_op32 *from, struct session_op *to) | ||||
▲ Show 20 Lines • Show All 1,485 Lines • Show Last 20 Lines |