Searched refs:MPI_CHK (Results 1 - 3 of 3) sorted by relevance
/netgear-R7800-V1.0.2.28/package/px5g/src/library/ |
H A D | bignum.c | 157 MPI_CHK( mpi_grow( X, i ) ); 186 MPI_CHK( mpi_grow( X, 1 ) ); 273 MPI_CHK( mpi_grow( X, n ) ); 274 MPI_CHK( mpi_lset( X, 0 ) ); 284 MPI_CHK( mpi_get_digit( &d, radix, s[i] ) ); 290 MPI_CHK( mpi_lset( X, 0 ) ); 300 MPI_CHK( mpi_get_digit( &d, radix, s[i] ) ); 301 MPI_CHK( mpi_mul_int( &T, X, radix ) ); 302 MPI_CHK( mpi_add_int( X, &T, d ) ); 324 MPI_CHK( mpi_mod_in [all...] |
H A D | rsa.c | 89 MPI_CHK( mpi_lset( &ctx->E, exponent ) ); 93 MPI_CHK( mpi_gen_prime( &ctx->P, ( nbits + 1 ) >> 1, 0, 96 MPI_CHK( mpi_gen_prime( &ctx->Q, ( nbits + 1 ) >> 1, 0, 105 MPI_CHK( mpi_mul_mpi( &ctx->N, &ctx->P, &ctx->Q ) ); 109 MPI_CHK( mpi_sub_int( &P1, &ctx->P, 1 ) ); 110 MPI_CHK( mpi_sub_int( &Q1, &ctx->Q, 1 ) ); 111 MPI_CHK( mpi_mul_mpi( &H, &P1, &Q1 ) ); 112 MPI_CHK( mpi_gcd( &G, &ctx->E, &H ) ); 122 MPI_CHK( mpi_inv_mod( &ctx->D , &ctx->E, &H ) ); 123 MPI_CHK( mpi_mod_mp [all...] |
/netgear-R7800-V1.0.2.28/package/px5g/src/polarssl/ |
H A D | bignum.h | 48 #define MPI_CHK(f) if( ( ret = f ) != 0 ) goto cleanup macro
|
Completed in 50 milliseconds