Lines Matching refs:vec

55 		free(info.vec[i]);  in fips_test_fetch_one_block()
56 info.vec[i] = NULL; in fips_test_fetch_one_block()
71 info.vec[i] = calloc(1, size + 5); in fips_test_fetch_one_block()
72 if (info.vec[i] == NULL) in fips_test_fetch_one_block()
75 strlcpy(info.vec[i], info.one_line_text, size + 1); in fips_test_fetch_one_block()
85 if (info.vec[i] != NULL) { in fips_test_fetch_one_block()
86 free(info.vec[i]); in fips_test_fetch_one_block()
87 info.vec[i] = NULL; in fips_test_fetch_one_block()
98 int len = strlen(info.vec[0]); in fips_test_parse_version()
99 char *ptr = info.vec[0]; in fips_test_parse_version()
123 if (strstr(info.vec[i], "AESVS")) { in fips_test_parse_header()
129 } else if (strstr(info.vec[i], "GCM")) { in fips_test_parse_header()
135 } else if (strstr(info.vec[i], "CMAC")) { in fips_test_parse_header()
141 } else if (strstr(info.vec[i], "CCM")) { in fips_test_parse_header()
147 } else if (strstr(info.vec[i], "HMAC")) { in fips_test_parse_header()
153 } else if (strstr(info.vec[i], "TDES")) { in fips_test_parse_header()
159 } else if (strstr(info.vec[i], "PERMUTATION")) { in fips_test_parse_header()
165 } else if (strstr(info.vec[i], "VARIABLE")) { in fips_test_parse_header()
171 } else if (strstr(info.vec[i], "SUBSTITUTION")) { in fips_test_parse_header()
177 } else if (strstr(info.vec[i], "SHA-")) { in fips_test_parse_header()
183 } else if (strstr(info.vec[i], "XTS")) { in fips_test_parse_header()
192 tmp = strstr(info.vec[i], "# Config info for "); in fips_test_parse_header()
199 tmp = strstr(info.vec[i], "# HMAC information for "); in fips_test_parse_header()
207 tmp = strstr(info.vec[i], "# Config Info for : "); in fips_test_parse_header()
215 tmp = strstr(info.vec[i], "# information for "); in fips_test_parse_header()
220 strlcpy(tmp_output, info.vec[i], tmp - info.vec[i] + 1); in fips_test_parse_header()
228 tmp = strstr(info.vec[i], " test information for "); in fips_test_parse_header()
232 strlcpy(tmp_output, info.vec[i], tmp - info.vec[i] + 1); in fips_test_parse_header()
240 tmp = strstr(info.vec[i], "\" information for \""); in fips_test_parse_header()
244 strlcpy(tmp_output, info.vec[i], tmp - info.vec[i] + 1); in fips_test_parse_header()
262 fprintf(info.fp_wr, "%s\n", info.vec[i]); in fips_test_parse_header()
352 free(info.vec[i]); in fips_test_clear()
372 if (strstr(info.vec[i], in fips_test_parse_one_case()
378 info.vec[i], in fips_test_parse_one_case()
392 fprintf(info.fp_wr, "%s\n", info.vec[i]); in fips_test_parse_one_case()
399 fprintf(info.fp_wr, "%s\n", info.vec[i]); in fips_test_parse_one_case()
409 if (strstr(info.vec[i], info.callbacks[j].key)) { in fips_test_parse_one_case()
412 info.vec[i], info.callbacks[j].val); in fips_test_parse_one_case()
428 fprintf(info.fp_wr, "%s\n", info.vec[i]); in fips_test_write_one_case()
687 if ((info.version == 21.4f) && (!(strstr(info.vec[0], cb->key)))) { in update_info_vec()
691 snprintf(info.vec[0], strlen(info.vec[0]) + 4, "%s%u", cb->key, in update_info_vec()
699 if (strstr(info.vec[i], cb->key)) { in update_info_vec()
700 cb->cb(cb->key, info.vec[i], cb->val); in update_info_vec()