]> git.meshlink.io Git - meshlink/blobdiff - src/openssl/cipher.h
Merge branch 'master' of git://tinc-vpn.org/tinc into 1.1
[meshlink] / src / openssl / cipher.h
index 589ec4c49e5add6c04155d50f4f884664994a9b8..9b6221bcd8917ecef96abb7ef6817437c26e4b20 100644 (file)
@@ -39,6 +39,7 @@ extern void cipher_close(cipher_t *);
 extern size_t cipher_keylength(const cipher_t *);
 extern bool cipher_set_key(cipher_t *, void *, bool);
 extern bool cipher_set_key_from_rsa(cipher_t *, void *, size_t, bool);
+extern bool cipher_set_counter(cipher_t *, const void *, size_t);
 extern bool cipher_set_counter_key(cipher_t *, void *);
 extern bool cipher_encrypt(cipher_t *, const void *indata, size_t inlen, void *outdata, size_t *outlen, bool);
 extern bool cipher_decrypt(cipher_t *, const void *indata, size_t inlen, void *outdata, size_t *outlen, bool);