summaryrefslogtreecommitdiff
path: root/examples/05-python
diff options
context:
space:
mode:
authorPaul Duncan <pabs@pablotron.org>2024-05-04 19:47:37 -0400
committerPaul Duncan <pabs@pablotron.org>2024-05-04 19:47:37 -0400
commit37d5631b9883dc3c10c617729983d918da0ebb79 (patch)
treeb301af4c7df6cce9a894d642e79d6ad8329f9a1f /examples/05-python
parent26a08e25970f30ea2ba6d8dced9e0bcb0ef3f436 (diff)
downloadsha3-37d5631b9883dc3c10c617729983d918da0ebb79.tar.bz2
sha3-37d5631b9883dc3c10c617729983d918da0ebb79.zip
sha3.c: neon: add tests, improve performance (still too slow, see full commit message)
scalar (odroid n2l): pabs@pizza:~/git/sha3/tests/bench> ./bench 1000 info: cpucycles: version=20240318 implementation=arm64-vct persecond=1800000000 info: backend=scalar num_trials=1000 src_lens=64,256,1024,4096,16384 dst_lens=32 function,dst_len,64,256,1024,4096,16384 sha3_224,28,34.0,16.4,15.5,14.0,13.7 sha3_256,32,34.0,16.1,15.4,14.8,14.4 sha3_384,48,34.0,23.4,19.0,18.8,18.6 sha3_512,64,34.0,30.8,28.1,26.5,26.5 shake128,32,34.0,16.1,13.6,12.1,11.8 shake256,32,34.0,16.1,15.5,14.8,14.4 neon (odroid n2l): pabs@pizza:~/git/sha3/tests/bench> ./bench 1000 info: cpucycles: version=20240318 implementation=arm64-vct persecond=1800000000 info: backend=neon num_trials=1000 src_lens=64,256,1024,4096,16384 dst_lens=32 function,dst_len,64,256,1024,4096,16384 sha3_224,28,65.6,32.5,31.8,28.7,28.2 sha3_256,32,65.6,32.5,31.9,30.8,30.0 sha3_384,48,65.6,48.0,39.7,39.5,39.0 sha3_512,64,68.0,63.9,59.1,56.0,55.9 shake128,32,65.6,32.5,28.4,25.4,24.8 shake256,32,65.6,32.5,31.6,30.5,29.7
Diffstat (limited to 'examples/05-python')
0 files changed, 0 insertions, 0 deletions