diff options
Diffstat (limited to 'cryptodev_int.h')
-rw-r--r-- | cryptodev_int.h | 2 |
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 |