Loading ccsrc/Externals/LibItsSecurity_externals.cc +2 −2 Original line number Diff line number Diff line Loading @@ -296,10 +296,10 @@ namespace LibItsSecurity__Functions } // Encrypt the symmetric encryption key using existing nonce and symmetric encryption key std::vector<unsigned char> enc_eph_key; /* TODO if (ec.encrypt(encryption_algotithm::aes_128_ccm, ec_ecies.ephemeral_key(), ec.symmetric_encryption_key(), enc_eph_key) == -1) { if (ec.encrypt(encryption_algotithm::aes_128_ccm, ec_ecies.ephemeral_key(), ec.nonce(), ec.symmetric_encryption_key(), enc_eph_key) == -1) { loggers::get_instance().warning("fx__encryptWithEciesNistp256WithSha256: Failed to encrypt message"); return OCTETSTRING(); }*/ } p__ephKey = OCTETSTRING(enc_eph_key.size(), enc_eph_key.data()); loggers::get_instance().log_to_hexa("fx__encryptWithEciesNistp256WithSha256: p__ephKey: ", ec.ephemeral_key().data(), ec.ephemeral_key().size()); loggers::get_instance().log_to_hexa("fx__encryptWithEciesNistp256WithSha256: Encrypted p__ephKey: ", p__ephKey); Loading ccsrc/Protocols/BTP/btp_types.hh +0 −1 Original line number Diff line number Diff line Loading @@ -11,6 +11,5 @@ #pragma once using namespace std; // Required for isnan() #include "LibItsBtp_TypesAndValues.hh" #include "LibItsBtp_TestSystem.hh" ccsrc/Protocols/CAM/cam_types.hh +0 −1 Original line number Diff line number Diff line Loading @@ -11,6 +11,5 @@ #pragma once using namespace std; // Required for isnan() #include "LibItsCam_TypesAndValues.hh" #include "LibItsCam_TestSystem.hh" ccsrc/Protocols/DENM/denm_types.hh +0 −1 Original line number Diff line number Diff line Loading @@ -11,6 +11,5 @@ #pragma once using namespace std; // Required for isnan() #include "LibItsDenm_TypesAndValues.hh" #include "LibItsDenm_TestSystem.hh" ccsrc/Protocols/IVIM/IVIMTypes.hh +0 −1 Original line number Diff line number Diff line Loading @@ -2,7 +2,6 @@ #define IVIMTYPES_H using namespace std; // Required for isnan() #include "LibItsIvim_TypesAndValues.hh" #include "LibItsIvim_TestSystem.hh" Loading Loading
ccsrc/Externals/LibItsSecurity_externals.cc +2 −2 Original line number Diff line number Diff line Loading @@ -296,10 +296,10 @@ namespace LibItsSecurity__Functions } // Encrypt the symmetric encryption key using existing nonce and symmetric encryption key std::vector<unsigned char> enc_eph_key; /* TODO if (ec.encrypt(encryption_algotithm::aes_128_ccm, ec_ecies.ephemeral_key(), ec.symmetric_encryption_key(), enc_eph_key) == -1) { if (ec.encrypt(encryption_algotithm::aes_128_ccm, ec_ecies.ephemeral_key(), ec.nonce(), ec.symmetric_encryption_key(), enc_eph_key) == -1) { loggers::get_instance().warning("fx__encryptWithEciesNistp256WithSha256: Failed to encrypt message"); return OCTETSTRING(); }*/ } p__ephKey = OCTETSTRING(enc_eph_key.size(), enc_eph_key.data()); loggers::get_instance().log_to_hexa("fx__encryptWithEciesNistp256WithSha256: p__ephKey: ", ec.ephemeral_key().data(), ec.ephemeral_key().size()); loggers::get_instance().log_to_hexa("fx__encryptWithEciesNistp256WithSha256: Encrypted p__ephKey: ", p__ephKey); Loading
ccsrc/Protocols/BTP/btp_types.hh +0 −1 Original line number Diff line number Diff line Loading @@ -11,6 +11,5 @@ #pragma once using namespace std; // Required for isnan() #include "LibItsBtp_TypesAndValues.hh" #include "LibItsBtp_TestSystem.hh"
ccsrc/Protocols/CAM/cam_types.hh +0 −1 Original line number Diff line number Diff line Loading @@ -11,6 +11,5 @@ #pragma once using namespace std; // Required for isnan() #include "LibItsCam_TypesAndValues.hh" #include "LibItsCam_TestSystem.hh"
ccsrc/Protocols/DENM/denm_types.hh +0 −1 Original line number Diff line number Diff line Loading @@ -11,6 +11,5 @@ #pragma once using namespace std; // Required for isnan() #include "LibItsDenm_TypesAndValues.hh" #include "LibItsDenm_TestSystem.hh"
ccsrc/Protocols/IVIM/IVIMTypes.hh +0 −1 Original line number Diff line number Diff line Loading @@ -2,7 +2,6 @@ #define IVIMTYPES_H using namespace std; // Required for isnan() #include "LibItsIvim_TypesAndValues.hh" #include "LibItsIvim_TestSystem.hh" Loading