Home
last modified time | relevance | path

Searched refs:AlgoAES128 (Results 1 – 4 of 4) sorted by relevance

/openbmc/phosphor-net-ipmid/
H A Dcrypt_algo.hpp121 class AlgoAES128 final : public Interface class
145 explicit AlgoAES128(const std::vector<uint8_t>& k2) : Interface(k2) {} in AlgoAES128() function in cipher::crypt::AlgoAES128
147 AlgoAES128() = delete;
148 ~AlgoAES128() = default;
149 AlgoAES128(const AlgoAES128&) = default;
150 AlgoAES128& operator=(const AlgoAES128&) = default;
151 AlgoAES128(AlgoAES128&&) = default;
152 AlgoAES128& operator=(AlgoAES128&&) = default;
H A Dcrypt_algo.cpp18 constexpr std::array<uint8_t, AlgoAES128::AESCBC128BlockSize - 1>
19 AlgoAES128::confPadBytes;
22 AlgoAES128::decryptPayload(const std::vector<uint8_t>& packet, in decryptPayload()
63 AlgoAES128::encryptPayload(std::vector<uint8_t>& payload) const in encryptPayload()
99 std::vector<uint8_t> AlgoAES128::decryptData(const uint8_t* iv, in decryptData()
153 std::vector<uint8_t> AlgoAES128::encryptData(const uint8_t* input, in encryptData()
/openbmc/phosphor-net-ipmid/test/
H A Dcipher.cpp367 auto cryptPtr = std::make_unique<cipher::crypt::AlgoAES128>(k2); in TEST()
388 cipher::crypt::AlgoAES128::AESCBC128BlockSize); in TEST()
393 cipher.data() + cipher::crypt::AlgoAES128::AESCBC128ConfHeader, in TEST()
394 cipher.size() - cipher::crypt::AlgoAES128::AESCBC128ConfHeader)) in TEST()
433 cipher::crypt::AlgoAES128::AESCBC128BlockSize); in TEST()
436 cipher::crypt::AlgoAES128::AESCBC128ConfHeader)) in TEST()
460 ctx, output.data() + cipher::crypt::AlgoAES128::AESCBC128ConfHeader, in TEST()
467 output.resize(cipher::crypt::AlgoAES128::AESCBC128ConfHeader + outputLen); in TEST()
475 auto cryptPtr = std::make_unique<cipher::crypt::AlgoAES128>(k2); in TEST()
/openbmc/phosphor-net-ipmid/command/
H A Drakp34.cpp58 std::make_unique<cipher::crypt::AlgoAES128>(k2)); in applyCryptAlgo()