LibHac/tests/LibHac.Tests/CryptoTests/TestVectors/XTSAES128Long.rsp
Alex Barney 506a4691bb Fix transforming data with .NET's AES crypto functions
Input data with sizes larger than 512 bytes that weren't powers of two would fail when copying to the output buffer because rented arrays come in powers of two. This limits the copy size to the number of bytes that were actually encrypted or decrypted.
2022-11-23 14:49:59 -07:00

22 lines
4.5 KiB
Text

# Large AES-XTS-128 test vectors
[ENCRYPT]
COUNT = 0
DataUnitLen = 4224
Key = abe2a7fa9b9ef3b971158c7832dff7a7ba4805384867d0672bd22d95c59d9938
i = 3a574e50ed8de48f70a9b1cea6a1bb7c
PT = 0d39a7de0800f7458a11d8b5dc79bae8e4965e5620c4f4d7feea4bab4c2587f5008eb76396144da787e2f7f3878484fdb5959f8ff685ce47335183a17307616e06892ed04754788fa203a1d40370ecfaf3ad760b86e68b630d1ab4aea0fff36f5f318ffe7c1efbad013d5e57c44a7313135f648e6db549c04425b6d9b3016d4a73708d7363db59fa111b37516a4d3c497900de151388f6edeace04a3f8556f2aa354e3885e200d61917ef13a0a5b12f33bb64acf8bb9d54c500658856cd37c594caa5b239552dd686b1e4452d884252ac62dc594cfe21027b1776d38d134c746681572bccffc9ae1f8d1f194f9cfa4a4ed3794943d824511b812cc9a96b18b83373b32b5e8df64ac66d93a10ac17b06206a6c179d32f32ce05bae35f61c8f4048e48319bc603e3994de0125dbf472e5537187c92c3cfc94e16c83029ee50474799d91c4530a64f9252d794abd66585965c369444b150e06b3a0b53f8cb2b3ba1d962f954dd6fb03a7572d387ac24ff86df7ded63caf4e4a37bb1305ead70900955ed02ced4e63c7c4336558cd822bc8d60ffb32dc552a42b5219f9b6f8073879e6f938ffbcd6a3c53244e84499e0585eaa76628a34dd65cafafab5d4916b182dd6b506577287ca4cc5eedda6bb5f5ab180619f8a0c11f314e1291a4a037383c1f0a384508712037147811ff5108bc15fcbe009a00570072048f1c312260a89597488f5af77faa62e29de9edeb23a1e9d
CT = ca939e1e905d72092b20bd779732587cab1250f61d4caa36e244c7fcfb9a04ac8d4dec1d42bbe8dc989a2ed4aa18a756d195215695c96db80b5310d4a86ada1afef7535b3866fea036311b6cbaf7ee6887441b2ef83ab40ec1ef937a74275437208f33f646fb799fd7d78a0d0b466b36351264c1a6a8a4dad7f4a25e886d9b8ccc3074166655bfb11b52df57e274d2cd9e6ce0f019d19f41093b37032bf885e0859314d8b30c5b714b70de1a8b83350b4c4521d62c362eeaf9a54cc84a645775e324fe46d68b417b80d68f8e6fdcac6c7cecd90831470f475d710019b4b0d7919515b41ca177ec184b0f0052dbbbcd3a70af032806d2717f1aae9391943dbca5fb5baff59cbc6cfef2c540761425382a7307630db9a49b3321de954cca4c8ca26ec31bf3b224da2b2ef2062370c474e5ba3fadd3f5605f75dcdd6e49b857c7b83354fbd271b7cc33dc8243d837db316c30c59fe33256c4fdea47bcf3f2d0eb56ea1b042e459372666a90cd7ca6bb416a6f6b1d46aa2d58cbfc9ae7d835baaad43f0e8bd344e8622a8b3a48cf7a55c28b6aba74ca663df93f47586f3c8ebb5382fcc6a25905cebe4bd5b5031f4b94dd2800fd17827555bbbf2a23acd943721e8259b36e365ce9dbc4df4b0d8000ecbbea504623ee75dcbaa978da538eb96bcb15662d6390802bde8a338dd4266cee6a5220d20e052a6595831cece22e14687034ce0666bde7579efbdf02325c2bdfcd97
[DECRYPT]
COUNT = 0
DataUnitLen = 4224
Key = abe2a7fa9b9ef3b971158c7832dff7a7ba4805384867d0672bd22d95c59d9938
i = 3a574e50ed8de48f70a9b1cea6a1bb7c
PT = 0d39a7de0800f7458a11d8b5dc79bae8e4965e5620c4f4d7feea4bab4c2587f5008eb76396144da787e2f7f3878484fdb5959f8ff685ce47335183a17307616e06892ed04754788fa203a1d40370ecfaf3ad760b86e68b630d1ab4aea0fff36f5f318ffe7c1efbad013d5e57c44a7313135f648e6db549c04425b6d9b3016d4a73708d7363db59fa111b37516a4d3c497900de151388f6edeace04a3f8556f2aa354e3885e200d61917ef13a0a5b12f33bb64acf8bb9d54c500658856cd37c594caa5b239552dd686b1e4452d884252ac62dc594cfe21027b1776d38d134c746681572bccffc9ae1f8d1f194f9cfa4a4ed3794943d824511b812cc9a96b18b83373b32b5e8df64ac66d93a10ac17b06206a6c179d32f32ce05bae35f61c8f4048e48319bc603e3994de0125dbf472e5537187c92c3cfc94e16c83029ee50474799d91c4530a64f9252d794abd66585965c369444b150e06b3a0b53f8cb2b3ba1d962f954dd6fb03a7572d387ac24ff86df7ded63caf4e4a37bb1305ead70900955ed02ced4e63c7c4336558cd822bc8d60ffb32dc552a42b5219f9b6f8073879e6f938ffbcd6a3c53244e84499e0585eaa76628a34dd65cafafab5d4916b182dd6b506577287ca4cc5eedda6bb5f5ab180619f8a0c11f314e1291a4a037383c1f0a384508712037147811ff5108bc15fcbe009a00570072048f1c312260a89597488f5af77faa62e29de9edeb23a1e9d
CT = ca939e1e905d72092b20bd779732587cab1250f61d4caa36e244c7fcfb9a04ac8d4dec1d42bbe8dc989a2ed4aa18a756d195215695c96db80b5310d4a86ada1afef7535b3866fea036311b6cbaf7ee6887441b2ef83ab40ec1ef937a74275437208f33f646fb799fd7d78a0d0b466b36351264c1a6a8a4dad7f4a25e886d9b8ccc3074166655bfb11b52df57e274d2cd9e6ce0f019d19f41093b37032bf885e0859314d8b30c5b714b70de1a8b83350b4c4521d62c362eeaf9a54cc84a645775e324fe46d68b417b80d68f8e6fdcac6c7cecd90831470f475d710019b4b0d7919515b41ca177ec184b0f0052dbbbcd3a70af032806d2717f1aae9391943dbca5fb5baff59cbc6cfef2c540761425382a7307630db9a49b3321de954cca4c8ca26ec31bf3b224da2b2ef2062370c474e5ba3fadd3f5605f75dcdd6e49b857c7b83354fbd271b7cc33dc8243d837db316c30c59fe33256c4fdea47bcf3f2d0eb56ea1b042e459372666a90cd7ca6bb416a6f6b1d46aa2d58cbfc9ae7d835baaad43f0e8bd344e8622a8b3a48cf7a55c28b6aba74ca663df93f47586f3c8ebb5382fcc6a25905cebe4bd5b5031f4b94dd2800fd17827555bbbf2a23acd943721e8259b36e365ce9dbc4df4b0d8000ecbbea504623ee75dcbaa978da538eb96bcb15662d6390802bde8a338dd4266cee6a5220d20e052a6595831cece22e14687034ce0666bde7579efbdf02325c2bdfcd97