Lines Matching refs:cmp

69 static int test_param_type_extra(OSSL_PARAM *param, const unsigned char *cmp,  in test_param_type_extra()  argument
103 if (!TEST_mem_eq(buf, sz, cmp, sz)) in test_param_type_extra()
108 if (!TEST_mem_eq(buf, sz, cmp, sz)) in test_param_type_extra()
113 if (!TEST_mem_eq(buf, sz, cmp, sz)) in test_param_type_extra()
151 unsigned char buf[MAX_LEN], cmp[sizeof(int)]; in test_param_int() local
162 le_copy(cmp, &out, sizeof(out)); in test_param_int()
163 if (!TEST_mem_eq(cmp, len, raw_values[n].value, len)) in test_param_int()
168 le_copy(cmp, &in, sizeof(in)); in test_param_int()
169 if (!TEST_mem_eq(cmp, sizeof(in), raw_values[n].value, sizeof(in))) in test_param_int()
178 unsigned char buf[MAX_LEN], cmp[sizeof(long int)]; in test_param_long() local
189 le_copy(cmp, &out, sizeof(out)); in test_param_long()
190 if (!TEST_mem_eq(cmp, len, raw_values[n].value, len)) in test_param_long()
195 le_copy(cmp, &in, sizeof(in)); in test_param_long()
196 if (!TEST_mem_eq(cmp, sizeof(in), raw_values[n].value, sizeof(in))) in test_param_long()
205 unsigned char buf[MAX_LEN], cmp[sizeof(unsigned int)]; in test_param_uint() local
215 le_copy(cmp, &out, sizeof(out)); in test_param_uint()
216 if (!TEST_mem_eq(cmp, len, raw_values[n].value, len)) in test_param_uint()
221 le_copy(cmp, &in, sizeof(in)); in test_param_uint()
222 if (!TEST_mem_eq(cmp, sizeof(in), raw_values[n].value, sizeof(in))) in test_param_uint()
231 unsigned char buf[MAX_LEN], cmp[sizeof(unsigned long int)]; in test_param_ulong() local
242 le_copy(cmp, &out, sizeof(out)); in test_param_ulong()
243 if (!TEST_mem_eq(cmp, len, raw_values[n].value, len)) in test_param_ulong()
248 le_copy(cmp, &in, sizeof(in)); in test_param_ulong()
249 if (!TEST_mem_eq(cmp, sizeof(in), raw_values[n].value, sizeof(in))) in test_param_ulong()
258 unsigned char buf[MAX_LEN], cmp[sizeof(int32_t)]; in test_param_int32() local
269 le_copy(cmp, &out, sizeof(out)); in test_param_int32()
270 if (!TEST_mem_eq(cmp, len, raw_values[n].value, len)) in test_param_int32()
275 le_copy(cmp, &in, sizeof(in)); in test_param_int32()
276 if (!TEST_mem_eq(cmp, sizeof(in), raw_values[n].value, sizeof(in))) in test_param_int32()
285 unsigned char buf[MAX_LEN], cmp[sizeof(uint32_t)]; in test_param_uint32() local
296 le_copy(cmp, &out, sizeof(out)); in test_param_uint32()
297 if (!TEST_mem_eq(cmp, len, raw_values[n].value, len)) in test_param_uint32()
302 le_copy(cmp, &in, sizeof(in)); in test_param_uint32()
303 if (!TEST_mem_eq(cmp, sizeof(in), raw_values[n].value, sizeof(in))) in test_param_uint32()
312 unsigned char buf[MAX_LEN], cmp[sizeof(int64_t)]; in test_param_int64() local
323 le_copy(cmp, &out, sizeof(out)); in test_param_int64()
324 if (!TEST_mem_eq(cmp, len, raw_values[n].value, len)) in test_param_int64()
329 le_copy(cmp, &in, sizeof(in)); in test_param_int64()
330 if (!TEST_mem_eq(cmp, sizeof(in), raw_values[n].value, sizeof(in))) in test_param_int64()
339 unsigned char buf[MAX_LEN], cmp[sizeof(uint64_t)]; in test_param_uint64() local
350 le_copy(cmp, &out, sizeof(out)); in test_param_uint64()
351 if (!TEST_mem_eq(cmp, len, raw_values[n].value, len)) in test_param_uint64()
356 le_copy(cmp, &in, sizeof(in)); in test_param_uint64()
357 if (!TEST_mem_eq(cmp, sizeof(in), raw_values[n].value, sizeof(in))) in test_param_uint64()
366 unsigned char buf[MAX_LEN], cmp[sizeof(size_t)]; in test_param_size_t() local
377 le_copy(cmp, &out, sizeof(out)); in test_param_size_t()
378 if (!TEST_mem_eq(cmp, len, raw_values[n].value, len)) in test_param_size_t()
383 le_copy(cmp, &in, sizeof(in)); in test_param_size_t()
384 if (!TEST_mem_eq(cmp, sizeof(in), raw_values[n].value, sizeof(in))) in test_param_size_t()
393 unsigned char buf[MAX_LEN], cmp[sizeof(time_t)]; in test_param_time_t() local
404 le_copy(cmp, &out, sizeof(out)); in test_param_time_t()
405 if (!TEST_mem_eq(cmp, len, raw_values[n].value, len)) in test_param_time_t()
410 le_copy(cmp, &in, sizeof(in)); in test_param_time_t()
411 if (!TEST_mem_eq(cmp, sizeof(in), raw_values[n].value, sizeof(in))) in test_param_time_t()