Home
last modified time | relevance | path

Searched refs:QP (Results 1 – 17 of 17) sorted by relevance

/net-tools-latest/mbedtls-2.4.0/programs/pkey/
Drsa_priv.txt8 QP = 97AC5BB885ABCA314375E9E4DB1BA4B2218C90619F61BD474F5785075ECA81750A735199A8C191FE2D3355E7CF601A…
Drsa_genkey.c132 ( ret = mbedtls_mpi_write_file( "QP = ", &rsa.QP, 16, fpriv ) ) != 0 ) in main()
Drsa_sign.c97 ( ret = mbedtls_mpi_read_file( &rsa.QP, 16, f ) ) != 0 ) in main()
Drsa_decrypt.c123 ( return_val = mbedtls_mpi_read_file( &rsa.QP, 16, f ) ) != 0 ) in main()
Ddh_server.c134 ( ret = mbedtls_mpi_read_file( &rsa.QP, 16, f ) ) != 0 ) in main()
Dkey_app.c199 mbedtls_mpi_write_file( "QP: ", &rsa->QP, 16, NULL ); in main()
Dgen_key.c369 mbedtls_mpi_write_file( "QP: ", &rsa->QP, 16, NULL ); in main()
Dkey_app_writer.c310 mbedtls_mpi_write_file( "QP: ", &rsa->QP, 16, NULL ); in main()
/net-tools-latest/mbedtls-2.4.0/library/
Drsa.c151 MBEDTLS_MPI_CHK( mbedtls_mpi_inv_mod( &ctx->QP, &ctx->Q, &ctx->P ) ); in mbedtls_rsa_gen_key()
199 mbedtls_mpi PQ, DE, P1, Q1, H, I, G, G2, L1, L2, DP, DQ, QP; in mbedtls_rsa_check_privkey() local
210 mbedtls_mpi_init( &QP ); in mbedtls_rsa_check_privkey()
225 MBEDTLS_MPI_CHK( mbedtls_mpi_inv_mod( &QP, &ctx->Q, &ctx->P ) ); in mbedtls_rsa_check_privkey()
232 mbedtls_mpi_cmp_mpi( &QP, &ctx->QP ) != 0 || in mbedtls_rsa_check_privkey()
244 mbedtls_mpi_free( &QP ); in mbedtls_rsa_check_privkey()
417 MBEDTLS_MPI_CHK( mbedtls_mpi_mul_mpi( &T1, &T, &ctx->QP ) ); in mbedtls_rsa_private()
1493 MBEDTLS_MPI_CHK( mbedtls_mpi_copy( &dst->QP, &src->QP ) ); in mbedtls_rsa_copy()
1519 mbedtls_mpi_free( &ctx->QP ); mbedtls_mpi_free( &ctx->DQ ); mbedtls_mpi_free( &ctx->DP ); in mbedtls_rsa_free()
1634 MBEDTLS_MPI_CHK( mbedtls_mpi_read_string( &rsa.QP, 16, RSA_QP ) ); in mbedtls_rsa_self_test()
Dpkwrite.c210 MBEDTLS_ASN1_CHK_ADD( len, mbedtls_asn1_write_mpi( &c, buf, &rsa->QP ) ); in mbedtls_pk_write_key_der()
Dpkparse.c694 ( ret = mbedtls_asn1_get_mpi( &p, end, &rsa->QP ) ) != 0 ) in pk_parse_key_pkcs1_der()
/net-tools-latest/mbedtls-2.4.0/tests/suites/
Dtest_suite_rsa.function55 TEST_ASSERT( mbedtls_mpi_inv_mod( &ctx.QP, &ctx.Q, &ctx.P ) == 0 );
152 TEST_ASSERT( mbedtls_mpi_inv_mod( &ctx.QP, &ctx.Q, &ctx.P ) == 0 );
351 TEST_ASSERT( mbedtls_mpi_inv_mod( &ctx.QP, &ctx.Q, &ctx.P ) == 0 );
459 TEST_ASSERT( mbedtls_mpi_inv_mod( &ctx.QP, &ctx.Q, &ctx.P ) == 0 );
583 TEST_ASSERT( mbedtls_mpi_read_string( &ctx.QP, radix_QP, input_QP ) == 0 );
650 TEST_ASSERT( mbedtls_mpi_read_string( &prv.QP, radix_QP, input_QP ) == 0 );
Dtest_suite_pkcs1_v15.function91 TEST_ASSERT( mbedtls_mpi_inv_mod( &ctx.QP, &ctx.Q, &ctx.P ) == 0 );
152 TEST_ASSERT( mbedtls_mpi_inv_mod( &ctx.QP, &ctx.Q, &ctx.P ) == 0 );
Dtest_suite_pkcs1_v21.function91 TEST_ASSERT( mbedtls_mpi_inv_mod( &ctx.QP, &ctx.Q, &ctx.P ) == 0 );
152 TEST_ASSERT( mbedtls_mpi_inv_mod( &ctx.QP, &ctx.Q, &ctx.P ) == 0 );
Dtest_suite_pk.function366 TEST_ASSERT( mbedtls_mpi_inv_mod( &rsa->QP, &rsa->Q, &rsa->P ) == 0 );
Dtest_suite_rsa.data276 RSA Check Private key #9 (No QP)
/net-tools-latest/mbedtls-2.4.0/include/mbedtls/
Drsa.h92 mbedtls_mpi QP; /*!< 1 / (Q % P) */ member