]> Git Repo - linux.git/blobdiff - crypto/testmgr.h
crypto: testmgr - Add support for the pcomp interface
[linux.git] / crypto / testmgr.h
index 132953e144d34bcb0766f4eebfce32107c7a489b..c517e43cfc88b5396d42ed388b67c5012c1ea4c5 100644 (file)
@@ -15,6 +15,8 @@
 #ifndef _CRYPTO_TESTMGR_H
 #define _CRYPTO_TESTMGR_H
 
+#include <crypto/compress.h>
+
 #define MAX_DIGEST_SIZE                64
 #define MAX_TAP                        8
 
@@ -8347,6 +8349,14 @@ struct comp_testvec {
        char output[COMP_BUF_SIZE];
 };
 
+struct pcomp_testvec {
+       void *params;
+       unsigned int paramsize;
+       int inlen, outlen;
+       char input[COMP_BUF_SIZE];
+       char output[COMP_BUF_SIZE];
+};
+
 /*
  * Deflate test vectors (null-terminated strings).
  * Params: winbits=-11, Z_DEFAULT_COMPRESSION, MAX_MEM_LEVEL.
This page took 0.03008 seconds and 4 git commands to generate.