OCF: Convert consumers to the session id typedef
These were missed in the earlier r336269. No functional change. Sponsored by: Dell EMC Isilon
This commit is contained in:
parent
bafc378147
commit
1df7f41560
@ -179,7 +179,7 @@ struct g_eli_worker {
|
||||
struct g_eli_softc *w_softc;
|
||||
struct proc *w_proc;
|
||||
u_int w_number;
|
||||
uint64_t w_sid;
|
||||
crypto_session_t w_sid;
|
||||
boolean_t w_active;
|
||||
LIST_ENTRY(g_eli_worker) w_next;
|
||||
};
|
||||
|
@ -64,7 +64,7 @@ g_eli_crypto_cipher(u_int algo, int enc, u_char *data, size_t datasize,
|
||||
struct cryptoini cri;
|
||||
struct cryptop *crp;
|
||||
struct cryptodesc *crd;
|
||||
uint64_t sid;
|
||||
crypto_session_t sid;
|
||||
u_char *p;
|
||||
int error;
|
||||
|
||||
|
@ -45,8 +45,8 @@ __FBSDID("$FreeBSD$");
|
||||
|
||||
struct aes_state {
|
||||
struct mtx as_lock;
|
||||
uint64_t as_session_aes;
|
||||
uint64_t as_session_sha1;
|
||||
crypto_session_t as_session_aes;
|
||||
crypto_session_t as_session_sha1;
|
||||
};
|
||||
|
||||
static void
|
||||
|
@ -47,7 +47,7 @@ __FBSDID("$FreeBSD$");
|
||||
|
||||
struct des1_state {
|
||||
struct mtx ds_lock;
|
||||
uint64_t ds_session;
|
||||
crypto_session_t ds_session;
|
||||
};
|
||||
|
||||
static void
|
||||
|
@ -48,7 +48,7 @@ __FBSDID("$FreeBSD$");
|
||||
|
||||
struct des3_state {
|
||||
struct mtx ds_lock;
|
||||
uint64_t ds_session;
|
||||
crypto_session_t ds_session;
|
||||
};
|
||||
|
||||
static void
|
||||
|
Loading…
Reference in New Issue
Block a user