Home
last modified time | relevance | path

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

/net-tools-latest/mbedtls-2.4.0/library/
Drsa.c199 mbedtls_mpi PQ, DE, P1, Q1, H, I, G, G2, L1, L2, DP, DQ, QP; in mbedtls_rsa_check_privkey() local
207 …mbedtls_mpi_init( &PQ ); mbedtls_mpi_init( &DE ); mbedtls_mpi_init( &P1 ); mbedtls_mpi_init( &Q1 ); in mbedtls_rsa_check_privkey()
212 MBEDTLS_MPI_CHK( mbedtls_mpi_mul_mpi( &PQ, &ctx->P, &ctx->Q ) ); in mbedtls_rsa_check_privkey()
229 if( mbedtls_mpi_cmp_mpi( &PQ, &ctx->N ) != 0 || in mbedtls_rsa_check_privkey()
241 …mbedtls_mpi_free( &PQ ); mbedtls_mpi_free( &DE ); mbedtls_mpi_free( &P1 ); mbedtls_mpi_free( &Q1 ); in mbedtls_rsa_check_privkey()