]> git.ipfire.org Git - thirdparty/openssl.git/blob - test/recipes/30-test_evp_data/evpciph_aes_siv.txt
Add testcases for empty associated data entries with AES-SIV
[thirdparty/openssl.git] / test / recipes / 30-test_evp_data / evpciph_aes_siv.txt
1 #
2 # Copyright 2018-2020 The OpenSSL Project Authors. All Rights Reserved.
3 #
4 # Licensed under the Apache License 2.0 (the "License"). You may not use
5 # this file except in compliance with the License. You can obtain a copy
6 # in the file LICENSE in the source distribution or at
7 # https://www.openssl.org/source/license.html
8
9 # Tests start with one of these keywords
10 # Cipher Decrypt Derive Digest Encoding KDF MAC PBE
11 # PrivPubKeyPair Sign Verify VerifyRecover
12 # and continue until a blank line. Lines starting with a pound sign are ignored.
13
14 Title = RFC5297 AES-SIV
15
16 Cipher = aes-128-siv
17 Key = fffefdfcfbfaf9f8f7f6f5f4f3f2f1f0f0f1f2f3f4f5f6f7f8f9fafbfcfdfeff
18 AAD = 101112131415161718191a1b1c1d1e1f2021222324252627
19 Tag = 85632d07c6e8f37f950acd320a2ecc93
20 Plaintext = 112233445566778899aabbccddee
21 Ciphertext = 40c02b9690c4dc04daef7f6afe5c
22
23 Cipher = aes-128-siv
24 Key = fffefdfcfbfaf9f8f7f6f5f4f3f2f1f0f0f1f2f3f4f5f6f7f8f9fafbfcfdfeff
25 Tag = f1c5fdeac1f15a26779c1501f9fb7588
26 Plaintext = 112233445566778899aabbccddee
27 Ciphertext = 27e946c669088ab06da58c5c831c
28
29 Cipher = aes-128-siv
30 Key = fffefdfcfbfaf9f8f7f6f5f4f3f2f1f0f0f1f2f3f4f5f6f7f8f9fafbfcfdfeff
31 AAD =
32 Tag = d1022f5b3664e5a4dfaf90f85be6f28a
33 Plaintext = 112233445566778899aabbccddee
34 Ciphertext = b66cff6b8eca0b79f083b39a0901
35
36 Cipher = aes-128-siv
37 Key = 7f7e7d7c7b7a79787776757473727170404142434445464748494a4b4c4d4e4f
38 AAD = 00112233445566778899aabbccddeeffdeaddadadeaddadaffeeddccbbaa99887766554433221100
39 AAD = 102030405060708090a0
40 AAD = 09f911029d74e35bd84156c5635688c0
41 Tag = 7bdb6e3b432667eb06f4d14bff2fbd0f
42 Plaintext = 7468697320697320736f6d6520706c61696e7465787420746f20656e6372797074207573696e67205349562d414553
43 Ciphertext = cb900f2fddbe404326601965c889bf17dba77ceb094fa663b7a3f748ba8af829ea64ad544a272e9c485b62a3fd5c0d
44
45 Cipher = aes-128-siv
46 Key = 7f7e7d7c7b7a79787776757473727170404142434445464748494a4b4c4d4e4f
47 AAD = 00112233445566778899aabbccddeeffdeaddadadeaddadaffeeddccbbaa99887766554433221100
48 AAD =
49 AAD = 09f911029d74e35bd84156c5635688c0
50 Tag = 83ce6593a8fa67eb6fcd2819cedfc011
51 Plaintext = 7468697320697320736f6d6520706c61696e7465787420746f20656e6372797074207573696e67205349562d414553
52 Ciphertext = 30d937b42f71f71f93fc2d8d702d3eac8dc7651eefcd81120081ff29d626f97f3de17f2969b691c91b69b652bf3a6d
53
54 Cipher = aes-128-siv
55 Key = 7f7e7d7c7b7a79787776757473727170404142434445464748494a4b4c4d4e4f
56 AAD =
57 AAD = 00112233445566778899aabbccddeeffdeaddadadeaddadaffeeddccbbaa99887766554433221100
58 AAD = 09f911029d74e35bd84156c5635688c0
59 Tag = 77dd4a44f5a6b41302121ee7f378de25
60 Plaintext = 7468697320697320736f6d6520706c61696e7465787420746f20656e6372797074207573696e67205349562d414553
61 Ciphertext = 0fcd664c922464c88939d71fad7aefb864e501b0848a07d39201c1067a7288f3dadf0131a823a0bc3d588e8564a5fe
62
63 Cipher = aes-192-siv
64 Key = fffefdfcfbfaf9f8f7f6f5f4f3f2f1f0f0f1f2f3f4f5f6f7f8f9fafbfcfdfefffffefdfcfbfaf9f8f7f6f5f4f3f2f1f0
65 AAD = 101112131415161718191a1b1c1d1e1f2021222324252627
66 Tag = 89e869b93256785154f0963962fe0740
67 Plaintext = 112233445566778899aabbccddee
68 Ciphertext = eff356e42dec1f4febded36642f2
69
70 Cipher = aes-256-siv
71 Key = fffefdfcfbfaf9f8f7f6f5f4f3f2f1f0f0f1f2f3f4f5f6f7f8f9fafbfcfdfefff0f1f2f3f4f5f6f7f8f9fafbfcfdfefffffefdfcfbfaf9f8f7f6f5f4f3f2f1f0
72 AAD = 101112131415161718191a1b1c1d1e1f2021222324252627
73 Tag = 724dfb2eaf94dbb19b0ba3a299a0801e
74 Plaintext = 112233445566778899aabbccddee
75 Ciphertext = f3b05a55498ec2552690b89810e4