diff options
Diffstat (limited to 'crypto/testmgr.h')
-rw-r--r-- | crypto/testmgr.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/crypto/testmgr.h b/crypto/testmgr.h index 132953e144d3..c517e43cfc88 100644 --- a/crypto/testmgr.h +++ b/crypto/testmgr.h | |||
@@ -15,6 +15,8 @@ | |||
15 | #ifndef _CRYPTO_TESTMGR_H | 15 | #ifndef _CRYPTO_TESTMGR_H |
16 | #define _CRYPTO_TESTMGR_H | 16 | #define _CRYPTO_TESTMGR_H |
17 | 17 | ||
18 | #include <crypto/compress.h> | ||
19 | |||
18 | #define MAX_DIGEST_SIZE 64 | 20 | #define MAX_DIGEST_SIZE 64 |
19 | #define MAX_TAP 8 | 21 | #define MAX_TAP 8 |
20 | 22 | ||
@@ -8347,6 +8349,14 @@ struct comp_testvec { | |||
8347 | char output[COMP_BUF_SIZE]; | 8349 | char output[COMP_BUF_SIZE]; |
8348 | }; | 8350 | }; |
8349 | 8351 | ||
8352 | struct pcomp_testvec { | ||
8353 | void *params; | ||
8354 | unsigned int paramsize; | ||
8355 | int inlen, outlen; | ||
8356 | char input[COMP_BUF_SIZE]; | ||
8357 | char output[COMP_BUF_SIZE]; | ||
8358 | }; | ||
8359 | |||
8350 | /* | 8360 | /* |
8351 | * Deflate test vectors (null-terminated strings). | 8361 | * Deflate test vectors (null-terminated strings). |
8352 | * Params: winbits=-11, Z_DEFAULT_COMPRESSION, MAX_MEM_LEVEL. | 8362 | * Params: winbits=-11, Z_DEFAULT_COMPRESSION, MAX_MEM_LEVEL. |