Searched refs:Vi (Results 1 – 6 of 6) sorted by relevance
/net-tools-3.5.0/mbedtls-2.4.0/library/ |
D | dhm.c | 298 MBEDTLS_MPI_CHK( mbedtls_mpi_lset( &ctx->Vi, 1 ) ); in dhm_update_blinding() 308 if( mbedtls_mpi_cmp_int( &ctx->Vi, 1 ) != 0 ) in dhm_update_blinding() 310 MBEDTLS_MPI_CHK( mbedtls_mpi_mul_mpi( &ctx->Vi, &ctx->Vi, &ctx->Vi ) ); in dhm_update_blinding() 311 MBEDTLS_MPI_CHK( mbedtls_mpi_mod_mpi( &ctx->Vi, &ctx->Vi, &ctx->P ) ); in dhm_update_blinding() 327 mbedtls_mpi_fill_random( &ctx->Vi, mbedtls_mpi_size( &ctx->P ), f_rng, p_rng ); in dhm_update_blinding() 329 while( mbedtls_mpi_cmp_mpi( &ctx->Vi, &ctx->P ) >= 0 ) in dhm_update_blinding() 330 MBEDTLS_MPI_CHK( mbedtls_mpi_shift_r( &ctx->Vi, 1 ) ); in dhm_update_blinding() 335 while( mbedtls_mpi_cmp_int( &ctx->Vi, 1 ) <= 0 ); in dhm_update_blinding() 338 MBEDTLS_MPI_CHK( mbedtls_mpi_inv_mod( &ctx->Vf, &ctx->Vi, &ctx->P ) ); in dhm_update_blinding() 368 MBEDTLS_MPI_CHK( mbedtls_mpi_mul_mpi( &GYb, &ctx->GY, &ctx->Vi ) ); in mbedtls_dhm_calc_secret() [all …]
|
D | rsa.c | 333 MBEDTLS_MPI_CHK( mbedtls_mpi_mul_mpi( &ctx->Vi, &ctx->Vi, &ctx->Vi ) ); in rsa_prepare_blinding() 334 MBEDTLS_MPI_CHK( mbedtls_mpi_mod_mpi( &ctx->Vi, &ctx->Vi, &ctx->N ) ); in rsa_prepare_blinding() 347 MBEDTLS_MPI_CHK( mbedtls_mpi_gcd( &ctx->Vi, &ctx->Vf, &ctx->N ) ); in rsa_prepare_blinding() 348 } while( mbedtls_mpi_cmp_int( &ctx->Vi, 1 ) != 0 ); in rsa_prepare_blinding() 351 MBEDTLS_MPI_CHK( mbedtls_mpi_inv_mod( &ctx->Vi, &ctx->Vf, &ctx->N ) ); in rsa_prepare_blinding() 352 MBEDTLS_MPI_CHK( mbedtls_mpi_exp_mod( &ctx->Vi, &ctx->Vi, &ctx->E, &ctx->N, &ctx->RN ) ); in rsa_prepare_blinding() 397 MBEDTLS_MPI_CHK( mbedtls_mpi_mul_mpi( &T, &T, &ctx->Vi ) ); in mbedtls_rsa_private() 1499 MBEDTLS_MPI_CHK( mbedtls_mpi_copy( &dst->Vi, &src->Vi ) ); in mbedtls_rsa_copy() 1517 mbedtls_mpi_free( &ctx->Vi ); mbedtls_mpi_free( &ctx->Vf ); in mbedtls_rsa_free()
|
D | ecdh.c | 104 mbedtls_ecp_point_free( &ctx->Vi ); in mbedtls_ecdh_free()
|
/net-tools-3.5.0/mbedtls-2.4.0/include/mbedtls/ |
D | dhm.h | 159 mbedtls_mpi Vi; /*!< blinding value */ member
|
D | ecdh.h | 52 mbedtls_ecp_point Vi; /*!< blinding value (for later) */ member
|
D | rsa.h | 98 mbedtls_mpi Vi; /*!< cached blinding value */ member
|