summaryrefslogtreecommitdiff
path: root/data-analysis-router/ciphers/gather.sh
diff options
context:
space:
mode:
authorWill Hawkins <[email protected]>2022-06-29 10:15:43 -0400
committerGitHub <[email protected]>2022-06-29 10:15:43 -0400
commit631a845c807c0e9aca897f231763d3dcec76de20 (patch)
treef1ca7481c963183612d77efaa91dfa6f6b41b869 /data-analysis-router/ciphers/gather.sh
parent0609b02f82321577ba80cd368c6085fd0442f3f7 (diff)
parentf816eb92e9b30a5721bb9e5d7f0b1ce90161116f (diff)
Merge pull request #31 from network-quality/data-analysis-router
Cipher comparison on non-AES hardware
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