Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: kirkrodrigues <[email protected]>
  • Loading branch information
haiqi96 and kirkrodrigues authored Jul 30, 2024
1 parent e6109d2 commit 63f4673
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion components/core/src/clp/hash_utils.hpp
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
#ifndef CLP_HASH_UTILS_HPP
#define CLP_HASH_UTILS_HPP

#include <cstddef>
#include <span>
#include <string>
#include <utility>
#include <vector>

#include "ErrorCode.hpp"
Expand Down Expand Up @@ -52,6 +52,7 @@ class HashUtilsOperationFailed : public TraceableException {
* @return ErrorCode_Success on success.
* @return ErrorCode_BadParam if `key` is longer than `INT32_MAX`.
* @return ErrorCode_Failure if hash generation fails.
* @return ErrorCode_Corrupt if `hash` has an unexpected length.
*/
[[nodiscard]] auto get_hmac_sha256_hash(
std::span<unsigned char const> input,
Expand Down

0 comments on commit 63f4673

Please sign in to comment.