| 1 |
|
| 2 |
|
| 3 |
|
| 4 |
|
| 5 |
|
| 6 |
|
| 7 |
|
| 8 |
|
| 9 |
|
| 10 |
|
| 11 |
|
| 12 |
|
| 13 |
|
| 14 |
|
| 15 |
|
| 16 |
#include "crypto/s2n_hash.h" |
| 17 |
|
| 18 |
#include <string.h> |
| 19 |
|
| 20 |
#include "crypto/s2n_fips.h" |
| 21 |
#include "crypto/s2n_libcrypto.h" |
| 22 |
#include "s2n_test.h" |
| 23 |
#include "stuffer/s2n_stuffer.h" |
| 24 |
#include "testlib/s2n_testlib.h" |
| 25 |
#include "utils/s2n_blob.h" |
| 26 |
#include "utils/s2n_safety.h" |
| 27 |
|
| 28 |
int main(int argc, char **argv) |
| 29 |
{ |
| 30 |
uint8_t digest_pad[64]; |
| 31 |
uint8_t output_pad[128]; |
| 32 |
uint8_t hello[] = "Hello world!\n"; |
| 33 |
uint8_t string1[] = "String 1\n"; |
| 34 |
uint8_t string2[] = "and String 2\n"; |
| 35 |
struct s2n_stuffer output = { 0 }; |
| 36 |
struct s2n_hash_state hash, copy; |
| 37 |
struct s2n_blob out = { 0 }; |
| 38 |
POSIX_GUARD(s2n_blob_init(&out, output_pad, sizeof(output_pad))); |
| 39 |
uint64_t bytes_in_hash = 0; |
| 40 |
|
| 41 |
BEGIN_TEST(); |
| 42 |
EXPECT_SUCCESS(s2n_disable_tls13_in_test()); |
| 43 |
|
| 44 |
|
| 45 |
|
| 46 |
|
| 47 |
|
| 48 |
if (s2n_libcrypto_is_awslc()) { |
| 49 |
EXPECT_NOT_NULL(s2n_hash_alg_to_evp_md(S2N_HASH_MD5_SHA1)); |
| 50 |
} |
| 51 |
|
| 52 |
POSIX_GUARD(s2n_hash_new(&hash)); |
| 53 |
EXPECT_FALSE(s2n_hash_is_ready_for_input(&hash)); |
| 54 |
EXPECT_FAILURE(s2n_hash_get_currently_in_hash_total(&hash, &bytes_in_hash)); |
| 55 |
POSIX_GUARD(s2n_hash_new(©)); |
| 56 |
EXPECT_FALSE(s2n_hash_is_ready_for_input(©)); |
| 57 |
EXPECT_FAILURE(s2n_hash_get_currently_in_hash_total(©, &bytes_in_hash)); |
| 58 |
|
| 59 |
if (s2n_hash_is_available(S2N_HASH_MD5)) { |
| 60 |
|
| 61 |
uint8_t md5_digest_size = 0; |
| 62 |
POSIX_GUARD(s2n_hash_digest_size(S2N_HASH_MD5, &md5_digest_size)); |
| 63 |
EXPECT_EQUAL(md5_digest_size, 16); |
| 64 |
EXPECT_SUCCESS(s2n_hash_init(&hash, S2N_HASH_MD5)); |
| 65 |
EXPECT_TRUE(s2n_hash_is_ready_for_input(&hash)); |
| 66 |
EXPECT_SUCCESS(s2n_hash_get_currently_in_hash_total(&hash, &bytes_in_hash)); |
| 67 |
EXPECT_EQUAL(bytes_in_hash, 0); |
| 68 |
|
| 69 |
EXPECT_SUCCESS(s2n_hash_update(&hash, hello, strlen((char *) hello))); |
| 70 |
EXPECT_TRUE(s2n_hash_is_ready_for_input(&hash)); |
| 71 |
EXPECT_SUCCESS(s2n_hash_get_currently_in_hash_total(&hash, &bytes_in_hash)); |
| 72 |
EXPECT_EQUAL(bytes_in_hash, 13); |
| 73 |
|
| 74 |
EXPECT_SUCCESS(s2n_hash_digest(&hash, digest_pad, MD5_DIGEST_LENGTH)); |
| 75 |
EXPECT_FALSE(s2n_hash_is_ready_for_input(&hash)); |
| 76 |
EXPECT_FAILURE(s2n_hash_get_currently_in_hash_total(&hash, &bytes_in_hash)); |
| 77 |
|
| 78 |
EXPECT_SUCCESS(s2n_stuffer_init(&output, &out)); |
| 79 |
for (int i = 0; i < 16; i++) { |
| 80 |
EXPECT_OK(s2n_stuffer_write_uint8_hex(&output, digest_pad[i])); |
| 81 |
} |
| 82 |
|
| 83 |
|
| 84 |
EXPECT_EQUAL(memcmp(output_pad, "59ca0efa9f5633cb0371bbc0355478d8", 16 * 2), 0); |
| 85 |
|
| 86 |
POSIX_GUARD(s2n_hash_reset(&hash)); |
| 87 |
EXPECT_TRUE(s2n_hash_is_ready_for_input(&hash)); |
| 88 |
EXPECT_SUCCESS(s2n_hash_get_currently_in_hash_total(&hash, &bytes_in_hash)); |
| 89 |
EXPECT_EQUAL(bytes_in_hash, 0); |
| 90 |
} |
| 91 |
|
| 92 |
|
| 93 |
uint8_t sha1_digest_size = 0; |
| 94 |
POSIX_GUARD(s2n_hash_digest_size(S2N_HASH_SHA1, &sha1_digest_size)); |
| 95 |
EXPECT_EQUAL(sha1_digest_size, 20); |
| 96 |
EXPECT_SUCCESS(s2n_hash_init(&hash, S2N_HASH_SHA1)); |
| 97 |
EXPECT_TRUE(s2n_hash_is_ready_for_input(&hash)); |
| 98 |
EXPECT_SUCCESS(s2n_hash_get_currently_in_hash_total(&hash, &bytes_in_hash)); |
| 99 |
EXPECT_EQUAL(bytes_in_hash, 0); |
| 100 |
|
| 101 |
EXPECT_SUCCESS(s2n_hash_update(&hash, hello, strlen((char *) hello))); |
| 102 |
EXPECT_TRUE(s2n_hash_is_ready_for_input(&hash)); |
| 103 |
EXPECT_SUCCESS(s2n_hash_get_currently_in_hash_total(&hash, &bytes_in_hash)); |
| 104 |
EXPECT_EQUAL(bytes_in_hash, 13); |
| 105 |
|
| 106 |
EXPECT_SUCCESS(s2n_hash_copy(©, &hash)); |
| 107 |
EXPECT_TRUE(s2n_hash_is_ready_for_input(©)); |
| 108 |
EXPECT_SUCCESS(s2n_hash_get_currently_in_hash_total(©, &bytes_in_hash)); |
| 109 |
EXPECT_EQUAL(bytes_in_hash, 13); |
| 110 |
|
| 111 |
EXPECT_TRUE(s2n_hash_is_ready_for_input(&hash)); |
| 112 |
EXPECT_SUCCESS(s2n_hash_get_currently_in_hash_total(&hash, &bytes_in_hash)); |
| 113 |
EXPECT_EQUAL(bytes_in_hash, 13); |
| 114 |
|
| 115 |
EXPECT_SUCCESS(s2n_hash_digest(&hash, digest_pad, SHA_DIGEST_LENGTH)); |
| 116 |
EXPECT_FALSE(s2n_hash_is_ready_for_input(&hash)); |
| 117 |
EXPECT_FAILURE(s2n_hash_get_currently_in_hash_total(&hash, &bytes_in_hash)); |
| 118 |
|
| 119 |
EXPECT_SUCCESS(s2n_stuffer_init(&output, &out)); |
| 120 |
for (int i = 0; i < 20; i++) { |
| 121 |
EXPECT_OK(s2n_stuffer_write_uint8_hex(&output, digest_pad[i])); |
| 122 |
} |
| 123 |
|
| 124 |
|
| 125 |
EXPECT_EQUAL(memcmp(output_pad, "47a013e660d408619d894b20806b1d5086aab03b", 20 * 2), 0); |
| 126 |
|
| 127 |
|
| 128 |
EXPECT_SUCCESS(s2n_hash_digest(©, digest_pad, SHA_DIGEST_LENGTH)); |
| 129 |
EXPECT_FALSE(s2n_hash_is_ready_for_input(©)); |
| 130 |
EXPECT_FAILURE(s2n_hash_get_currently_in_hash_total(©, &bytes_in_hash)); |
| 131 |
|
| 132 |
EXPECT_SUCCESS(s2n_stuffer_init(&output, &out)); |
| 133 |
for (int i = 0; i < 20; i++) { |
| 134 |
EXPECT_OK(s2n_stuffer_write_uint8_hex(&output, digest_pad[i])); |
| 135 |
} |
| 136 |
|
| 137 |
|
| 138 |
EXPECT_EQUAL(memcmp(output_pad, "47a013e660d408619d894b20806b1d5086aab03b", 20 * 2), 0); |
| 139 |
|
| 140 |
EXPECT_SUCCESS(s2n_hash_reset(&hash)); |
| 141 |
EXPECT_TRUE(s2n_hash_is_ready_for_input(&hash)); |
| 142 |
EXPECT_SUCCESS(s2n_hash_get_currently_in_hash_total(&hash, &bytes_in_hash)); |
| 143 |
EXPECT_EQUAL(bytes_in_hash, 0); |
| 144 |
|
| 145 |
EXPECT_SUCCESS(s2n_hash_reset(©)); |
| 146 |
EXPECT_TRUE(s2n_hash_is_ready_for_input(©)); |
| 147 |
EXPECT_SUCCESS(s2n_hash_get_currently_in_hash_total(©, &bytes_in_hash)); |
| 148 |
EXPECT_EQUAL(bytes_in_hash, 0); |
| 149 |
|
| 150 |
|
| 151 |
EXPECT_SUCCESS(s2n_hash_update(&hash, string1, strlen((char *) string1))); |
| 152 |
EXPECT_TRUE(s2n_hash_is_ready_for_input(&hash)); |
| 153 |
EXPECT_SUCCESS(s2n_hash_get_currently_in_hash_total(&hash, &bytes_in_hash)); |
| 154 |
EXPECT_EQUAL(bytes_in_hash, 9); |
| 155 |
|
| 156 |
EXPECT_SUCCESS(s2n_hash_copy(©, &hash)); |
| 157 |
EXPECT_TRUE(s2n_hash_is_ready_for_input(©)); |
| 158 |
EXPECT_SUCCESS(s2n_hash_get_currently_in_hash_total(©, &bytes_in_hash)); |
| 159 |
EXPECT_EQUAL(bytes_in_hash, 9); |
| 160 |
|
| 161 |
EXPECT_TRUE(s2n_hash_is_ready_for_input(&hash)); |
| 162 |
EXPECT_SUCCESS(s2n_hash_get_currently_in_hash_total(&hash, &bytes_in_hash)); |
| 163 |
EXPECT_EQUAL(bytes_in_hash, 9); |
| 164 |
|
| 165 |
EXPECT_SUCCESS(s2n_hash_update(&hash, string2, strlen((char *) string2))); |
| 166 |
EXPECT_TRUE(s2n_hash_is_ready_for_input(&hash)); |
| 167 |
EXPECT_SUCCESS(s2n_hash_get_currently_in_hash_total(&hash, &bytes_in_hash)); |
| 168 |
EXPECT_EQUAL(bytes_in_hash, 22); |
| 169 |
|
| 170 |
EXPECT_SUCCESS(s2n_hash_digest(&hash, digest_pad, SHA_DIGEST_LENGTH)); |
| 171 |
EXPECT_FALSE(s2n_hash_is_ready_for_input(&hash)); |
| 172 |
EXPECT_FAILURE(s2n_hash_get_currently_in_hash_total(&hash, &bytes_in_hash)); |
| 173 |
|
| 174 |
EXPECT_SUCCESS(s2n_stuffer_init(&output, &out)); |
| 175 |
for (int i = 0; i < 20; i++) { |
| 176 |
EXPECT_OK(s2n_stuffer_write_uint8_hex(&output, digest_pad[i])); |
| 177 |
} |
| 178 |
|
| 179 |
|
| 180 |
EXPECT_EQUAL(memcmp(output_pad, "4afd618f797f0c6bd85b2035338bb26c62ab0dbc", 20 * 2), 0); |
| 181 |
|
| 182 |
|
| 183 |
EXPECT_SUCCESS(s2n_hash_update(©, string2, strlen((char *) string2))); |
| 184 |
EXPECT_TRUE(s2n_hash_is_ready_for_input(©)); |
| 185 |
EXPECT_SUCCESS(s2n_hash_get_currently_in_hash_total(©, &bytes_in_hash)); |
| 186 |
EXPECT_EQUAL(bytes_in_hash, 22); |
| 187 |
|
| 188 |
EXPECT_SUCCESS(s2n_hash_digest(©, digest_pad, SHA_DIGEST_LENGTH)); |
| 189 |
EXPECT_FALSE(s2n_hash_is_ready_for_input(©)); |
| 190 |
EXPECT_FAILURE(s2n_hash_get_currently_in_hash_total(©, &bytes_in_hash)); |
| 191 |
|
| 192 |
EXPECT_SUCCESS(s2n_hash_free(©)); |
| 193 |
EXPECT_FALSE(s2n_hash_is_ready_for_input(©)); |
| 194 |
EXPECT_FAILURE(s2n_hash_get_currently_in_hash_total(©, &bytes_in_hash)); |
| 195 |
|
| 196 |
EXPECT_SUCCESS(s2n_stuffer_init(&output, &out)); |
| 197 |
for (int i = 0; i < 20; i++) { |
| 198 |
EXPECT_OK(s2n_stuffer_write_uint8_hex(&output, digest_pad[i])); |
| 199 |
} |
| 200 |
|
| 201 |
|
| 202 |
EXPECT_EQUAL(memcmp(output_pad, "4afd618f797f0c6bd85b2035338bb26c62ab0dbc", 20 * 2), 0); |
| 203 |
|
| 204 |
POSIX_GUARD(s2n_hash_reset(&hash)); |
| 205 |
EXPECT_TRUE(s2n_hash_is_ready_for_input(&hash)); |
| 206 |
EXPECT_SUCCESS(s2n_hash_get_currently_in_hash_total(&hash, &bytes_in_hash)); |
| 207 |
EXPECT_EQUAL(bytes_in_hash, 0); |
| 208 |
|
| 209 |
|
| 210 |
uint8_t sha224_digest_size = 0; |
| 211 |
POSIX_GUARD(s2n_hash_digest_size(S2N_HASH_SHA224, &sha224_digest_size)); |
| 212 |
EXPECT_EQUAL(sha224_digest_size, 28); |
| 213 |
EXPECT_SUCCESS(s2n_hash_init(&hash, S2N_HASH_SHA224)); |
| 214 |
EXPECT_TRUE(s2n_hash_is_ready_for_input(&hash)); |
| 215 |
EXPECT_SUCCESS(s2n_hash_get_currently_in_hash_total(&hash, &bytes_in_hash)); |
| 216 |
EXPECT_EQUAL(bytes_in_hash, 0); |
| 217 |
|
| 218 |
EXPECT_SUCCESS(s2n_hash_update(&hash, hello, strlen((char *) hello))); |
| 219 |
EXPECT_TRUE(s2n_hash_is_ready_for_input(&hash)); |
| 220 |
EXPECT_SUCCESS(s2n_hash_get_currently_in_hash_total(&hash, &bytes_in_hash)); |
| 221 |
EXPECT_EQUAL(bytes_in_hash, 13); |
| 222 |
|
| 223 |
EXPECT_SUCCESS(s2n_hash_digest(&hash, digest_pad, SHA224_DIGEST_LENGTH)); |
| 224 |
EXPECT_FALSE(s2n_hash_is_ready_for_input(&hash)); |
| 225 |
EXPECT_FAILURE(s2n_hash_get_currently_in_hash_total(&hash, &bytes_in_hash)); |
| 226 |
|
| 227 |
EXPECT_SUCCESS(s2n_hash_free(&hash)); |
| 228 |
EXPECT_FALSE(s2n_hash_is_ready_for_input(&hash)); |
| 229 |
EXPECT_FAILURE(s2n_hash_get_currently_in_hash_total(&hash, &bytes_in_hash)); |
| 230 |
|
| 231 |
EXPECT_SUCCESS(s2n_stuffer_init(&output, &out)); |
| 232 |
for (int i = 0; i < 28; i++) { |
| 233 |
EXPECT_OK(s2n_stuffer_write_uint8_hex(&output, digest_pad[i])); |
| 234 |
} |
| 235 |
|
| 236 |
|
| 237 |
EXPECT_EQUAL(memcmp(output_pad, "f771a839cff678857feee21492184ca7a456ac3cf57e78057b7beaf5", 28 * 2), 0); |
| 238 |
|
| 239 |
|
| 240 |
POSIX_GUARD(s2n_hash_new(&hash)); |
| 241 |
EXPECT_FALSE(s2n_hash_is_ready_for_input(&hash)); |
| 242 |
EXPECT_FAILURE(s2n_hash_get_currently_in_hash_total(&hash, &bytes_in_hash)); |
| 243 |
|
| 244 |
uint8_t sha256_digest_size = 0; |
| 245 |
POSIX_GUARD(s2n_hash_digest_size(S2N_HASH_SHA256, &sha256_digest_size)); |
| 246 |
EXPECT_EQUAL(sha256_digest_size, 32); |
| 247 |
EXPECT_SUCCESS(s2n_hash_init(&hash, S2N_HASH_SHA256)); |
| 248 |
EXPECT_TRUE(s2n_hash_is_ready_for_input(&hash)); |
| 249 |
EXPECT_SUCCESS(s2n_hash_get_currently_in_hash_total(&hash, &bytes_in_hash)); |
| 250 |
EXPECT_EQUAL(bytes_in_hash, 0); |
| 251 |
|
| 252 |
EXPECT_SUCCESS(s2n_hash_update(&hash, hello, strlen((char *) hello))); |
| 253 |
EXPECT_TRUE(s2n_hash_is_ready_for_input(&hash)); |
| 254 |
EXPECT_SUCCESS(s2n_hash_get_currently_in_hash_total(&hash, &bytes_in_hash)); |
| 255 |
EXPECT_EQUAL(bytes_in_hash, 13); |
| 256 |
|
| 257 |
EXPECT_SUCCESS(s2n_hash_digest(&hash, digest_pad, SHA256_DIGEST_LENGTH)); |
| 258 |
EXPECT_FALSE(s2n_hash_is_ready_for_input(&hash)); |
| 259 |
EXPECT_FAILURE(s2n_hash_get_currently_in_hash_total(&hash, &bytes_in_hash)); |
| 260 |
|
| 261 |
EXPECT_SUCCESS(s2n_stuffer_init(&output, &out)); |
| 262 |
for (int i = 0; i < 32; i++) { |
| 263 |
EXPECT_OK(s2n_stuffer_write_uint8_hex(&output, digest_pad[i])); |
| 264 |
} |
| 265 |
|
| 266 |
|
| 267 |
EXPECT_EQUAL(memcmp(output_pad, "0ba904eae8773b70c75333db4de2f3ac45a8ad4ddba1b242f0b3cfc199391dd8", 32 * 2), 0); |
| 268 |
|
| 269 |
POSIX_GUARD(s2n_hash_reset(&hash)); |
| 270 |
EXPECT_TRUE(s2n_hash_is_ready_for_input(&hash)); |
| 271 |
EXPECT_SUCCESS(s2n_hash_get_currently_in_hash_total(&hash, &bytes_in_hash)); |
| 272 |
EXPECT_EQUAL(bytes_in_hash, 0); |
| 273 |
|
| 274 |
|
| 275 |
uint8_t sha384_digest_size = 0; |
| 276 |
POSIX_GUARD(s2n_hash_digest_size(S2N_HASH_SHA384, &sha384_digest_size)); |
| 277 |
EXPECT_EQUAL(sha384_digest_size, 48); |
| 278 |
EXPECT_SUCCESS(s2n_hash_init(&hash, S2N_HASH_SHA384)); |
| 279 |
EXPECT_TRUE(s2n_hash_is_ready_for_input(&hash)); |
| 280 |
EXPECT_SUCCESS(s2n_hash_get_currently_in_hash_total(&hash, &bytes_in_hash)); |
| 281 |
EXPECT_EQUAL(bytes_in_hash, 0); |
| 282 |
|
| 283 |
EXPECT_SUCCESS(s2n_hash_update(&hash, hello, strlen((char *) hello))); |
| 284 |
EXPECT_TRUE(s2n_hash_is_ready_for_input(&hash)); |
| 285 |
EXPECT_SUCCESS(s2n_hash_get_currently_in_hash_total(&hash, &bytes_in_hash)); |
| 286 |
EXPECT_EQUAL(bytes_in_hash, 13); |
| 287 |
|
| 288 |
EXPECT_SUCCESS(s2n_hash_digest(&hash, digest_pad, SHA384_DIGEST_LENGTH)); |
| 289 |
EXPECT_FALSE(s2n_hash_is_ready_for_input(&hash)); |
| 290 |
EXPECT_FAILURE(s2n_hash_get_currently_in_hash_total(&hash, &bytes_in_hash)); |
| 291 |
|
| 292 |
EXPECT_SUCCESS(s2n_stuffer_init(&output, &out)); |
| 293 |
for (int i = 0; i < 48; i++) { |
| 294 |
EXPECT_OK(s2n_stuffer_write_uint8_hex(&output, digest_pad[i])); |
| 295 |
} |
| 296 |
|
| 297 |
|
| 298 |
EXPECT_EQUAL(memcmp(output_pad, "f7f8f1b9d5a9a61742eeda26c20990282ac08dabda14e70376fcb4c8b46198a9959ea9d7d194b38520eed5397ffe6d8e", 48 * 2), 0); |
| 299 |
|
| 300 |
POSIX_GUARD(s2n_hash_reset(&hash)); |
| 301 |
EXPECT_TRUE(s2n_hash_is_ready_for_input(&hash)); |
| 302 |
EXPECT_SUCCESS(s2n_hash_get_currently_in_hash_total(&hash, &bytes_in_hash)); |
| 303 |
EXPECT_EQUAL(bytes_in_hash, 0); |
| 304 |
|
| 305 |
|
| 306 |
uint8_t sha512_digest_size = 0; |
| 307 |
POSIX_GUARD(s2n_hash_digest_size(S2N_HASH_SHA512, &sha512_digest_size)); |
| 308 |
EXPECT_EQUAL(sha512_digest_size, 64); |
| 309 |
EXPECT_SUCCESS(s2n_hash_init(&hash, S2N_HASH_SHA512)); |
| 310 |
EXPECT_TRUE(s2n_hash_is_ready_for_input(&hash)); |
| 311 |
EXPECT_SUCCESS(s2n_hash_get_currently_in_hash_total(&hash, &bytes_in_hash)); |
| 312 |
EXPECT_EQUAL(bytes_in_hash, 0); |
| 313 |
|
| 314 |
EXPECT_SUCCESS(s2n_hash_update(&hash, hello, strlen((char *) hello))); |
| 315 |
EXPECT_TRUE(s2n_hash_is_ready_for_input(&hash)); |
| 316 |
EXPECT_SUCCESS(s2n_hash_get_currently_in_hash_total(&hash, &bytes_in_hash)); |
| 317 |
EXPECT_EQUAL(bytes_in_hash, 13); |
| 318 |
|
| 319 |
EXPECT_SUCCESS(s2n_hash_digest(&hash, digest_pad, SHA512_DIGEST_LENGTH)); |
| 320 |
EXPECT_FALSE(s2n_hash_is_ready_for_input(&hash)); |
| 321 |
EXPECT_FAILURE(s2n_hash_get_currently_in_hash_total(&hash, &bytes_in_hash)); |
| 322 |
|
| 323 |
EXPECT_SUCCESS(s2n_hash_free(&hash)); |
| 324 |
EXPECT_FALSE(s2n_hash_is_ready_for_input(&hash)); |
| 325 |
EXPECT_FAILURE(s2n_hash_get_currently_in_hash_total(&hash, &bytes_in_hash)); |
| 326 |
|
| 327 |
EXPECT_SUCCESS(s2n_stuffer_init(&output, &out)); |
| 328 |
for (int i = 0; i < 64; i++) { |
| 329 |
EXPECT_OK(s2n_stuffer_write_uint8_hex(&output, digest_pad[i])); |
| 330 |
} |
| 331 |
|
| 332 |
|
| 333 |
EXPECT_EQUAL(memcmp(output_pad, "32c07a0b3a3fd0dd8f28021b4eea1c19d871f4586316b394124f3c99fb68e59579e05039c3bd9aab9841214f1c132f7666eb8800f14be8b9b091a7dba32bfe6f", 64 * 2), 0); |
| 334 |
|
| 335 |
END_TEST(); |
| 336 |
} |