Home
last modified time | relevance | path

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

/openthread-2.7.6/third_party/mbedtls/repo/library/
Decp_curves.c1367 static inline int ecp_mod_koblitz( mbedtls_mpi *N, mbedtls_mpi_uint *Rp, size_t p_limbs, in ecp_mod_koblitz() argument
1375 if( N->n < p_limbs ) in ecp_mod_koblitz()
1388 M.n = N->n - ( p_limbs - adjust ); in ecp_mod_koblitz()
1389 if( M.n > p_limbs + adjust ) in ecp_mod_koblitz()
1390 M.n = p_limbs + adjust; in ecp_mod_koblitz()
1392 memcpy( Mp, N->p + p_limbs - adjust, M.n * sizeof( mbedtls_mpi_uint ) ); in ecp_mod_koblitz()
1399 N->p[p_limbs - 1] &= mask; in ecp_mod_koblitz()
1400 for( i = p_limbs; i < N->n; i++ ) in ecp_mod_koblitz()
1410 M.n = N->n - ( p_limbs - adjust ); in ecp_mod_koblitz()
1411 if( M.n > p_limbs + adjust ) in ecp_mod_koblitz()
[all …]