Lines Matching +full:c +full:- +full:45
1 /*-
2 * Copyright (c) 2018 Conrad Meyer <cem@FreeBSD.org>
33 #include <atf-c.h>
59 .expected_tag_hex = "a8:06:1d:c1:30:51:36:c6:c2:2b:8b:af:0c:01:27:a9",
81 "6f 20 74 68 65 20 49 45 54 46 20 69 6e 74 65 6e "
83 "69 62 75 74 6f 72 20 66 6f 72 20 70 75 62 6c 69 "
84 "63 61 74 69 6f 6e 20 61 73 20 61 6c 6c 20 6f 72 "
85 "20 70 61 72 74 20 6f 66 20 61 6e 20 49 45 54 46 "
90 "20 6f 66 20 61 6e 20 49 45 54 46 20 61 63 74 69 "
92 "65 64 20 61 6e 20 22 49 45 54 46 20 43 6f 6e 74 "
94 "73 74 61 74 65 6d 65 6e 74 73 20 69 6e 63 6c 75 "
95 "64 65 20 6f 72 61 6c 20 73 74 61 74 65 6d 65 6e "
96 "74 73 20 69 6e 20 49 45 54 46 20 73 65 73 73 69 "
97 "6f 6e 73 2c 20 61 73 20 77 65 6c 6c 20 61 73 20 "
98 "77 72 69 74 74 65 6e 20 61 6e 64 20 65 6c 65 63 "
101 "79 20 74 69 6d 65 20 6f 72 20 70 6c 61 63 65 2c "
114 "6f 20 74 68 65 20 49 45 54 46 20 69 6e 74 65 6e "
116 "69 62 75 74 6f 72 20 66 6f 72 20 70 75 62 6c 69 "
117 "63 61 74 69 6f 6e 20 61 73 20 61 6c 6c 20 6f 72 "
118 "20 70 61 72 74 20 6f 66 20 61 6e 20 49 45 54 46 "
123 "20 6f 66 20 61 6e 20 49 45 54 46 20 61 63 74 69 "
125 "65 64 20 61 6e 20 22 49 45 54 46 20 43 6f 6e 74 "
127 "73 74 61 74 65 6d 65 6e 74 73 20 69 6e 63 6c 75 "
128 "64 65 20 6f 72 61 6c 20 73 74 61 74 65 6d 65 6e "
129 "74 73 20 69 6e 20 49 45 54 46 20 73 65 73 73 69 "
130 "6f 6e 73 2c 20 61 73 20 77 65 6c 6c 20 61 73 20 "
131 "77 72 69 74 74 65 6e 20 61 6e 64 20 65 6c 65 63 "
134 "79 20 74 69 6d 65 20 6f 72 20 70 6c 61 63 65 2c "
138 .expected_tag_hex = "f3 47 7e 7c d9 54 17 af 89 a6 b8 79 4c 31 0c f0",
143 "1c 92 40 a5 eb 55 d3 8a f3 33 88 86 04 f6 b5 f0 "
144 "47 39 17 c1 40 2b 80 09 9d ca 5c bc 20 70 75 c0 ",
146 "27 54 77 61 73 20 62 72 69 6c 6c 69 67 2c 20 61 "
147 "6e 64 20 74 68 65 20 73 6c 69 74 68 79 20 74 6f "
149 "20 67 69 6d 62 6c 65 20 69 6e 20 74 68 65 20 77 "
150 "61 62 65 3a 0a 41 6c 6c 20 6d 69 6d 73 79 20 77 "
152 "73 2c 0a 41 6e 64 20 74 68 65 20 6d 6f 6d 65 20 "
155 .expected_tag_hex = "45 41 66 9a 7e aa ee 61 e7 08 dc 7c bc c5 eb 62",
261 sym_len = sep - it; in parse_hex()
265 kat->vector_name); in parse_hex()
271 kat->vector_name); in parse_hex()
275 "got longer than expected value at %s", kat->vector_name); in parse_hex()
287 kat->vector_name); in parse_hex()
295 parse_hex(kat, kat->test_key_hex, key, POLY1305_KEY_LEN); in parse_vector()
296 parse_hex(kat, kat->test_msg_hex, msg, kat->test_msg_len); in parse_vector()
297 parse_hex(kat, kat->expected_tag_hex, exptag, POLY1305_HASH_LEN); in parse_vector()
373 do_cryptop(fd, ses, msg, kat->test_msg_len, comptag); in test_rfc7539_poly1305_vectors()
375 "KAT %s failed:", kat->vector_name); in test_rfc7539_poly1305_vectors()