Lines Matching refs:input_len

487 static unsigned char* unescape(const char *input, size_t input_len,  in unescape()  argument
493 if (input_len == 0) { in unescape()
499 if (!TEST_ptr(ret = p = OPENSSL_malloc(input_len))) in unescape()
502 for (i = 0; i < input_len; i++) { in unescape()
504 if (i == input_len - 1 || *++input != 'n') { in unescape()
1573 size_t input_len; member
1687 return parse_bin(value, &mdata->input, &mdata->input_len); in mac_test_parse()
1745 size_t input_len, donelen; in mac_test_run_pkey() local
1815 input_len = expected->input_len; in mac_test_run_pkey()
1820 if (data_chunk_size == 0 || (size_t) data_chunk_size > input_len) in mac_test_run_pkey()
1821 current_len = input_len; in mac_test_run_pkey()
1827 input_len -= current_len; in mac_test_run_pkey()
1828 } while (input_len > 0); in mac_test_run_pkey()
1870 size_t input_len, donelen ; in mac_test_run_mac() local
1995 input_len = expected->input_len; in mac_test_run_mac()
2000 if (data_chunk_size == 0 || (size_t) data_chunk_size > input_len) in mac_test_run_mac()
2001 current_len = input_len; in mac_test_run_mac()
2007 input_len -= current_len; in mac_test_run_mac()
2008 } while (input_len > 0); in mac_test_run_mac()
2084 expected->input, expected->input_len, in mac_test_run_mac()
2347 size_t input_len; member
2526 return parse_bin(value, &kdata->input, &kdata->input_len); in pkey_test_parse()
2595 expected->input, expected->input_len) <= 0 in pkey_test_run()
2601 expected->input, expected->input_len) <= 0) { in pkey_test_run()
2616 expected->input_len) <= 0 in pkey_test_run()
2622 expected->input_len) <= 0) { in pkey_test_run()
2736 kdata->input, kdata->input_len) <= 0) { in verify_test_run()
3106 size_t input_len; member
3155 return parse_bin(value, &edata->input, &edata->input_len); in encode_test_parse()
3167 size_t input_len, donelen; in encode_test_run() local
3178 OPENSSL_malloc(EVP_ENCODE_LENGTH(expected->input_len)))) in encode_test_run()
3183 input_len = expected->input_len; in encode_test_run()
3189 if (data_chunk_size == 0 || (size_t) data_chunk_size > input_len) in encode_test_run()
3190 current_len = input_len; in encode_test_run()
3196 input_len -= current_len; in encode_test_run()
3198 } while (input_len > 0); in encode_test_run()
3216 input_len = expected->output_len; in encode_test_run()
3221 if (data_chunk_size == 0 || (size_t) data_chunk_size > input_len) in encode_test_run()
3222 current_len = input_len; in encode_test_run()
3229 input_len -= current_len; in encode_test_run()
3231 } while (input_len > 0); in encode_test_run()
3241 expected->input, expected->input_len, in encode_test_run()