Searched refs:primebytelen (Results 1 – 1 of 1) sorted by relevance
154 size_t primebytelen = 0, primebitlen; in compute_password_element() local166 primebytelen = crypto_ec_prime_len(grp->group); in compute_password_element()168 primebytelen) < 0) in compute_password_element()179 if ((prfbuf = os_malloc(primebytelen)) == NULL) { in compute_password_element()203 primebytelen) < 0 || in compute_password_element()205 primebytelen) < 0) in compute_password_element()208 os_memset(prfbuf, 0, primebytelen); in compute_password_element()242 buf_shift_right(prfbuf, primebytelen, in compute_password_element()244 if (const_time_memcmp(prfbuf, prime_bin, primebytelen) >= 0) in compute_password_element()248 x_candidate = crypto_bignum_init_set(prfbuf, primebytelen); in compute_password_element()[all …]