Home
last modified time | relevance | path

Searched refs:tc (Results 1 – 1 of 1) sorted by relevance

/hostap-latest/tests/
Dtest-aes.c242 const struct gcm_test_vector *tc = &gcm_tests[i]; in test_gcm() local
244 k_len = os_strlen(tc->k) / 2; in test_gcm()
245 if (hexstr2bin(tc->k, k, k_len)) { in test_gcm()
251 p_len = os_strlen(tc->p) / 2; in test_gcm()
252 if (hexstr2bin(tc->p, p, p_len)) { in test_gcm()
258 aad_len = os_strlen(tc->aad) / 2; in test_gcm()
259 if (hexstr2bin(tc->aad, aad, aad_len)) { in test_gcm()
265 iv_len = os_strlen(tc->iv) / 2; in test_gcm()
266 if (hexstr2bin(tc->iv, iv, iv_len)) { in test_gcm()
272 if (hexstr2bin(tc->c, c, p_len)) { in test_gcm()
[all …]