Home
last modified time | relevance | path

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

/hostap-3.7.0/src/utils/
Dcommon.c894 size_t reslen, alen, i, max_size; in int_array_concat() local
897 reslen = int_array_len(*res); in int_array_concat()
900 if (alen >= max_size - reslen) { in int_array_concat()
909 n = os_realloc_array(*res, reslen + alen + 1, sizeof(int)); in int_array_concat()
916 n[reslen + i] = a[i]; in int_array_concat()
961 size_t reslen, max_size; in int_array_add_unique() local
964 for (reslen = 0; *res && (*res)[reslen]; reslen++) { in int_array_add_unique()
965 if ((*res)[reslen] == a) in int_array_add_unique()
970 if (reslen > max_size - 2) { in int_array_add_unique()
979 n = os_realloc_array(*res, reslen + 2, sizeof(int)); in int_array_add_unique()
[all …]
/hostap-3.7.0/src/radius/
Dradius.c983 const u8 *secret, size_t secret_len, size_t *reslen) in decrypt_ms_key() argument
1052 if (reslen) in decrypt_ms_key()
1053 *reslen = plain[0]; in decrypt_ms_key()