You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
177 lines
6.5 KiB
177 lines
6.5 KiB
AlgorithmType: AuthenticatedSymmetricCipher |
|
Name: AES/OCB |
|
Source: https://tools.ietf.org/html/rfc7253 |
|
Comment: Test 0 |
|
Key: 000102030405060708090A0B0C0D0E0F |
|
IV: BBAA9988776655443322110F |
|
Header: |
|
Plaintext: 000102030405060708090A0B0C0D0E0F 101112131415161718191A1B1C1D1E1F \ |
|
2021222324252627 |
|
Ciphertext: 4412923493C57D5DE0D700F753CCE0D1 D2D95060122E9F15A5DDBFC5787E50B5 \ |
|
CC55EE507BCB084E \ |
|
479AD363AC366B95A98CA5F3000B1479 # MAC |
|
Test: Encrypt |
|
|
|
AlgorithmType: AuthenticatedSymmetricCipher |
|
Name: AES/OCB |
|
Source: https://tools.ietf.org/html/rfc7253 |
|
Comment: Test 1 |
|
Key: 000102030405060708090A0B0C0D0E0F |
|
IV: BBAA99887766554433221100 |
|
Header: |
|
Plaintext: |
|
Ciphertext: \ |
|
785407BFFFC8AD9EDCC5520AC9111EE6 # MAC |
|
Test: Encrypt |
|
Comment: Test 2 |
|
Key: 000102030405060708090A0B0C0D0E0F |
|
IV: BBAA99887766554433221101 |
|
Header: 0001020304050607 |
|
Plaintext: 0001020304050607 |
|
Ciphertext: 6820B3657B6F615A \ |
|
5725BDA0D3B4EB3A257C9AF1F8F03009 # MAC |
|
Test: Encrypt |
|
Comment: Test 3 |
|
Key: 000102030405060708090A0B0C0D0E0F |
|
IV: BBAA99887766554433221102 |
|
Header: 0001020304050607 |
|
Plaintext: |
|
Ciphertext: \ |
|
81017F8203F081277152FADE694A0A00 # MAC |
|
Test: Encrypt |
|
Comment: Test 4 |
|
Key: 000102030405060708090A0B0C0D0E0F |
|
IV: BBAA99887766554433221103 |
|
Header: |
|
Plaintext: 0001020304050607 |
|
Ciphertext: 45DD69F8F5AAE724 \ |
|
14054CD1F35D82760B2CD00D2F99BFA9 # MAC |
|
Test: Encrypt |
|
Comment: Test 5 |
|
Key: 000102030405060708090A0B0C0D0E0F |
|
IV: BBAA99887766554433221104 |
|
Header: 000102030405060708090A0B0C0D0E0F |
|
Plaintext: 000102030405060708090A0B0C0D0E0F |
|
Ciphertext: 571D535B60B277188BE5147170A9A22C \ |
|
3AD7A4FF3835B8C5701C1CCEC8FC3358 # MAC |
|
Test: Encrypt |
|
Comment: Test 6 |
|
Key: 000102030405060708090A0B0C0D0E0F |
|
IV: BBAA99887766554433221105 |
|
Header: 000102030405060708090A0B0C0D0E0F |
|
Plaintext: |
|
Ciphertext: \ |
|
8CF761B6902EF764462AD86498CA6B97 # MAC |
|
Test: Encrypt |
|
Comment: Test 7 |
|
Key: 000102030405060708090A0B0C0D0E0F |
|
IV: BBAA99887766554433221106 |
|
Header: |
|
Plaintext: 000102030405060708090A0B0C0D0E0F |
|
Ciphertext: 5CE88EC2E0692706A915C00AEB8B2396 \ |
|
F40E1C743F52436BDF06D8FA1ECA343D # MAC |
|
Test: Encrypt |
|
Comment: Test 8 |
|
Key: 000102030405060708090A0B0C0D0E0F |
|
IV: BBAA99887766554433221107 |
|
Header: 000102030405060708090A0B0C0D0E0F 1011121314151617 |
|
Plaintext: 000102030405060708090A0B0C0D0E0F 1011121314151617 |
|
Ciphertext: 1CA2207308C87C010756104D8840CE19 52F09673A448A122 \ |
|
C92C62241051F57356D7F3C90BB0E07F # MAC |
|
Test: Encrypt |
|
Comment: Test 9 |
|
Key: 000102030405060708090A0B0C0D0E0F |
|
IV: BBAA99887766554433221108 |
|
Header: 000102030405060708090A0B0C0D0E0F 1011121314151617 |
|
Plaintext: |
|
Ciphertext: \ |
|
6DC225A071FC1B9F7C69F93B0F1E10DE # MAC |
|
Test: Encrypt |
|
Comment: Test 10 |
|
Key: 000102030405060708090A0B0C0D0E0F |
|
IV: BBAA99887766554433221109 |
|
Header: |
|
Plaintext: 000102030405060708090A0B0C0D0E0F 1011121314151617 |
|
Ciphertext: 221BD0DE7FA6FE993ECCD769460A0AF2 D6CDED0C395B1C3C \ |
|
E725F32494B9F914D85C0B1EB38357FF # MAC |
|
Test: Encrypt |
|
Comment: Test 11 |
|
Key: 000102030405060708090A0B0C0D0E0F |
|
IV: BBAA9988776655443322110A |
|
Header: 000102030405060708090A0B0C0D0E0F 101112131415161718191A1B1C1D1E1F |
|
Plaintext: 000102030405060708090A0B0C0D0E0F 101112131415161718191A1B1C1D1E1F |
|
Ciphertext: BD6F6C496201C69296C11EFD138A467A BD3C707924B964DEAFFC40319AF5A485 \ |
|
40FBBA186C5553C68AD9F592A79A4240 # MAC |
|
Test: Encrypt |
|
Comment: Test 12 |
|
Key: 000102030405060708090A0B0C0D0E0F |
|
IV: BBAA9988776655443322110B |
|
Header: 000102030405060708090A0B0C0D0E0F 101112131415161718191A1B1C1D1E1F |
|
Plaintext: |
|
Ciphertext: \ |
|
FE80690BEE8A485D11F32965BC9D2A32 # MAC |
|
Test: Encrypt |
|
Comment: Test 13 |
|
Key: 000102030405060708090A0B0C0D0E0F |
|
IV: BBAA9988776655443322110C |
|
Header: |
|
Plaintext: 000102030405060708090A0B0C0D0E0F 101112131415161718191A1B1C1D1E1F |
|
Ciphertext: 2942BFC773BDA23CABC6ACFD9BFD5835 BD300F0973792EF46040C53F1432BCDF \ |
|
B5E1DDE3BC18A5F840B52E653444D5DF # MAC |
|
Test: Encrypt |
|
Comment: Test 14 |
|
Key: 000102030405060708090A0B0C0D0E0F |
|
IV: BBAA9988776655443322110D |
|
Header: 000102030405060708090A0B0C0D0E0F 101112131415161718191A1B1C1D1E1F \ |
|
2021222324252627 |
|
Plaintext: 000102030405060708090A0B0C0D0E0F 101112131415161718191A1B1C1D1E1F \ |
|
2021222324252627 |
|
Ciphertext: D5CA91748410C1751FF8A2F618255B68 A0A12E093FF454606E59F9C1D0DDC54B \ |
|
65E8628E568BAD7A \ |
|
ED07BA06A4A69483A7035490C5769E60 # MAC |
|
Test: Encrypt |
|
Comment: Test 15 |
|
Key: 000102030405060708090A0B0C0D0E0F |
|
IV: BBAA9988776655443322110E |
|
Header: 000102030405060708090A0B0C0D0E0F 101112131415161718191A1B1C1D1E1F \ |
|
2021222324252627 |
|
Plaintext: |
|
Ciphertext: \ |
|
C5CD9D1850C141E358649994EE701B68 # MAC |
|
Test: Encrypt |
|
Comment: Test 16 |
|
Key: 000102030405060708090A0B0C0D0E0F |
|
IV: BBAA9988776655443322110F |
|
Header: |
|
Plaintext: 000102030405060708090A0B0C0D0E0F 101112131415161718191A1B1C1D1E1F \ |
|
2021222324252627 |
|
Ciphertext: 4412923493C57D5DE0D700F753CCE0D1 D2D95060122E9F15A5DDBFC5787E50B5 \ |
|
CC55EE507BCB084E \ |
|
479AD363AC366B95A98CA5F3000B1479 # MAC |
|
Test: Encrypt |
|
Comment: ocb_ref.c, 6x16 bytes |
|
Key: 000102030405060708090A0B0C0D0E0F |
|
IV: BBAA9988776655443322110F |
|
Header: |
|
Plaintext: 000102030405060708090A0B0C0D0E0F 101112131415161718191A1B1C1D1E1F \ |
|
202122232425262728292A2B2C2D2E2F 303132333435363738393A3B3C3D3E3F \ |
|
404142434445464748494A4B4C4D4E4F 505152535455565758595A5B5C5D5E5F |
|
Ciphertext: 4412923493C57D5DE0D700F753CCE0D1 D2D95060122E9F15A5DDBFC5787E50B5 \ |
|
11DFB888DA244711F051DBCE82B0B9A7 CB14869B164E55EB578E41FA435FF220 \ |
|
25ED114F6EC18CD67B743AB299E596F6 6100FBA539DB164D765EAFF0BF489ACE \ |
|
1CE76A77FDC72610CFBD24209EF931E6 # MAC |
|
Test: Encrypt |
|
Comment: ocb_ref.c, 6x16+8 bytes |
|
Key: 000102030405060708090A0B0C0D0E0F |
|
IV: BBAA9988776655443322110F |
|
Header: |
|
Plaintext: 000102030405060708090A0B0C0D0E0F 101112131415161718191A1B1C1D1E1F \ |
|
202122232425262728292A2B2C2D2E2F 303132333435363738393A3B3C3D3E3F \ |
|
404142434445464748494A4B4C4D4E4F 505152535455565758595A5B5C5D5E5F \ |
|
6061626364656667 |
|
Ciphertext: 4412923493C57D5DE0D700F753CCE0D1 D2D95060122E9F15A5DDBFC5787E50B5 \ |
|
11DFB888DA244711F051DBCE82B0B9A7 CB14869B164E55EB578E41FA435FF220 \ |
|
25ED114F6EC18CD67B743AB299E596F6 6100FBA539DB164D765EAFF0BF489ACE \ |
|
F94995B3E25C16AF \ |
|
A2EBA4BE7057D9A7 B1BA6E9611822FEF # MAC |
|
Test: Encrypt
|
|
|