Lines Matching refs:cmp

118 static int test_param_type_extra(OSSL_PARAM *param, const unsigned char *cmp,  in test_param_type_extra()  argument
152 if (!TEST_mem_eq(buf, sz, cmp, sz)) in test_param_type_extra()
157 if (!TEST_mem_eq(buf, sz, cmp, sz)) in test_param_type_extra()
162 if (!TEST_mem_eq(buf, sz, cmp, sz)) in test_param_type_extra()
200 unsigned char buf[MAX_LEN], cmp[sizeof(int)]; in test_param_int() local
213 le_copy(cmp, sizeof(out), &out, sizeof(out)); in test_param_int()
214 if (!TEST_mem_eq(cmp, len, raw_values[n].value, len)) in test_param_int()
219 le_copy(cmp, sizeof(in), &in, sizeof(in)); in test_param_int()
220 if (!TEST_mem_eq(cmp, sizeof(in), raw_values[n].value, sizeof(in))) in test_param_int()
229 unsigned char buf[MAX_LEN], cmp[sizeof(long int)]; in test_param_long() local
244 le_copy(cmp, sizeof(out), &out, sizeof(out)); in test_param_long()
245 if (!TEST_mem_eq(cmp, len, raw_values[n].value, len)) in test_param_long()
250 le_copy(cmp, sizeof(in), &in, sizeof(in)); in test_param_long()
251 if (!TEST_mem_eq(cmp, sizeof(in), raw_values[n].value, sizeof(in))) in test_param_long()
260 unsigned char buf[MAX_LEN], cmp[sizeof(unsigned int)]; in test_param_uint() local
273 le_copy(cmp, sizeof(out), &out, sizeof(out)); in test_param_uint()
274 if (!TEST_mem_eq(cmp, len, raw_values[n].value, len)) in test_param_uint()
279 le_copy(cmp, sizeof(in), &in, sizeof(in)); in test_param_uint()
280 if (!TEST_mem_eq(cmp, sizeof(in), raw_values[n].value, sizeof(in))) in test_param_uint()
289 unsigned char buf[MAX_LEN], cmp[sizeof(unsigned long int)]; in test_param_ulong() local
304 le_copy(cmp, sizeof(out), &out, sizeof(out)); in test_param_ulong()
305 if (!TEST_mem_eq(cmp, len, raw_values[n].value, len)) in test_param_ulong()
310 le_copy(cmp, sizeof(in), &in, sizeof(in)); in test_param_ulong()
311 if (!TEST_mem_eq(cmp, sizeof(in), raw_values[n].value, sizeof(in))) in test_param_ulong()
320 unsigned char buf[MAX_LEN], cmp[sizeof(int32_t)]; in test_param_int32() local
335 le_copy(cmp, sizeof(out), &out, sizeof(out)); in test_param_int32()
336 if (!TEST_mem_eq(cmp, len, raw_values[n].value, len)) in test_param_int32()
341 le_copy(cmp, sizeof(in), &in, sizeof(in)); in test_param_int32()
342 if (!TEST_mem_eq(cmp, sizeof(in), raw_values[n].value, sizeof(in))) in test_param_int32()
351 unsigned char buf[MAX_LEN], cmp[sizeof(uint32_t)]; in test_param_uint32() local
366 le_copy(cmp, sizeof(out), &out, sizeof(out)); in test_param_uint32()
367 if (!TEST_mem_eq(cmp, len, raw_values[n].value, len)) in test_param_uint32()
372 le_copy(cmp, sizeof(in), &in, sizeof(in)); in test_param_uint32()
373 if (!TEST_mem_eq(cmp, sizeof(in), raw_values[n].value, sizeof(in))) in test_param_uint32()
382 unsigned char buf[MAX_LEN], cmp[sizeof(int64_t)]; in test_param_int64() local
397 le_copy(cmp, sizeof(out), &out, sizeof(out)); in test_param_int64()
398 if (!TEST_mem_eq(cmp, len, raw_values[n].value, len)) in test_param_int64()
403 le_copy(cmp, sizeof(in), &in, sizeof(in)); in test_param_int64()
404 if (!TEST_mem_eq(cmp, sizeof(in), raw_values[n].value, sizeof(in))) in test_param_int64()
413 unsigned char buf[MAX_LEN], cmp[sizeof(uint64_t)]; in test_param_uint64() local
428 le_copy(cmp, sizeof(out), &out, sizeof(out)); in test_param_uint64()
429 if (!TEST_mem_eq(cmp, len, raw_values[n].value, len)) in test_param_uint64()
434 le_copy(cmp, sizeof(in), &in, sizeof(in)); in test_param_uint64()
435 if (!TEST_mem_eq(cmp, sizeof(in), raw_values[n].value, sizeof(in))) in test_param_uint64()
444 unsigned char buf[MAX_LEN], cmp[sizeof(size_t)]; in test_param_size_t() local
459 le_copy(cmp, sizeof(out), &out, sizeof(out)); in test_param_size_t()
460 if (!TEST_mem_eq(cmp, len, raw_values[n].value, len)) in test_param_size_t()
465 le_copy(cmp, sizeof(in), &in, sizeof(in)); in test_param_size_t()
466 if (!TEST_mem_eq(cmp, sizeof(in), raw_values[n].value, sizeof(in))) in test_param_size_t()
475 unsigned char buf[MAX_LEN], cmp[sizeof(time_t)]; in test_param_time_t() local
490 le_copy(cmp, sizeof(out), &out, sizeof(out)); in test_param_time_t()
491 if (!TEST_mem_eq(cmp, len, raw_values[n].value, len)) in test_param_time_t()
496 le_copy(cmp, sizeof(in), &in, sizeof(in)); in test_param_time_t()
497 if (!TEST_mem_eq(cmp, sizeof(in), raw_values[n].value, sizeof(in))) in test_param_time_t()