From f816eb92e9b30a5721bb9e5d7f0b1ce90161116f Mon Sep 17 00:00:00 2001 From: JJ <60529194+Schickendantzj@users.noreply.github.com> Date: Tue, 28 Jun 2022 21:25:59 -0400 Subject: Cipher comparison on non-AES hardware Compares measurement capabilities (for AES vs CHACHA ciphers) on an older "low-end" router that does not have AES hardware support. More information in README.md --- data-analysis-router/ciphers/gather.sh | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 data-analysis-router/ciphers/gather.sh (limited to 'data-analysis-router/ciphers/gather.sh') diff --git a/data-analysis-router/ciphers/gather.sh b/data-analysis-router/ciphers/gather.sh new file mode 100644 index 0000000..735b3c5 --- /dev/null +++ b/data-analysis-router/ciphers/gather.sh @@ -0,0 +1,16 @@ +#!/bin/sh + +CHACHALOG="originalSamples.log" +AESLOG="patchSamples.log" +i=0 + +while [ "$i" -lt 100 ] +do + date >> ${CHACHALOG} + ./networkQARM5 -config rpm.obs.cr -path config -port 4043 >> ${CHACHALOG} + echo "Done with original (CHACHA) run (#${i})" + date >> ${AESLOG} + ./networkQARM5Patch -config rpm.obs.cr -path config -port 4043 >> ${AESLOG} + echo "Done with patch (AES) run (#${i})" + i=`expr $i + 1` +done \ No newline at end of file -- cgit v1.2.3