aboutsummaryrefslogtreecommitdiffstats
path: root/crypto/testmgr.h
diff options
context:
space:
mode:
Diffstat (limited to 'crypto/testmgr.h')
-rw-r--r--crypto/testmgr.h75
1 files changed, 75 insertions, 0 deletions
diff --git a/crypto/testmgr.h b/crypto/testmgr.h
index 15c043f74b18..429357339dcc 100644
--- a/crypto/testmgr.h
+++ b/crypto/testmgr.h
@@ -33204,6 +33204,81 @@ static const struct comp_testvec deflate_decomp_tv_template[] = {
33204 }, 33204 },
33205}; 33205};
33206 33206
33207static const struct comp_testvec zlib_deflate_comp_tv_template[] = {
33208 {
33209 .inlen = 70,
33210 .outlen = 44,
33211 .input = "Join us now and share the software "
33212 "Join us now and share the software ",
33213 .output = "\x78\x5e\xf3\xca\xcf\xcc\x53\x28"
33214 "\x2d\x56\xc8\xcb\x2f\x57\x48\xcc"
33215 "\x4b\x51\x28\xce\x48\x2c\x4a\x55"
33216 "\x28\xc9\x48\x55\x28\xce\x4f\x2b"
33217 "\x29\x07\x71\xbc\x08\x2b\x01\x00"
33218 "\x7c\x65\x19\x3d",
33219 }, {
33220 .inlen = 191,
33221 .outlen = 129,
33222 .input = "This document describes a compression method based on the DEFLATE"
33223 "compression algorithm. This document defines the application of "
33224 "the DEFLATE algorithm to the IP Payload Compression Protocol.",
33225 .output = "\x78\x5e\x5d\xce\x41\x0a\xc3\x30"
33226 "\x0c\x04\xc0\xaf\xec\x0b\xf2\x87"
33227 "\xd2\xa6\x50\xe8\xc1\x07\x7f\x40"
33228 "\xb1\x95\x5a\x60\x5b\xc6\x56\x0f"
33229 "\xfd\x7d\x93\x1e\x42\xe8\x51\xec"
33230 "\xee\x20\x9f\x64\x20\x6a\x78\x17"
33231 "\xae\x86\xc8\x23\x74\x59\x78\x80"
33232 "\x10\xb4\xb4\xce\x63\x88\x56\x14"
33233 "\xb6\xa4\x11\x0b\x0d\x8e\xd8\x6e"
33234 "\x4b\x8c\xdb\x7c\x7f\x5e\xfc\x7c"
33235 "\xae\x51\x7e\x69\x17\x4b\x65\x02"
33236 "\xfc\x1f\xbc\x4a\xdd\xd8\x7d\x48"
33237 "\xad\x65\x09\x64\x3b\xac\xeb\xd9"
33238 "\xc2\x01\xc0\xf4\x17\x3c\x1c\x1c"
33239 "\x7d\xb2\x52\xc4\xf5\xf4\x8f\xeb"
33240 "\x6a\x1a\x34\x4f\x5f\x2e\x32\x45"
33241 "\x4e",
33242 },
33243};
33244
33245static const struct comp_testvec zlib_deflate_decomp_tv_template[] = {
33246 {
33247 .inlen = 128,
33248 .outlen = 191,
33249 .input = "\x78\x9c\x5d\x8d\x31\x0e\xc2\x30"
33250 "\x10\x04\xbf\xb2\x2f\xc8\x1f\x10"
33251 "\x04\x09\x89\xc2\x85\x3f\x70\xb1"
33252 "\x2f\xf8\x24\xdb\x67\xd9\x47\xc1"
33253 "\xef\x49\x68\x12\x51\xae\x76\x67"
33254 "\xd6\x27\x19\x88\x1a\xde\x85\xab"
33255 "\x21\xf2\x08\x5d\x16\x1e\x20\x04"
33256 "\x2d\xad\xf3\x18\xa2\x15\x85\x2d"
33257 "\x69\xc4\x42\x83\x23\xb6\x6c\x89"
33258 "\x71\x9b\xef\xcf\x8b\x9f\xcf\x33"
33259 "\xca\x2f\xed\x62\xa9\x4c\x80\xff"
33260 "\x13\xaf\x52\x37\xed\x0e\x52\x6b"
33261 "\x59\x02\xd9\x4e\xe8\x7a\x76\x1d"
33262 "\x02\x98\xfe\x8a\x87\x83\xa3\x4f"
33263 "\x56\x8a\xb8\x9e\x8e\x5c\x57\xd3"
33264 "\xa0\x79\xfa\x02\x2e\x32\x45\x4e",
33265 .output = "This document describes a compression method based on the DEFLATE"
33266 "compression algorithm. This document defines the application of "
33267 "the DEFLATE algorithm to the IP Payload Compression Protocol.",
33268 }, {
33269 .inlen = 44,
33270 .outlen = 70,
33271 .input = "\x78\x9c\xf3\xca\xcf\xcc\x53\x28"
33272 "\x2d\x56\xc8\xcb\x2f\x57\x48\xcc"
33273 "\x4b\x51\x28\xce\x48\x2c\x4a\x55"
33274 "\x28\xc9\x48\x55\x28\xce\x4f\x2b"
33275 "\x29\x07\x71\xbc\x08\x2b\x01\x00"
33276 "\x7c\x65\x19\x3d",
33277 .output = "Join us now and share the software "
33278 "Join us now and share the software ",
33279 },
33280};
33281
33207/* 33282/*
33208 * LZO test vectors (null-terminated strings). 33283 * LZO test vectors (null-terminated strings).
33209 */ 33284 */