Home
last modified time | relevance | path

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

/hostap-latest/src/crypto/
Dcrypto_wolfssl.c1377 int num_bytes, offset; in crypto_bignum_to_bin() local
1385 num_bytes = (mp_count_bits((mp_int *) a) + 7) / 8; in crypto_bignum_to_bin()
1386 if ((size_t) num_bytes > buflen) in crypto_bignum_to_bin()
1388 if (padlen > (size_t) num_bytes) in crypto_bignum_to_bin()
1389 offset = padlen - num_bytes; in crypto_bignum_to_bin()
1396 return num_bytes + offset; in crypto_bignum_to_bin()
Dcrypto_openssl.c1948 int num_bytes, offset; in crypto_bignum_to_bin() local
1968 num_bytes = BN_num_bytes((const BIGNUM *) a); in crypto_bignum_to_bin()
1969 if ((size_t) num_bytes > buflen) in crypto_bignum_to_bin()
1971 if (padlen > (size_t) num_bytes) in crypto_bignum_to_bin()
1972 offset = padlen - num_bytes; in crypto_bignum_to_bin()
1979 return num_bytes + offset; in crypto_bignum_to_bin()