Home
last modified time | relevance | path

Searched refs:Z (Results 1 – 15 of 15) sorted by relevance

/net-tools-2.7.6/mbedtls-2.4.0/library/
Decp.c278 mbedtls_mpi_init( &pt->Z ); in mbedtls_ecp_point_init()
315 mbedtls_mpi_free( &( pt->Z ) ); in mbedtls_ecp_point_free()
369 MBEDTLS_MPI_CHK( mbedtls_mpi_copy( &P->Z, &Q->Z ) ); in mbedtls_ecp_copy()
392 MBEDTLS_MPI_CHK( mbedtls_mpi_lset( &pt->Z , 0 ) ); in mbedtls_ecp_set_zero()
403 return( mbedtls_mpi_cmp_int( &pt->Z, 0 ) == 0 ); in mbedtls_ecp_is_zero()
414 mbedtls_mpi_cmp_mpi( &P->Z, &Q->Z ) == 0 ) in mbedtls_ecp_point_cmp()
432 MBEDTLS_MPI_CHK( mbedtls_mpi_lset( &P->Z, 1 ) ); in mbedtls_ecp_point_read_string()
455 if( mbedtls_mpi_cmp_int( &P->Z, 0 ) == 0 ) in mbedtls_ecp_point_write_binary()
524 MBEDTLS_MPI_CHK( mbedtls_mpi_lset( &pt->Z, 1 ) ); in mbedtls_ecp_point_read_binary()
748 if( mbedtls_mpi_cmp_int( &pt->Z, 0 ) == 0 ) in ecp_normalize_jac()
[all …]
Dbignum.c1321 mbedtls_mpi X, Y, Z, T1, T2; in mbedtls_mpi_div_mpi() local
1326 mbedtls_mpi_init( &X ); mbedtls_mpi_init( &Y ); mbedtls_mpi_init( &Z ); in mbedtls_mpi_div_mpi()
1340 MBEDTLS_MPI_CHK( mbedtls_mpi_grow( &Z, A->n + 2 ) ); in mbedtls_mpi_div_mpi()
1341 MBEDTLS_MPI_CHK( mbedtls_mpi_lset( &Z, 0 ) ); in mbedtls_mpi_div_mpi()
1360 Z.p[n - t]++; in mbedtls_mpi_div_mpi()
1368 Z.p[i - t - 1] = ~0; in mbedtls_mpi_div_mpi()
1371 Z.p[i - t - 1] = mbedtls_int_div_int( X.p[i], X.p[i - 1], in mbedtls_mpi_div_mpi()
1375 Z.p[i - t - 1]++; in mbedtls_mpi_div_mpi()
1378 Z.p[i - t - 1]--; in mbedtls_mpi_div_mpi()
1383 MBEDTLS_MPI_CHK( mbedtls_mpi_mul_int( &T1, &T1, Z.p[i - t - 1] ) ); in mbedtls_mpi_div_mpi()
[all …]
Dpkparse.c343 mbedtls_mpi_lset( &grp->G.Z, 1 ) != 0 ) in pk_group_from_specified()
391 mbedtls_mpi_cmp_mpi( &grp->G.Z, &ref.G.Z ) == 0 && in pk_group_id_from_group()
Decp_curves.c591 ecp_mpi_set1( &grp->G.Z ); in ecp_group_load()
674 MBEDTLS_MPI_CHK( mbedtls_mpi_lset( &grp->G.Z, 1 ) ); in ecp_use_curve25519()
/net-tools-2.7.6/mbedtls-2.4.0/tests/suites/
Dtest_suite_mpi.function13 mbedtls_mpi X, Y, Z;
17 mbedtls_mpi_init( &Z );
244 mbedtls_mpi A, X, Y, Z;
245 mbedtls_mpi_init( &A ); mbedtls_mpi_init( &X ); mbedtls_mpi_init( &Y ); mbedtls_mpi_init( &Z );
250 TEST_ASSERT( mbedtls_mpi_gcd( &Z, &X, &Y ) == 0 );
251 TEST_ASSERT( mbedtls_mpi_cmp_mpi( &Z, &A ) == 0 );
254 mbedtls_mpi_free( &A ); mbedtls_mpi_free( &X ); mbedtls_mpi_free( &Y ); mbedtls_mpi_free( &Z );
435 mbedtls_mpi X, Y, Z, A;
436 mbedtls_mpi_init( &X ); mbedtls_mpi_init( &Y ); mbedtls_mpi_init( &Z ); mbedtls_mpi_init( &A );
441 TEST_ASSERT( mbedtls_mpi_add_mpi( &Z, &X, &Y ) == 0 );
[all …]
Dtest_suite_ecp.function43 TEST_ASSERT( mbedtls_mpi_lset( &P.Z, 1 ) == 0 );
210 TEST_ASSERT( mbedtls_mpi_read_string( &P.Z, 16, z ) == 0 );
232 mbedtls_mpi X, Y, Z;
239 mbedtls_mpi_init( &X ); mbedtls_mpi_init( &Y ); mbedtls_mpi_init( &Z );
245 TEST_ASSERT( mbedtls_mpi_read_string( &Z, 16, z ) == 0 );
255 TEST_ASSERT( mbedtls_mpi_cmp_mpi( &P.Z, &Z ) == 0 );
260 mbedtls_mpi_free( &X ); mbedtls_mpi_free( &Y ); mbedtls_mpi_free( &Z );
270 mbedtls_mpi X, Y, Z;
278 mbedtls_mpi_init( &X ); mbedtls_mpi_init( &Y ); mbedtls_mpi_init( &Z );
284 TEST_ASSERT( mbedtls_mpi_read_string( &Z, 16, z ) == 0 );
[all …]
Dtest_suite_x509parse.data1532 x509_get_time:MBEDTLS_ASN1_UTC_TIME:"500101000000Z":0:1950:1:1:0:0:0
1536 x509_get_time:MBEDTLS_ASN1_GENERALIZED_TIME:"99991231235959Z":0:9999:12:31:23:59:59
1540 x509_get_time:MBEDTLS_ASN1_UTC_TIME:"490229121212Z":MBEDTLS_ERR_X509_INVALID_DATE:0:0:0:0:0:0
1544 x509_get_time:MBEDTLS_ASN1_UTC_TIME:"000229121212Z":0:2000:2:29:12:12:12
1548 x509_get_time:MBEDTLS_ASN1_UTC_TIME:"000132121212Z":MBEDTLS_ERR_X509_INVALID_DATE:0:0:0:0:0:0
1552 x509_get_time:MBEDTLS_ASN1_UTC_TIME:"001131121212Z":MBEDTLS_ERR_X509_INVALID_DATE:0:0:0:0:0:0
1556 x509_get_time:MBEDTLS_ASN1_UTC_TIME:"001130241212Z":MBEDTLS_ERR_X509_INVALID_DATE:0:0:0:0:0:0
1560 x509_get_time:MBEDTLS_ASN1_UTC_TIME:"001130236012Z":MBEDTLS_ERR_X509_INVALID_DATE:0:0:0:0:0:0
1564 x509_get_time:MBEDTLS_ASN1_UTC_TIME:"001130235960Z":MBEDTLS_ERR_X509_INVALID_DATE:0:0:0:0:0:0
/net-tools-2.7.6/mbedtls-2.4.0/programs/pkey/
Dmpi_demo.c51 mbedtls_mpi E, P, Q, N, H, D, X, Y, Z; in main() local
55 mbedtls_mpi_init( &Z ); in main()
83 MBEDTLS_MPI_CHK( mbedtls_mpi_exp_mod( &Z, &Y, &D, &N, NULL ) ); in main()
88 MBEDTLS_MPI_CHK( mbedtls_mpi_write_file( " Z (decrypted) = Y^D mod N = ", &Z, 10, NULL ) ); in main()
94 mbedtls_mpi_free( &Z ); in main()
Decdh_curve25519.c150 ret = mbedtls_mpi_lset( &ctx_srv.Qp.Z, 1 ); in main()
181 ret = mbedtls_mpi_lset( &ctx_cli.Qp.Z, 1 ); in main()
Dkey_app.c209 mbedtls_mpi_write_file( "Q(Z): ", &ecp->Q.Z, 16, NULL ); in main()
253 mbedtls_mpi_write_file( "Q(Z): ", &ecp->Q.Z, 16, NULL ); in main()
Dkey_app_writer.c320 mbedtls_mpi_write_file( "Q(Z): ", &ecp->Q.Z, 16, NULL ); in main()
367 mbedtls_mpi_write_file( "Q(Z): ", &ecp->Q.Z, 16, NULL ); in main()
/net-tools-2.7.6/mbedtls-2.4.0/tests/data_files/
Dserver8.crt8 ESyuarmKvR1nZhfqTr3bFZqCh+TweMOjhYew/Z+pmV/jM+zM6gu1YV7xSX4/oy3q
Dserver8_int-ca2.crt8 ESyuarmKvR1nZhfqTr3bFZqCh+TweMOjhYew/Z+pmV/jM+zM6gu1YV7xSX4/oy3q
Dcert_sha256.crt73 ynDTEMUu/Z/SDWXE8szvGxjhCghOZ9BWfyRULnMxtU0idPgw+ZLEZMlGgNThvdbn
/net-tools-2.7.6/mbedtls-2.4.0/include/mbedtls/
Decp.h101 mbedtls_mpi Z; /*!< the point's Z coordinate */ member