Home
last modified time | relevance | path

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

/hostap-3.6.0/tests/
Dtest-aes.c338 size_t bin_len, k_len = 0, p_len = 0, c_len = 0; in test_nist_key_wrap_ae() local
380 bin_len = os_strlen(pos); in test_nist_key_wrap_ae()
381 if (bin_len > sizeof(bin) * 2) { in test_nist_key_wrap_ae()
385 if (bin_len & 0x01) { in test_nist_key_wrap_ae()
390 bin_len /= 2; in test_nist_key_wrap_ae()
391 if (hexstr2bin(pos, bin, bin_len) < 0) { in test_nist_key_wrap_ae()
397 if (bin_len > sizeof(k)) { in test_nist_key_wrap_ae()
398 printf("Too long K (%u)\n", (unsigned) bin_len); in test_nist_key_wrap_ae()
401 os_memcpy(k, bin, bin_len); in test_nist_key_wrap_ae()
402 k_len = bin_len; in test_nist_key_wrap_ae()
[all …]
/hostap-3.6.0/wpa_supplicant/
Ddpp_supplicant.c4364 size_t bin_len; in wpas_dpp_ca_set() local
4415 bin = base64_decode(value, os_strlen(value), &bin_len); in wpas_dpp_ca_set()
4418 buf = wpabuf_alloc_copy(bin, bin_len); in wpas_dpp_ca_set()