diff options
author | Aris Adamantiadis <aris@0xbadc0de.be> | 2014-04-24 08:55:52 +0200 |
---|---|---|
committer | Andreas Schneider <asn@cryptomilk.org> | 2014-08-06 10:05:19 +0200 |
commit | 33cd594f1f36a40882927ccb6b82db8cda651995 (patch) | |
tree | f5d3b1cb50eb5b13ae47f4d6c39d96ad279ede2e /include | |
parent | 0cd0f685c93c66772d2f61cca8ffc71ad7f0a0d6 (diff) | |
download | libssh-33cd594f1f36a40882927ccb6b82db8cda651995.tar.gz libssh-33cd594f1f36a40882927ccb6b82db8cda651995.tar.xz libssh-33cd594f1f36a40882927ccb6b82db8cda651995.zip |
crypto: fix secure burning, structure members naming
Reviewed-by: Andreas Schneider <asn@samba.org>
Diffstat (limited to 'include')
-rw-r--r-- | include/libssh/crypto.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/libssh/crypto.h b/include/libssh/crypto.h index 56561805..61a2b27b 100644 --- a/include/libssh/crypto.h +++ b/include/libssh/crypto.h @@ -115,9 +115,9 @@ struct ssh_cipher_struct { /* sets the new key for immediate use */ int (*set_encrypt_key)(struct ssh_cipher_struct *cipher, void *key, void *IV); int (*set_decrypt_key)(struct ssh_cipher_struct *cipher, void *key, void *IV); - void (*cbc_encrypt)(struct ssh_cipher_struct *cipher, void *in, void *out, + void (*encrypt)(struct ssh_cipher_struct *cipher, void *in, void *out, unsigned long len); - void (*cbc_decrypt)(struct ssh_cipher_struct *cipher, void *in, void *out, + void (*decrypt)(struct ssh_cipher_struct *cipher, void *in, void *out, unsigned long len); }; |