Lines Matching refs:num
392 mbedtls_mpi num; variable
399 mbedtls_mpi_init( &num );
400 mbedtls_mpi_lset( &num, 3 );
407 TEST_ASSERT(crypto_ec_point_mul(e, p, (crypto_bignum *) &num, q) == 0); //q = 3p
414 mbedtls_mpi_free( &num );
431 mbedtls_mpi num; variable
438 mbedtls_mpi_init( &num );
439 mbedtls_mpi_lset( &num, 100 );
446 TEST_ASSERT(crypto_ec_point_mul(e, p, (crypto_bignum *) &num, q) == 0);
447 TEST_ASSERT(crypto_ec_point_mul(e, p, (crypto_bignum *) &num, r) == 0);
454 mbedtls_mpi_free( &num );
468 mbedtls_mpi num; variable
474 mbedtls_mpi_init( &num );
475 mbedtls_mpi_lset( &num, 50 );
486 TEST_ASSERT(crypto_ec_point_mul(e, p, (crypto_bignum *) &num, q) == 0);
490 mbedtls_mpi_free( &num );
505 mbedtls_mpi num; variable
512 mbedtls_mpi_init( &num );
513 mbedtls_mpi_lset( &num, 50 );
538 mbedtls_mpi_free( &num );