X-Git-Url: https://tinc-vpn.org/git/browse?a=blobdiff_plain;f=src%2Fopenssl%2Fcipher.h;h=482f1a6d476f2b481389e87603f73fb9c18896f3;hb=ffa3a443b9f01d3ea0fcb3c4fc6928a5c695cf4a;hp=d17e25455daec4222a1864591223f4674f094b86;hpb=1fd1d5bd9330e02ab5dc32ad027f654ff2620099;p=tinc diff --git a/src/openssl/cipher.h b/src/openssl/cipher.h index d17e2545..482f1a6d 100644 --- a/src/openssl/cipher.h +++ b/src/openssl/cipher.h @@ -12,11 +12,9 @@ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. - You should have received a copy of the GNU General Public License - along with this program; if not, write to the Free Software - Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - - $Id$ + You should have received a copy of the GNU General Public License along + with this program; if not, write to the Free Software Foundation, Inc., + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #ifndef __TINC_CIPHER_H__ @@ -24,6 +22,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;