Searched refs:u1 (Results 1 – 3 of 3) sorted by relevance
/net-tools-2.7.6/mbedtls-2.4.0/library/ |
D | ecdsa.c | 204 mbedtls_mpi e, s_inv, u1, u2; in mbedtls_ecdsa_verify() local 208 …mbedtls_mpi_init( &e ); mbedtls_mpi_init( &s_inv ); mbedtls_mpi_init( &u1 ); mbedtls_mpi_init( &u2… in mbedtls_ecdsa_verify() 239 MBEDTLS_MPI_CHK( mbedtls_mpi_mul_mpi( &u1, &e, &s_inv ) ); in mbedtls_ecdsa_verify() 240 MBEDTLS_MPI_CHK( mbedtls_mpi_mod_mpi( &u1, &u1, &grp->N ) ); in mbedtls_ecdsa_verify() 251 MBEDTLS_MPI_CHK( mbedtls_ecp_muladd( grp, &R, &u1, &grp->G, &u2, Q ) ); in mbedtls_ecdsa_verify() 276 …mbedtls_mpi_free( &e ); mbedtls_mpi_free( &s_inv ); mbedtls_mpi_free( &u1 ); mbedtls_mpi_free( &u2… in mbedtls_ecdsa_verify()
|
D | bignum.c | 1222 static mbedtls_mpi_uint mbedtls_int_div_int( mbedtls_mpi_uint u1, in mbedtls_int_div_int() argument 1238 if( 0 == d || u1 >= d ) in mbedtls_int_div_int() 1246 dividend = (mbedtls_t_udbl) u1 << biL; in mbedtls_int_div_int() 1269 u1 = u1 << s; in mbedtls_int_div_int() 1270 u1 |= ( u0 >> ( biL - s ) ) & ( -(mbedtls_mpi_sint)s >> ( biL - 1 ) ); in mbedtls_int_div_int() 1282 q1 = u1 / d1; in mbedtls_int_div_int() 1283 r0 = u1 - d1 * q1; in mbedtls_int_div_int() 1293 rAX = ( u1 * radix ) + ( u0_msw - q1 * d ); in mbedtls_int_div_int() 1549 mbedtls_mpi_uint u0, u1, *d; in mpi_montmul() local 1566 u1 = ( d[0] + u0 * B->p[0] ) * mm; in mpi_montmul() [all …]
|
/net-tools-2.7.6/tinydtls-0.8.2/ecc/ |
D | ecc.c | 597 uint32_t u1[9]; in ecc_ecdsa_validate() local 611 fieldModO(tmp, u1, 16); in ecc_ecdsa_validate() 619 ecc_ec_mult(ecc_g_point_x, ecc_g_point_y, u1, tmp1_x, tmp1_y); in ecc_ecdsa_validate()
|