]> Pileus Git - ~andy/linux/blobdiff - crypto/tcrypt.h
crypto: tcrypt - Added speed tests for AEAD crypto alogrithms in tcrypt test suite
[~andy/linux] / crypto / tcrypt.h
index ecdeeb1a7b05116301c2b6bf315319e463d09264..6c7e21a09f78f170905abf74a897c21dee7a39e9 100644 (file)
@@ -22,6 +22,11 @@ struct cipher_speed_template {
        unsigned int klen;
 };
 
+struct aead_speed_template {
+       const char *key;
+       unsigned int klen;
+};
+
 struct hash_speed {
        unsigned int blen;      /* buffer length */
        unsigned int plen;      /* per-update length */
@@ -57,6 +62,11 @@ static u8 speed_template_32_48[] = {32, 48, 0};
 static u8 speed_template_32_48_64[] = {32, 48, 64, 0};
 static u8 speed_template_32_64[] = {32, 64, 0};
 
+/*
+ * AEAD speed tests
+ */
+static u8 aead_speed_template_20[] = {20, 0};
+
 /*
  * Digest speed tests
  */