Home
last modified time | relevance | path

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

/optee_os-3.20.0/lib/libmbedtls/mbedtls/include/mbedtls/
A Drsa_internal.h148 mbedtls_mpi *DQ, mbedtls_mpi *QP );
218 const mbedtls_mpi *DQ, const mbedtls_mpi *QP );
A Drsa.h125 mbedtls_mpi DQ; /*!< <code>D % (Q - 1)</code>. */ member
412 mbedtls_mpi *DP, mbedtls_mpi *DQ, mbedtls_mpi *QP );
/optee_os-3.20.0/lib/libmbedtls/mbedtls/library/
A Drsa_internal.c245 const mbedtls_mpi *DQ, const mbedtls_mpi *QP ) in mbedtls_rsa_validate_crt() argument
274 if( DQ != NULL ) in mbedtls_rsa_validate_crt()
283 MBEDTLS_MPI_CHK( mbedtls_mpi_sub_mpi( &L, DQ, D ) ); in mbedtls_rsa_validate_crt()
454 mbedtls_mpi *DQ, mbedtls_mpi *QP ) in mbedtls_rsa_deduce_crt() argument
468 if( DQ != NULL ) in mbedtls_rsa_deduce_crt()
471 MBEDTLS_MPI_CHK( mbedtls_mpi_mod_mpi( DQ, D, &K ) ); in mbedtls_rsa_deduce_crt()
A Drsa.c200 mbedtls_mpi_cmp_int( &ctx->DQ, 0 ) <= 0 ) ) in rsa_check_context()
250 have_DQ = ( mbedtls_mpi_cmp_int( &ctx->DQ, 0 ) != 0 ); in mbedtls_rsa_complete()
322 &ctx->DP, &ctx->DQ, &ctx->QP ); in mbedtls_rsa_complete()
449 ( DQ != NULL && ( ret = mbedtls_mpi_copy( DQ, &ctx->DQ ) ) != 0 ) || in mbedtls_rsa_export_crt()
456 DP, DQ, QP ) ) != 0 ) in mbedtls_rsa_export_crt()
683 &ctx->DP, &ctx->DQ, &ctx->QP ) != 0 ) in mbedtls_rsa_check_privkey()
882 mbedtls_mpi *DQ = &ctx->DQ; in mbedtls_rsa_private() local
992 &ctx->DQ ) ); in mbedtls_rsa_private()
994 DQ = &DQ_blind; in mbedtls_rsa_private()
2334 MBEDTLS_MPI_CHK( mbedtls_mpi_copy( &dst->DQ, &src->DQ ) ); in mbedtls_rsa_copy()
[all …]
A Dpkparse.c801 ( ret = mbedtls_mpi_copy( &rsa->DQ, &T ) ) != 0 ) in pk_parse_key_pkcs1_der()
/optee_os-3.20.0/lib/libmbedtls/core/
A Drsa.c110 rsa->DQ = *(mbedtls_mpi *)key->dq; in rsa_init_from_key_pair()
126 mbedtls_mpi_init(&rsa->DQ); in mbd_rsa_free()
260 crypto_bignum_copy(key->dq, (void *)&rsa.DQ); in sw_crypto_acipher_gen_rsa_key()

Completed in 16 milliseconds