aboutsummaryrefslogtreecommitdiff
path: root/src/bench/chacha20.cpp
diff options
context:
space:
mode:
authorPieter Wuille <pieter@wuille.net>2022-09-21 16:58:13 -0400
committerPieter Wuille <pieter@wuille.net>2023-01-30 18:12:21 -0500
commit6babf402130a8f3ef3058594750aeaa50b8f5044 (patch)
tree2f05753f1aba6b98f661c18eb0e2ed632c133cdf /src/bench/chacha20.cpp
parente37bcaa0a6dbb334ab6e817efcb609ccee6edc39 (diff)
downloadbitcoin-6babf402130a8f3ef3058594750aeaa50b8f5044.tar.xz
Rename ChaCha20::Seek -> Seek64 to clarify multiple of 64
Diffstat (limited to 'src/bench/chacha20.cpp')
-rw-r--r--src/bench/chacha20.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bench/chacha20.cpp b/src/bench/chacha20.cpp
index 656fb833e7..8d1d1952bc 100644
--- a/src/bench/chacha20.cpp
+++ b/src/bench/chacha20.cpp
@@ -16,7 +16,7 @@ static void CHACHA20(benchmark::Bench& bench, size_t buffersize)
std::vector<uint8_t> key(32,0);
ChaCha20 ctx(key.data(), key.size());
ctx.SetIV(0);
- ctx.Seek(0);
+ ctx.Seek64(0);
std::vector<uint8_t> in(buffersize,0);
std::vector<uint8_t> out(buffersize,0);
bench.batch(in.size()).unit("byte").run([&] {