#include "blowfish_crypto.h"
#include "ssl_init.h"
#include <basis/astring.h>
#include <basis/functions.h>
#include <basis/mutex.h>
#include <loggers/critical_events.h>
#include <loggers/program_wide_logger.h>
#include <mathematics/chaos.h>
#include <structures/static_memory_gremlin.h>
#include <openssl/blowfish.h>
#include <openssl/err.h>
#include <openssl/evp.h>
Go to the source code of this file.
◆ ALWAYS_LOG
◆ DEBUG_BLOWFISH
◆ DISCUSS_KEY_SIZE
| #define DISCUSS_KEY_SIZE |
( |
|
key_size | ) |
|
Value: if (key_size < minimum_key_size()) { \
a_sprintf(
"key size (%d bits) is less than minimum key size %d.", \
key_size, minimum_key_size())); \
} \
if (key_size > maximum_key_size()) { \
a_sprintf(
"key size (%d bits) is greater than maximum key size %d.", \
key_size, maximum_key_size())); \
}
a_sprintf is a specialization of astring that provides printf style support.
#define static_class_name()
Definition at line 64 of file blowfish_crypto.cpp.
◆ DISCUSS_PROVIDED_KEY
| #define DISCUSS_PROVIDED_KEY |
( |
|
key_size, |
|
|
|
key |
|
) |
| |
Value:
a_sprintf(
"key array length (%d) is less than required by key size " \
"(%d bits).", key.length(), key_size)); \
}
#define BITS_PER_BYTE
A fundamental constant measuring the number of bits in a byte.
Definition at line 78 of file blowfish_crypto.cpp.
◆ GET_SSL_ERROR
◆ LOG