summaryrefslogtreecommitdiffstats
path: root/test
Commit message (Collapse)AuthorAgeFilesLines
* netipmid: replace std::cerr with phosphor::logging callsVernon Mauery2018-12-191-1/+0
| | | | | | | | This is part of a cleanup and standardization effort of code to get existing code up to date. Change-Id: I0c982ef8d7afa2f56a9cd204bb8ac3112769641c Signed-off-by: Vernon Mauery <vernon.mauery@linux.intel.com>
* netipmid: move event loop to boost::asio::io_contextVernon Mauery2018-12-111-1/+6
| | | | | | | | | | Replacing the event loop with asio provides for more flexibility and less code than the sd_event model. Intially, this will require the loop to handle both sd_events with a wrapper, but after all the sd_event sources are replaced with asio event sources the wrapper can be removed. Change-Id: Icf020c6c26a214bb1239641733c89603501c0c49 Signed-off-by: Vernon Mauery <vernon.mauery@linux.intel.com>
* netipmid: apply clang-format rulesVernon Mauery2018-11-021-126/+104
| | | | | | | | Lots of whitespace change. Let clang-format do its job and keep the code looking nice. Change-Id: Idfcad1a99cab8170d55a06163de8ad3f420b68b7 Signed-off-by: Vernon Mauery <vernon.mauery@linux.intel.com>
* Add support for OpenSSL 1.1.0Adriana Kobylak2018-09-061-16/+15
| | | | | | | | | | | | | | | | With OpenSSL 1.1.0, some of the functions were deprecated, such as EVP_CIPHER_CTX_cleanup. Replace EVP_CIPHER_CTX_cleanup with EVP_CIPHER_CTX_free and replace EVP_CIPHER_CTX_init with EVP_CIPHER_CTX_new as these are the new recommended interfaces. These exist in OpenSSL 1.0.2 already so this change is backward compatible. Resolves openbmc/openbmc#3135 Change-Id: I937d19708b10c33d9544f27af47963634c2bd36b Signed-off-by: Adriana Kobylak <anoo@us.ibm.com>
* Add support for cipher suite 17Vernon Mauery2017-12-081-0/+173
| | | | | | | | | cipher suite 17 uses RAKP_HMAC_SHA256 for authentication and RAKP_HMAC_SHA256_128 for integrity. This adds those in and fixes up the lookups so the stack knows about the new algorithms. Change-Id: Icdc66563d08060fc0e541ceaf3bee9dd5f89fdb2 Signed-off-by: Vernon Mauery <vernon.mauery@linux.intel.com>
* Prepare for adding RMCP+ cipher suite 17Vernon Mauery2017-12-071-45/+46
| | | | | | | | | | In many places, there are baked-in assumptions about algorithms that tie the session initiation to cipher suite 3. This commit teases out those assumptions and prepares for the next patch that actually adds in the new authentication and integrity algorithms to support cipher suite 17. Change-Id: I2ee3672a7c503b89c5ff0aba30cf7a4601e24d04 Signed-off-by: Vernon Mauery <vernon.mauery@linux.intel.com>
* explicit use of std::vector instead of buffer/BufferVernon Mauery2017-12-051-2/+2
| | | | | | | | | | There were several scoped 'using buffer = std::vector<uint8_t>;' in header files. This consolidates the code base to use std::vector<uint8_t> instead of buffer or Buffer. This makes the code easier to read and debug. Change-Id: I918a0f6ca9b8e4b9d331175dccff45cbf4c8379d Signed-off-by: Vernon Mauery <vernon.mauery@linux.intel.com>
* Enable gtest and write testcases for Integrity & Conf algorithmsTom Joseph2017-02-282-0/+350
Resolves openbmc/openbmc#870 Resolves openbmc/openbmc#447 Change-Id: Idfeaf7b0c458faefc0e825419539f9500ee3ae8c Signed-off-by: Tom Joseph <tomjoseph@in.ibm.com>
OpenPOWER on IntegriCloud