From 10561369b131afc7ce6d26aaa44feceb69948632 Mon Sep 17 00:00:00 2001 From: "Wladimir J. van der Laan" Date: Fri, 1 May 2020 12:38:44 +0000 Subject: [PATCH] rust: Add benchmark output to README.md --- rust/cryptest/README.md | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/rust/cryptest/README.md b/rust/cryptest/README.md index 4d32f8c..debda5c 100644 --- a/rust/cryptest/README.md +++ b/rust/cryptest/README.md @@ -1,3 +1,14 @@ # `cryptest` -Test the cryptographic acceleration engines of the K210. +Test and benchmark the cryptographic acceleration engines of the K210 compared +to rust CPU implementations. + +Example benchmark output: + +``` +SHA256 hw (4194240 bytes): MATCH (12542 kB/s) +SHA256 hw, 32bit (4194240 bytes): MATCH (18965 kB/s) +SHA256 sw (4194240 bytes): MATCH (5087 kB/s) +AES128 hw, 32bit (262144 bytes): (6247 kB/s) +AES128 sw (262144 bytes): (394 kB/s) +```