X-Git-Url: https://tinc-vpn.org/git/browse?a=blobdiff_plain;f=src%2Fcipher.h;h=44db40f8df888ce7593e66a9bd993c8243a5137f;hb=d9a7f2d1054a7155b5f23855ba28dd98e0df73be;hp=41335ec4c8686049b6c5e54434866e85405494ec;hpb=edc1efed3c0cf5aebb1c765066c0413757229a31;p=tinc diff --git a/src/cipher.h b/src/cipher.h index 41335ec4..44db40f8 100644 --- a/src/cipher.h +++ b/src/cipher.h @@ -33,6 +33,7 @@ extern cipher_t *cipher_open_by_nid(int) __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 uint64_t cipher_budget(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__));