X-Git-Url: https://tinc-vpn.org/git/browse?p=tinc;a=blobdiff_plain;f=src%2Fcipher.h;h=3f98c18f20c02a63b992af30712eb05f35a1b94c;hp=f194c0dc64b568de4a4ea3aa2d6e45e7f514f6ba;hb=d4410d0cce40929db9a0ce7042ef962f1867234d;hpb=cfe9285adf391ab66faeb5def811fe08e47a221a diff --git a/src/cipher.h b/src/cipher.h index f194c0dc..3f98c18f 100644 --- a/src/cipher.h +++ b/src/cipher.h @@ -33,6 +33,7 @@ extern cipher_t *cipher_open_by_nid(int) __attribute__ ((__malloc__)); extern cipher_t *cipher_open_blowfish_ofb(void) __attribute__ ((__malloc__)); extern void cipher_close(cipher_t *); extern size_t cipher_keylength(const cipher_t *); +extern size_t cipher_blocksize(const cipher_t *); extern void cipher_get_key(const cipher_t *, void *); extern bool cipher_set_key(cipher_t *, void *, bool) __attribute__ ((__warn_unused_result__)); extern bool cipher_set_key_from_rsa(cipher_t *, void *, size_t, bool) __attribute__ ((__warn_unused_result__));