Searched refs:p_limbs (Results 1 – 1 of 1) sorted by relevance
1210 static inline int ecp_mod_koblitz( mbedtls_mpi *N, mbedtls_mpi_uint *Rp, size_t p_limbs, in ecp_mod_koblitz() argument1218 if( N->n < p_limbs ) in ecp_mod_koblitz()1231 M.n = N->n - ( p_limbs - adjust ); in ecp_mod_koblitz()1232 if( M.n > p_limbs + adjust ) in ecp_mod_koblitz()1233 M.n = p_limbs + adjust; in ecp_mod_koblitz()1235 memcpy( Mp, N->p + p_limbs - adjust, M.n * sizeof( mbedtls_mpi_uint ) ); in ecp_mod_koblitz()1242 N->p[p_limbs - 1] &= mask; in ecp_mod_koblitz()1243 for( i = p_limbs; i < N->n; i++ ) in ecp_mod_koblitz()1253 M.n = N->n - ( p_limbs - adjust ); in ecp_mod_koblitz()1254 if( M.n > p_limbs + adjust ) in ecp_mod_koblitz()[all …]