File tree Expand file tree Collapse file tree 3 files changed +5
-7
lines changed
Expand file tree Collapse file tree 3 files changed +5
-7
lines changed Original file line number Diff line number Diff line change @@ -99,7 +99,6 @@ namespace Aws
9999 */
100100 void SetBYOCryptoNewSHA512Callback (Crypto::CreateHashCallback &&callback);
101101
102-
103102 /* *
104103 * BYO_CRYPTO: set callback for creating SHA1 hashes.
105104 * If using BYO_CRYPTO, you must call this.
Original file line number Diff line number Diff line change 66#include < aws/crt/Exports.h>
77#include < aws/crt/Types.h>
88
9- #include < aws/checksums/xxhash.h>
10-
11- struct aws_hash ;
9+ struct aws_xxhash ;
1210namespace Aws
1311{
1412 namespace Crt
Original file line number Diff line number Diff line change 22 * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
33 * SPDX-License-Identifier: Apache-2.0.
44 */
5+ #include < aws/checksums/xxhash.h>
56#include < aws/crt/checksum/XXHash.h>
67
78namespace Aws
@@ -10,17 +11,17 @@ namespace Aws
1011 {
1112 namespace Checksum
1213 {
13- bool ComputeXXhash64 (const ByteCursor &input, ByteBuf &output, uint64_t seed = 0 ) noexcept
14+ bool ComputeXXHash64 (const ByteCursor &input, ByteBuf &output, uint64_t seed) noexcept
1415 {
1516 return aws_xxhash64_compute (seed, input, &output) == AWS_OP_SUCCESS;
1617 }
1718
18- bool ComputeXXhash3_64 (const ByteCursor &input, ByteBuf &output, uint64_t seed = 0 ) noexcept
19+ bool ComputeXXHash3_64 (const ByteCursor &input, ByteBuf &output, uint64_t seed) noexcept
1920 {
2021 return aws_xxhash3_64_compute (seed, input, &output) == AWS_OP_SUCCESS;
2122 }
2223
23- bool ComputeXXhash3_128 (const ByteCursor &input, ByteBuf &output, uint64_t seed = 0 ) noexcept
24+ bool ComputeXXHash3_128 (const ByteCursor &input, ByteBuf &output, uint64_t seed) noexcept
2425 {
2526 return aws_xxhash3_128_compute (seed, input, &output) == AWS_OP_SUCCESS;
2627 }
You can’t perform that action at this time.
0 commit comments