aboutsummaryrefslogtreecommitdiffstats
path: root/resources/roles/openssl/templates
diff options
context:
space:
mode:
authorYujun Zhang <zhang.yujunz@zte.com.cn>2017-04-21 12:13:25 +0800
committerYujun Zhang <zhang.yujunz@zte.com.cn>2017-04-21 13:55:18 +0800
commit1f8e4ddcc850e59909778cc583811353f338001a (patch)
tree3d417afbbbaa319af75eed46d81d0e17c5dc5f0c /resources/roles/openssl/templates
parentda1b699e26f5b876c784ced944ec625b17511b7a (diff)
Add AES testing in SSL metrics
Change-Id: Iee1b1711d9ce07c468bc390966c55bd49abea228 Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
Diffstat (limited to 'resources/roles/openssl/templates')
-rw-r--r--resources/roles/openssl/templates/ssl-metrics.j226
1 files changed, 24 insertions, 2 deletions
diff --git a/resources/roles/openssl/templates/ssl-metrics.j2 b/resources/roles/openssl/templates/ssl-metrics.j2
index 8dedf352..6f8f8c71 100644
--- a/resources/roles/openssl/templates/ssl-metrics.j2
+++ b/resources/roles/openssl/templates/ssl-metrics.j2
@@ -1,3 +1,25 @@
-SSL
-===
+SSL metrics
+===========
+{{ ('Tool', 'openssl')|justify }}
+
+RSA
+---
+
+{{ ('Sign 512 bits', ssl_rsa_metrics.rsa_sign_512)|justify }}
+{{ ('Verify 512 bits', ssl_rsa_metrics.rsa_verify_512)|justify }}
+{{ ('Sign 1024 bits', ssl_rsa_metrics.rsa_sign_1024)|justify }}
+{{ ('Verify 1024 bits', ssl_rsa_metrics.rsa_verify_1024)|justify }}
+{{ ('Sign 2048 bits', ssl_rsa_metrics.rsa_sign_2048)|justify }}
+{{ ('Verify 2048 bits', ssl_rsa_metrics.rsa_verify_2048)|justify }}
+{{ ('Sign 4096 bits', ssl_rsa_metrics.rsa_sign_4096)|justify }}
+{{ ('Verify 4096 bits', ssl_rsa_metrics.rsa_verify_4096)|justify }}
+
+AES
+---
+
+{{ ('128 CBC 16 bytes', ssl_aes_metrics.aes_128_cbc_16_bytes)|justify }}
+{{ ('128 CBC 64 bytes', ssl_aes_metrics.aes_128_cbc_64_bytes)|justify }}
+{{ ('128 CBC 256 bytes', ssl_aes_metrics.aes_128_cbc_256_bytes)|justify }}
+{{ ('128 CBC 1024 bytes', ssl_aes_metrics.aes_128_cbc_1024_bytes)|justify }}
+{{ ('128 CBC 8192 bytes', ssl_aes_metrics.aes_128_cbc_8192_bytes)|justify }}