X-Git-Url: https://tinc-vpn.org/git/browse?p=tinc;a=blobdiff_plain;f=src%2Fopenssl%2Fcipher.h;h=20535ed3431c16e832d06985aebb2e2755209af2;hp=d17e25455daec4222a1864591223f4674f094b86;hb=551cd19406a560d0d206bff5b4e9da064ec222b6;hpb=911c05f873ad967c40d04aa7347b1067fe62c055 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;