mirror of
https://github.com/Thealexbarney/LibHac.git
synced 2024-11-14 10:49:41 +01:00
506a4691bb
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.
16 lines
4.3 KiB
Text
16 lines
4.3 KiB
Text
# Large AES-ECB-128 test vectors
|
|
|
|
[ENCRYPT]
|
|
|
|
COUNT = 0
|
|
KEY = 00000000000000000000000000000000
|
|
PLAINTEXT = 6381fb697d29c20b143c80e29018b8a2f0a6723f4c3284e63f5be759e0951a2d704a61c71ea92bb7f28f03568e57557dd502dbe59f58e266da777143fcdbb3105d65d4411cdc83f6e0f47eb2c379216b425fc03b929c0e8e92f3f384739f4d6e4cd081b6ad23638f517e18aab0e75a4281cd138be4061f8377e083662c7807c3bbd3cabf630ef6e33cbc62347dd0a6f65ac49ebfa683505beb3025417e324697def26da680ad19b5fef52d2091701f2ff462f8c5c7759af0bedf7968f7958db6f51656b44bc5e97f3869344fc117d583001b1521184f6743ef4b7b0ea69967b20e0e0adbf5028250a8d105f5e8ee13aef00e7793234e982ee6a49b52a2a313e878dfb5e85b9399b38ef5f60b448cc8e9c78f3895ea149d2e5e4c684a50a2e254cd32824069d33dfee91ba7fc6cf6f4bd2a5e9639d3cae6ddd83929140e82b0faeb4569931939d46b1932394e332e8781207a944ff54155b52f8472ed46a2a9e5a28d77818333a8a4882c43f3b2f47d0ab6cb51a160066fda9aa88851c4780fc5a4f11335342d0bb0cd854398b54583f7727d53464a6542a1c98194d8c8c19366a88f31ebae3ec4370dd8b3a6c637fe5383c70fbdac2646de38471c360132b382f74e8e33c37ff6397fbdd28160ba3c85f122c7ec290bbc3340d4e11d711ddc9b4812a172cda15f2cf3ea7d3c8001eea81dd67ee633bfa3e5353a45bb097e15f95ce374df29b4699a60fd4ec7e941c14a
|
|
CIPHERTEXT = 00310103770cb6b0c4e12ee228ec2ad07a0b40f4c6b441fd0fadd7278993b48bce5392e8d1d2944ed2df1d5a5a126672162d0955ac14e58d4cba129f1307fbf64f8c461cee0b9a5ec48db68e40f2e8b106e35bd420340c8db5c6137426e5716238a73903860cf322d762ed5a174bce75d2adaaccaa06668cda904139a122629404cb1bdd3f07c1773df624b73b5b02069ed04910907b006f716ece5e4f4afcdf9040aa908597b2addc55267c8e7a4fc8f73a4929ea054291c711b1b1e8fb3bfbf7736bbb542d8bac1e327c83a2307571893f236134fb7e0ae92711b98d5693afa44b7ca04729b40d6dbc885a42a925fbc04b9d184ff380901828fac9d0cb4af1737c9f3c7d761dd224faff56b1744733dcd7ac09837a515e5c74582ee4a7c453cbbc6a209891e2d11cbcf38e00e6fa16ce2fc7ed5124b9f10527225526a7fa17522f308c1ba6a920c8453bfc8bc82017cb60d0dabc5b1f64da432c4918615c5f7d899022eb393b2a791ccdf6cab2c2a6d88b281b5ecd9aee0fb6c86b216181c564b18791c693d78711256951188fabb159d0f85e010fa01d56e5c4535f7fb26f5e5cc0fcce89387776b299330b06c5a88c52db0e46b70fa276d20086fbc4b76e5e8e45c9bdcd67abe2b75e275f60a007ec94df3f15da7ee8322ed1f5ae5a468706570265028da374c5b7a7a7e359a67ff8f124733f747b02d72110afb70ae94e8540a6400be623699979fedbf6844b5b
|
|
|
|
[DECRYPT]
|
|
|
|
COUNT = 0
|
|
KEY = 00000000000000000000000000000000
|
|
CIPHERTEXT = 00310103770cb6b0c4e12ee228ec2ad07a0b40f4c6b441fd0fadd7278993b48bce5392e8d1d2944ed2df1d5a5a126672162d0955ac14e58d4cba129f1307fbf64f8c461cee0b9a5ec48db68e40f2e8b106e35bd420340c8db5c6137426e5716238a73903860cf322d762ed5a174bce75d2adaaccaa06668cda904139a122629404cb1bdd3f07c1773df624b73b5b02069ed04910907b006f716ece5e4f4afcdf9040aa908597b2addc55267c8e7a4fc8f73a4929ea054291c711b1b1e8fb3bfbf7736bbb542d8bac1e327c83a2307571893f236134fb7e0ae92711b98d5693afa44b7ca04729b40d6dbc885a42a925fbc04b9d184ff380901828fac9d0cb4af1737c9f3c7d761dd224faff56b1744733dcd7ac09837a515e5c74582ee4a7c453cbbc6a209891e2d11cbcf38e00e6fa16ce2fc7ed5124b9f10527225526a7fa17522f308c1ba6a920c8453bfc8bc82017cb60d0dabc5b1f64da432c4918615c5f7d899022eb393b2a791ccdf6cab2c2a6d88b281b5ecd9aee0fb6c86b216181c564b18791c693d78711256951188fabb159d0f85e010fa01d56e5c4535f7fb26f5e5cc0fcce89387776b299330b06c5a88c52db0e46b70fa276d20086fbc4b76e5e8e45c9bdcd67abe2b75e275f60a007ec94df3f15da7ee8322ed1f5ae5a468706570265028da374c5b7a7a7e359a67ff8f124733f747b02d72110afb70ae94e8540a6400be623699979fedbf6844b5b
|
|
PLAINTEXT = 6381fb697d29c20b143c80e29018b8a2f0a6723f4c3284e63f5be759e0951a2d704a61c71ea92bb7f28f03568e57557dd502dbe59f58e266da777143fcdbb3105d65d4411cdc83f6e0f47eb2c379216b425fc03b929c0e8e92f3f384739f4d6e4cd081b6ad23638f517e18aab0e75a4281cd138be4061f8377e083662c7807c3bbd3cabf630ef6e33cbc62347dd0a6f65ac49ebfa683505beb3025417e324697def26da680ad19b5fef52d2091701f2ff462f8c5c7759af0bedf7968f7958db6f51656b44bc5e97f3869344fc117d583001b1521184f6743ef4b7b0ea69967b20e0e0adbf5028250a8d105f5e8ee13aef00e7793234e982ee6a49b52a2a313e878dfb5e85b9399b38ef5f60b448cc8e9c78f3895ea149d2e5e4c684a50a2e254cd32824069d33dfee91ba7fc6cf6f4bd2a5e9639d3cae6ddd83929140e82b0faeb4569931939d46b1932394e332e8781207a944ff54155b52f8472ed46a2a9e5a28d77818333a8a4882c43f3b2f47d0ab6cb51a160066fda9aa88851c4780fc5a4f11335342d0bb0cd854398b54583f7727d53464a6542a1c98194d8c8c19366a88f31ebae3ec4370dd8b3a6c637fe5383c70fbdac2646de38471c360132b382f74e8e33c37ff6397fbdd28160ba3c85f122c7ec290bbc3340d4e11d711ddc9b4812a172cda15f2cf3ea7d3c8001eea81dd67ee633bfa3e5353a45bb097e15f95ce374df29b4699a60fd4ec7e941c14a
|
|
|