diff options
Diffstat (limited to '')
-rw-r--r-- | include/cipher.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/cipher.h b/include/cipher.h index 8ddd3655a..d26812647 100644 --- a/include/cipher.h +++ b/include/cipher.h @@ -134,7 +134,7 @@ unsigned cipher_get_keylen( int algo ); unsigned cipher_get_blocksize( int algo ); CIPHER_HANDLE cipher_open( int algo, int mode, int secure ); void cipher_close( CIPHER_HANDLE c ); -void cipher_setkey( CIPHER_HANDLE c, byte *key, unsigned keylen ); +int cipher_setkey( CIPHER_HANDLE c, byte *key, unsigned keylen ); void cipher_setiv( CIPHER_HANDLE c, const byte *iv ); void cipher_encrypt( CIPHER_HANDLE c, byte *out, byte *in, unsigned nbytes ); void cipher_decrypt( CIPHER_HANDLE c, byte *out, byte *in, unsigned nbytes ); |