geom_bde: plug set-but-not-used vars
Sponsored by: Rubicon Communications, LLC ("Netgate")
This commit is contained in:
parent
a521105980
commit
26e837e2d4
@ -176,7 +176,7 @@ void g_bde_worker(void *arg);
|
||||
static __inline void
|
||||
AES_init(cipherInstance *ci)
|
||||
{
|
||||
int error;
|
||||
int error __diagused;
|
||||
|
||||
error = rijndael_cipherInit(ci, MODE_CBC, NULL);
|
||||
KASSERT(error > 0, ("rijndael_cipherInit %d", error));
|
||||
@ -185,7 +185,7 @@ AES_init(cipherInstance *ci)
|
||||
static __inline void
|
||||
AES_makekey(keyInstance *ki, int dir, u_int len, const void *key)
|
||||
{
|
||||
int error;
|
||||
int error __diagused;
|
||||
|
||||
error = rijndael_makeKey(ki, dir, len, key);
|
||||
KASSERT(error > 0, ("rijndael_makeKey %d", error));
|
||||
@ -194,7 +194,7 @@ AES_makekey(keyInstance *ki, int dir, u_int len, const void *key)
|
||||
static __inline void
|
||||
AES_encrypt(cipherInstance *ci, keyInstance *ki, const void *in, void *out, u_int len)
|
||||
{
|
||||
int error;
|
||||
int error __diagused;
|
||||
|
||||
error = rijndael_blockEncrypt(ci, ki, in, len * 8, out);
|
||||
KASSERT(error > 0, ("rijndael_blockEncrypt %d", error));
|
||||
@ -203,7 +203,7 @@ AES_encrypt(cipherInstance *ci, keyInstance *ki, const void *in, void *out, u_in
|
||||
static __inline void
|
||||
AES_decrypt(cipherInstance *ci, keyInstance *ki, const void *in, void *out, u_int len)
|
||||
{
|
||||
int error;
|
||||
int error __diagused;
|
||||
|
||||
error = rijndael_blockDecrypt(ci, ki, in, len * 8, out);
|
||||
KASSERT(error > 0, ("rijndael_blockDecrypt %d", error));
|
||||
|
Loading…
Reference in New Issue
Block a user