summaryrefslogtreecommitdiff
path: root/src/mongo/crypto/sha256_block.h
diff options
context:
space:
mode:
authorDaniel Moody <daniel.moody@mongodb.com>2021-07-29 15:28:20 -0500
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2021-08-02 23:52:53 +0000
commit27f328ad14b8fbc006c5c4103becd0f6a3aaaa5c (patch)
treedf483a3165f012efe9c395e4bae67aa8097fe1ab /src/mongo/crypto/sha256_block.h
parenteae9041c1c1320a15a6b13f3f1d4770a2b96e085 (diff)
downloadmongo-27f328ad14b8fbc006c5c4103becd0f6a3aaaa5c.tar.gz
SERVER-57446 fix clang-tidy header issues and add header-filter
Diffstat (limited to 'src/mongo/crypto/sha256_block.h')
-rw-r--r--src/mongo/crypto/sha256_block.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mongo/crypto/sha256_block.h b/src/mongo/crypto/sha256_block.h
index 82f3f17f3df..606e36cf516 100644
--- a/src/mongo/crypto/sha256_block.h
+++ b/src/mongo/crypto/sha256_block.h
@@ -43,12 +43,12 @@ struct SHA256BlockTraits {
static constexpr StringData name = "SHA256Block"_sd;
- static void computeHash(std::initializer_list<ConstDataRange> input, HashType* const output);
+ static void computeHash(std::initializer_list<ConstDataRange> input, HashType* output);
static void computeHmac(const uint8_t* key,
size_t keyLen,
std::initializer_list<ConstDataRange> input,
- HashType* const output);
+ HashType* output);
};
using SHA256Block = HashBlock<SHA256BlockTraits>;