Home
last modified time | relevance | path

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

/hostap-3.7.0/src/eap_common/
Deap_pwd_common.c133 unsigned char pwe_digest[SHA256_MAC_LEN], *prfbuf = NULL, ctr; in compute_password_element() local
157 if ((prfbuf = os_malloc(primebytelen)) == NULL) { in compute_password_element()
171 os_memset(prfbuf, 0, primebytelen); in compute_password_element()
202 prfbuf, primebitlen) < 0) in compute_password_element()
205 buf_shift_right(prfbuf, primebytelen, in compute_password_element()
207 cmp_prime = const_time_memcmp(prfbuf, prime_bin, primebytelen); in compute_password_element()
216 x_candidate = crypto_bignum_init_set(prfbuf, primebytelen); in compute_password_element()
224 prfbuf, primebytelen); in compute_password_element()
225 const_time_select_bin(found, x_bin, prfbuf, primebytelen, in compute_password_element()
319 bin_clear_free(prfbuf, primebytelen); in compute_password_element()