summaryrefslogtreecommitdiff
path: root/data-analysis-router/ciphers/gather.sh
diff options
context:
space:
mode:
authorJJ <[email protected]>2022-06-28 21:25:59 -0400
committerJJ <[email protected]>2022-06-28 21:25:59 -0400
commitf816eb92e9b30a5721bb9e5d7f0b1ce90161116f (patch)
treef1ca7481c963183612d77efaa91dfa6f6b41b869 /data-analysis-router/ciphers/gather.sh
parent0609b02f82321577ba80cd368c6085fd0442f3f7 (diff)
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
Diffstat (limited to 'data-analysis-router/ciphers/gather.sh')
-rw-r--r--data-analysis-router/ciphers/gather.sh16
1 files changed, 16 insertions, 0 deletions
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