X-Git-Url: https://tinc-vpn.org/git/browse?a=blobdiff_plain;f=src%2Fopenssl%2Fcipher.h;h=20535ed3431c16e832d06985aebb2e2755209af2;hb=551cd19406a560d0d206bff5b4e9da064ec222b6;hp=d17e25455daec4222a1864591223f4674f094b86;hpb=1fd1d5bd9330e02ab5dc32ad027f654ff2620099;p=tinc diff --git a/src/openssl/cipher.h b/src/openssl/cipher.h index d17e2545..20535ed3 100644 --- a/src/openssl/cipher.h +++ b/src/openssl/cipher.h @@ -24,6 +24,10 @@ #include +#define CIPHER_MAX_BLOCK_SIZE EVP_MAX_BLOCK_LENGTH +#define CIPHER_MAX_KEY_SIZE EVP_MAX_KEY_LENGTH +#define CIPHER_MAX_IV_SIZE EVP_MAX_IV_LENGTH + typedef struct cipher { EVP_CIPHER_CTX ctx; const EVP_CIPHER *cipher;