summaryrefslogtreecommitdiffstats
path: root/crypto.h
diff options
context:
space:
mode:
Diffstat (limited to 'crypto.h')
-rw-r--r--crypto.h24
1 files changed, 0 insertions, 24 deletions
diff --git a/crypto.h b/crypto.h
index 5165d0f..2ddee5f 100644
--- a/crypto.h
+++ b/crypto.h
@@ -173,29 +173,6 @@ cipher_ok (const char* name)
#endif
/*
- * Max size in bytes of any cipher key that might conceivably be used.
- *
- * This value is checked at compile time in crypto.c to make sure
- * it is always at least EVP_MAX_KEY_LENGTH.
- *
- * We define our own value, since this parameter
- * is used to control the size of static key files.
- * If the OpenSSL library increases EVP_MAX_KEY_LENGTH,
- * we don't want our key files to be suddenly rendered
- * unusable.
- */
-#define MAX_CIPHER_KEY_LENGTH 64
-
-/*
- * Max size in bytes of any HMAC key that might conceivably be used.
- *
- * This value is checked at compile time in crypto.c to make sure
- * it is always at least EVP_MAX_MD_SIZE. We define our own value
- * for the same reason as above.
- */
-#define MAX_HMAC_KEY_LENGTH 64
-
-/*
* Defines a key type and key length for both cipher and HMAC.
*/
struct key_type
@@ -206,7 +183,6 @@ struct key_type
const EVP_MD *digest;
};
-
/**
* Container for unidirectional cipher and HMAC %key material.
* @ingroup control_processor