summaryrefslogtreecommitdiffstats
path: root/crypt_algo.hpp
Commit message (Collapse)AuthorAgeFilesLines
* netipmid: apply clang-format rulesVernon Mauery2018-11-021-154/+151
| | | | | | | | 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>
* Remove the support for insecure protocols in RMCP+Tom Joseph2018-07-301-3/+4
| | | | | | | | | | | | | | | The two supported Cipher suites for RMCP+ will be cipher Suite 3 and 17 after this change. The cipher suite 3 is the default choice for the ipmitool if the cipher suite is not explicitly mentioned. The supported algorithms are the following: Authentication: a) RAKP-HMAC-SHA1, b) RAKP-HMAC-SHA256 Integrity: a) HMAC-SHA1-9, b) HMAC-SHA256-128 Confidentiality: a) AES-CBC-128 Change-Id: Ia2fbaae29235e4bd43c42b59a2295a2db28efce3 Signed-off-by: Tom Joseph <tomjoseph@in.ibm.com>
* Prepare for adding RMCP+ cipher suite 17Vernon Mauery2017-12-071-27/+4
| | | | | | | | | | 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-12/+13
| | | | | | | | | | 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>
* Validate Confidentiality Algo in Open Session requestTom Joseph2017-02-241-0/+20
| | | | | Change-Id: I208e09926a18e215212564eca3203094015724c9 Signed-off-by: Tom Joseph <tomjoseph@in.ibm.com>
* Add documentation for Cipher Key K2Tom Joseph2017-02-231-1/+5
| | | | | Change-Id: I401bffba92ea0adc05b74cdd11b2105b5148d667 Signed-off-by: Tom Joseph <tomjoseph@in.ibm.com>
* Interfaces for the AES-CBC-128 Confidentiality AlgoTom Joseph2017-02-221-0/+116
| | | | | Change-Id: I62c06435dfe95bf86c2a49873d8ab25116588afb Signed-off-by: Tom Joseph <tomjoseph@in.ibm.com>
* Interfaces for the Confidentiality AlgorithmTom Joseph2017-02-221-0/+92
This patch defines the interfaces for the confidentaility algorithm. It provides API to decrypt the cipher payload and encrypt the plain text payload. Change-Id: I0c47ee14d5d5574c4d4996e437dffcaa2aa62f9a Signed-off-by: Tom Joseph <tomjoseph@in.ibm.com>
OpenPOWER on IntegriCloud