From 3697dcff8b5e9765b41114281ce10e7ed3d3abb4 Mon Sep 17 00:00:00 2001 From: lloyd Date: Wed, 13 Oct 2010 02:56:03 +0000 Subject: s/BLOCK_SIZE/block_size()/ --- src/benchmark/benchmark.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/benchmark') diff --git a/src/benchmark/benchmark.cpp b/src/benchmark/benchmark.cpp index 46dcfb58c..837d66c05 100644 --- a/src/benchmark/benchmark.cpp +++ b/src/benchmark/benchmark.cpp @@ -48,7 +48,7 @@ bench_block_cipher(BlockCipher* block_cipher, u64bit nanoseconds_max, byte buf[], size_t buf_len) { - const size_t in_blocks = buf_len / block_cipher->BLOCK_SIZE; + const size_t in_blocks = buf_len / block_cipher->block_size(); u64bit reps = 0; u64bit nanoseconds_used = 0; @@ -64,7 +64,7 @@ bench_block_cipher(BlockCipher* block_cipher, ++reps; } - return std::make_pair(reps * in_blocks * block_cipher->BLOCK_SIZE, + return std::make_pair(reps * in_blocks * block_cipher->block_size(), nanoseconds_used); } -- cgit v1.2.3