1# timing.plt
2#
3# gnuplot script file for plotting the output generated by srtp_driver -t
4#
5# David A. McGrew
6# Cisco Systems, Inc.
7#
8set xrange [0:2500]
9set term pict "Times-Roman" 9
10#
11# plot authentication-only data
12#
13set title "Authentication Only"
14set ylabel "Megabits per second"
15set xlabel "Octets in packet"
16set yrange [0:2000]
17set output "plot-auth.pict"
18plot "timing.dat" index 0 title "HMAC SHA1" with lines, "timing.dat" index 1 title "TMMH/AES" with lines, "timing.dat" index 2 title "TMMH/SEAL" with lines
19#
20# plot encryption-only data
21#
22set title "Encryption Only"
23set ylabel "Megabits per second"
24set xlabel "Octets in packet"
25set output "plot-enc.pict"
26set yrange [0:1200]
27plot "timing.dat" index 3 title "SEAL" with lines, "timing.dat" index 4 title "AES ICM" with lines
28#
29# plot encryption and authentication data
30#
31set title "Encryption and Authentication"
32set ylabel "Megabits per second"
33set xlabel "Octets in packet"
34set yrange [0:1000]
35set output "plot-enc-auth.pict"
36plot "timing.dat" index 5 title "TMMH/SEAL" with lines, "timing.dat" index 6 title "TMMH/AES" with lines, "timing.dat" index 7 title "HMAC/AES" with lines