Enable clang-tidy and apply fixes
Enable clang-tidy, fix the compile issue and fix the clang-tidy issues.
Signed-off-by: Lei YU <yulei.sh@bytedance.com>
Change-Id: I6250c6519a725c07b0cd10abe464fda97a2aebd7
diff --git a/integrity_algo.hpp b/integrity_algo.hpp
index 6ba6340..4d6674f 100644
--- a/integrity_algo.hpp
+++ b/integrity_algo.hpp
@@ -212,8 +212,9 @@
* @return on success returns the Kn based on HMAC-SHA1
*
*/
- std::vector<uint8_t> generateKn(const std::vector<uint8_t>& sik,
- const rmcp::Const_n& const_n) const;
+ std::vector<uint8_t> generateKn(
+ const std::vector<uint8_t>& sik,
+ const rmcp::Const_n& const_n) const override;
private:
/**
@@ -297,8 +298,9 @@
* @return on success returns the Kn based on HMAC-SHA256
*
*/
- std::vector<uint8_t> generateKn(const std::vector<uint8_t>& sik,
- const rmcp::Const_n& const_n) const;
+ std::vector<uint8_t> generateKn(
+ const std::vector<uint8_t>& sik,
+ const rmcp::Const_n& const_n) const override;
private:
/**