summaryrefslogtreecommitdiffstats
path: root/cryptodev_int.h
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@gnutls.org>2010-07-07 08:31:14 +0200
committerNikos Mavrogiannopoulos <nmav@gnutls.org>2010-07-07 08:31:14 +0200
commit58a20b797e5a987fc8f7c5bea3be24d754908bf5 (patch)
tree8f3d54711c4685da083826b3422f0d9dd46ae452 /cryptodev_int.h
parentd12ecf68276ab0e57ea578d763f23b2143e57ed8 (diff)
downloadcryptodev-linux-58a20b797e5a987fc8f7c5bea3be24d754908bf5.tar.gz
cryptodev-linux-58a20b797e5a987fc8f7c5bea3be24d754908bf5.tar.xz
cryptodev-linux-58a20b797e5a987fc8f7c5bea3be24d754908bf5.zip
set_iv() function accepts argument from kernel memory.
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 c686150..2901d59 100644
--- a/cryptodev_int.h
+++ b/cryptodev_int.h
@@ -41,7 +41,7 @@ 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);
-int cryptodev_cipher_set_iv(struct cipher_data* cdata, void* iv, size_t iv_size);
+void cryptodev_cipher_set_iv(struct cipher_data* cdata, void* iv, size_t iv_size);
int _cryptodev_cipher_decrypt(struct cipher_data* cdata, const void* ciphertext,
size_t ciphertext_size, void* plaintext, size_t plaintext_size);
int _cryptodev_cipher_encrypt(struct cipher_data* cdata, const void* plaintext,