summaryrefslogtreecommitdiffstats
path: root/cryptodev_int.h
diff options
context:
space:
mode:
authorPhil Sutter <phil.sutter@viprinet.com>2010-06-17 15:00:30 +0200
committerNikos Mavrogiannopoulos <nmav@gnutls.org>2010-06-17 20:33:52 +0200
commit9fd408230f1fc91f8d877b5f55b1c00e8e89f665 (patch)
treef64bf13cf3ab419cfbc3da5ce4fdbedb8e990181 /cryptodev_int.h
parent26e1a7a351626f770514f001457bb307e08a177c (diff)
downloadcryptodev-linux-9fd408230f1fc91f8d877b5f55b1c00e8e89f665.tar.gz
cryptodev-linux-9fd408230f1fc91f8d877b5f55b1c00e8e89f665.tar.xz
cryptodev-linux-9fd408230f1fc91f8d877b5f55b1c00e8e89f665.zip
eliminate warnings about unused result of copy_*_user
Diffstat (limited to 'cryptodev_int.h')
-rw-r--r--cryptodev_int.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/cryptodev_int.h b/cryptodev_int.h
index 8e3059a..408f1f9 100644
--- a/cryptodev_int.h
+++ b/cryptodev_int.h
@@ -40,7 +40,7 @@ int cryptodev_cipher_init(struct cipher_data* out, const char* alg_name, __user
void cryptodev_cipher_deinit(struct cipher_data* cdata);
ssize_t cryptodev_cipher_decrypt( struct cipher_data* cdata, struct scatterlist *sg1, struct scatterlist *sg2, size_t len);
ssize_t cryptodev_cipher_encrypt( struct cipher_data* cdata, struct scatterlist *sg1, struct scatterlist *sg2, size_t len);
-void cryptodev_cipher_set_iv(struct cipher_data* cdata, void* iv, size_t iv_size);
+int cryptodev_cipher_set_iv(struct cipher_data* cdata, void* iv, size_t iv_size);
/* hash stuff */
struct hash_data