Force WolfSSL side-channel resistance
There seems to be some build-bug in WolfSSL, such that even though --enable-harden (HARDEN) is default, it's not set correctly in options.h . So we define it correctly just after parsing all other config options BUT BEFORE we load the rest of WolfSSL headers. These will be defined no matter what options are given to wolfssl ./configure: ECC_TIMING_RESISTANT TFM_TIMING_RESISTANT
This commit is contained in:
@@ -33,10 +33,7 @@ bool operator==(const _NODE_ADDR b) const
|
||||
}
|
||||
} NODE_ADDR, *PNODE_ADDR;
|
||||
|
||||
/**
|
||||
* @brief A class to wrap some of hush specific TLS functionalities used in the net.cpp
|
||||
*
|
||||
*/
|
||||
// A class to wrap some of hush specific TLS functionalities used in the net.cpp
|
||||
class TLSManager
|
||||
{
|
||||
public:
|
||||
|
||||
Reference in New Issue
Block a user