Lines Matching refs:cmp

116 static int test_param_type_extra(OSSL_PARAM *param, const unsigned char *cmp,  in test_param_type_extra()  argument
150 if (!TEST_mem_eq(buf, sz, cmp, sz)) in test_param_type_extra()
155 if (!TEST_mem_eq(buf, sz, cmp, sz)) in test_param_type_extra()
160 if (!TEST_mem_eq(buf, sz, cmp, sz)) in test_param_type_extra()
198 unsigned char buf[MAX_LEN], cmp[sizeof(int)]; in test_param_int() local
212 le_copy(cmp, sizeof(out), &out, sizeof(out)); in test_param_int()
213 if (!TEST_mem_eq(cmp, len, raw_values[n].value, len)) in test_param_int()
218 le_copy(cmp, sizeof(in), &in, sizeof(in)); in test_param_int()
219 if (!TEST_mem_eq(cmp, sizeof(in), raw_values[n].value, sizeof(in))) in test_param_int()
228 unsigned char buf[MAX_LEN], cmp[sizeof(long int)]; in test_param_long() local
242 le_copy(cmp, sizeof(out), &out, sizeof(out)); in test_param_long()
243 if (!TEST_mem_eq(cmp, len, raw_values[n].value, len)) in test_param_long()
248 le_copy(cmp, sizeof(in), &in, sizeof(in)); in test_param_long()
249 if (!TEST_mem_eq(cmp, sizeof(in), raw_values[n].value, sizeof(in))) in test_param_long()
258 unsigned char buf[MAX_LEN], cmp[sizeof(unsigned int)]; in test_param_uint() local
271 le_copy(cmp, sizeof(out), &out, sizeof(out)); in test_param_uint()
272 if (!TEST_mem_eq(cmp, len, raw_values[n].value, len)) in test_param_uint()
277 le_copy(cmp, sizeof(in), &in, sizeof(in)); in test_param_uint()
278 if (!TEST_mem_eq(cmp, sizeof(in), raw_values[n].value, sizeof(in))) in test_param_uint()
287 unsigned char buf[MAX_LEN], cmp[sizeof(unsigned long int)]; in test_param_ulong() local
301 le_copy(cmp, sizeof(out), &out, sizeof(out)); in test_param_ulong()
302 if (!TEST_mem_eq(cmp, len, raw_values[n].value, len)) in test_param_ulong()
307 le_copy(cmp, sizeof(in), &in, sizeof(in)); in test_param_ulong()
308 if (!TEST_mem_eq(cmp, sizeof(in), raw_values[n].value, sizeof(in))) in test_param_ulong()
317 unsigned char buf[MAX_LEN], cmp[sizeof(int32_t)]; in test_param_int32() local
331 le_copy(cmp, sizeof(out), &out, sizeof(out)); in test_param_int32()
332 if (!TEST_mem_eq(cmp, len, raw_values[n].value, len)) in test_param_int32()
337 le_copy(cmp, sizeof(in), &in, sizeof(in)); in test_param_int32()
338 if (!TEST_mem_eq(cmp, sizeof(in), raw_values[n].value, sizeof(in))) in test_param_int32()
347 unsigned char buf[MAX_LEN], cmp[sizeof(uint32_t)]; in test_param_uint32() local
361 le_copy(cmp, sizeof(out), &out, sizeof(out)); in test_param_uint32()
362 if (!TEST_mem_eq(cmp, len, raw_values[n].value, len)) in test_param_uint32()
367 le_copy(cmp, sizeof(in), &in, sizeof(in)); in test_param_uint32()
368 if (!TEST_mem_eq(cmp, sizeof(in), raw_values[n].value, sizeof(in))) in test_param_uint32()
377 unsigned char buf[MAX_LEN], cmp[sizeof(int64_t)]; in test_param_int64() local
391 le_copy(cmp, sizeof(out), &out, sizeof(out)); in test_param_int64()
392 if (!TEST_mem_eq(cmp, len, raw_values[n].value, len)) in test_param_int64()
397 le_copy(cmp, sizeof(in), &in, sizeof(in)); in test_param_int64()
398 if (!TEST_mem_eq(cmp, sizeof(in), raw_values[n].value, sizeof(in))) in test_param_int64()
407 unsigned char buf[MAX_LEN], cmp[sizeof(uint64_t)]; in test_param_uint64() local
421 le_copy(cmp, sizeof(out), &out, sizeof(out)); in test_param_uint64()
422 if (!TEST_mem_eq(cmp, len, raw_values[n].value, len)) in test_param_uint64()
427 le_copy(cmp, sizeof(in), &in, sizeof(in)); in test_param_uint64()
428 if (!TEST_mem_eq(cmp, sizeof(in), raw_values[n].value, sizeof(in))) in test_param_uint64()
437 unsigned char buf[MAX_LEN], cmp[sizeof(size_t)]; in test_param_size_t() local
451 le_copy(cmp, sizeof(out), &out, sizeof(out)); in test_param_size_t()
452 if (!TEST_mem_eq(cmp, len, raw_values[n].value, len)) in test_param_size_t()
457 le_copy(cmp, sizeof(in), &in, sizeof(in)); in test_param_size_t()
458 if (!TEST_mem_eq(cmp, sizeof(in), raw_values[n].value, sizeof(in))) in test_param_size_t()
467 unsigned char buf[MAX_LEN], cmp[sizeof(time_t)]; in test_param_time_t() local
481 le_copy(cmp, sizeof(out), &out, sizeof(out)); in test_param_time_t()
482 if (!TEST_mem_eq(cmp, len, raw_values[n].value, len)) in test_param_time_t()
487 le_copy(cmp, sizeof(in), &in, sizeof(in)); in test_param_time_t()
488 if (!TEST_mem_eq(cmp, sizeof(in), raw_values[n].value, sizeof(in))) in test_param_time_t()