Home | History | Annotate | Download | only in srtp
      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 #
      8 set xrange [0:2500]
      9 set term pict "Times-Roman" 9
     10 #
     11 # plot authentication-only data
     12 #
     13 set title "Authentication Only"
     14 set ylabel "Megabits per second"
     15 set xlabel "Octets in packet"
     16 set yrange [0:2000]
     17 set output "plot-auth.pict"
     18 plot "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 #
     22 set title "Encryption Only"
     23 set ylabel "Megabits per second"
     24 set xlabel "Octets in packet"
     25 set output "plot-enc.pict"
     26 set yrange [0:1200]
     27 plot "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 #
     31 set title "Encryption and Authentication"
     32 set ylabel "Megabits per second"
     33 set xlabel "Octets in packet"
     34 set yrange [0:1000]
     35 set output "plot-enc-auth.pict"
     36 plot "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