aboutsummaryrefslogtreecommitdiffstats
path: root/include/cipher.h
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>1998-09-14 15:49:56 +0000
committerWerner Koch <[email protected]>1998-09-14 15:49:56 +0000
commitc07a88da5d293db89726767fef58090177b423f4 (patch)
tree7ea1d5d10d3e65cf29c4b03616772fb4c829f4d1 /include/cipher.h
parentUpdates (diff)
downloadgnupg-c07a88da5d293db89726767fef58090177b423f4.tar.gz
gnupg-c07a88da5d293db89726767fef58090177b423f4.zip
New release
Diffstat (limited to '')
-rw-r--r--include/cipher.h2
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 );