1
0
mirror of https://github.com/Mbed-TLS/mbedtls.git synced 2025-07-28 00:21:48 +03:00

- Renamed t_s_int, t_int and t_dbl to respectively t_sint, t_uint and t_udbl for clarity

This commit is contained in:
Paul Bakker
2011-04-24 09:11:17 +00:00
parent 23986e5d5d
commit a755ca1bbe
7 changed files with 73 additions and 72 deletions

View File

@ -136,7 +136,7 @@ int dhm_make_params( dhm_context *ctx, int x_size,
/*
* Generate X as large as possible ( < P )
*/
n = x_size / sizeof( t_int ) + 1;
n = x_size / sizeof( t_uint ) + 1;
mpi_fill_random( &ctx->X, n, f_rng, p_rng );
@ -213,7 +213,7 @@ int dhm_make_public( dhm_context *ctx, int x_size,
/*
* generate X and calculate GX = G^X mod P
*/
n = x_size / sizeof( t_int ) + 1;
n = x_size / sizeof( t_uint ) + 1;
mpi_fill_random( &ctx->X, n, f_rng, p_rng );