Home
last modified time | relevance | path

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

/optee_os/lib/libmbedtls/mbedtls/library/
H A Drsa_alt_helpers.h130 mbedtls_mpi *DQ, mbedtls_mpi *QP);
200 const mbedtls_mpi *DQ, const mbedtls_mpi *QP);
H A Drsa_alt_helpers.c227 mbedtls_mpi *DQ, mbedtls_mpi *QP) in mbedtls_rsa_deduce_crt() argument
240 if (DQ != NULL) { in mbedtls_rsa_deduce_crt()
242 MBEDTLS_MPI_CHK(mbedtls_mpi_mod_mpi(DQ, D, &K)); in mbedtls_rsa_deduce_crt()
374 const mbedtls_mpi *DQ, const mbedtls_mpi *QP) in mbedtls_rsa_validate_crt() argument
400 if (DQ != NULL) { in mbedtls_rsa_validate_crt()
407 MBEDTLS_MPI_CHK(mbedtls_mpi_sub_mpi(&L, DQ, D)); in mbedtls_rsa_validate_crt()
H A Drsa.c181 (ret = mbedtls_mpi_copy(&rsa->DQ, &T)) != 0) { in mbedtls_rsa_parse_key()
696 mbedtls_mpi_cmp_int(&ctx->DQ, 0) <= 0)) { in rsa_check_context()
741 have_DQ = (mbedtls_mpi_cmp_int(&ctx->DQ, 0) != 0); in mbedtls_rsa_complete()
808 &ctx->DP, &ctx->DQ, &ctx->QP); in mbedtls_rsa_complete()
918 mbedtls_mpi *DP, mbedtls_mpi *DQ, mbedtls_mpi *QP) in mbedtls_rsa_export_crt() argument
938 (DQ != NULL && (ret = mbedtls_mpi_copy(DQ, &ctx->DQ)) != 0) || in mbedtls_rsa_export_crt()
944 DP, DQ, QP)) != 0) { in mbedtls_rsa_export_crt()
1142 &ctx->DP, &ctx->DQ, &ctx->QP)); in mbedtls_rsa_gen_key()
1207 &ctx->DP, &ctx->DQ, &ctx->QP) != 0) { in mbedtls_rsa_check_privkey()
1529 &ctx->DQ)); in mbedtls_rsa_private()
[all …]
/optee_os/lib/libmbedtls/mbedtls/include/mbedtls/
H A Drsa.h100 mbedtls_mpi MBEDTLS_PRIVATE(DQ); /*!< <code>D % (Q - 1)</code>. */
427 mbedtls_mpi *DP, mbedtls_mpi *DQ, mbedtls_mpi *QP);
/optee_os/lib/libmbedtls/core/
H A Drsa.c115 rsa->DQ = *(mbedtls_mpi *)key->dq; in rsa_complete_from_key_pair()
121 mbedtls_mpi_init_mempool(&rsa->DQ); in rsa_complete_from_key_pair()
132 &rsa->DP, &rsa->DQ, &rsa->QP); in rsa_complete_from_key_pair()
146 mbedtls_mpi_free(&rsa->DQ); in rsa_complete_from_key_pair()
175 mbedtls_mpi_init(&rsa->DQ); in mbd_rsa_free()
321 crypto_bignum_copy(key->dq, (void *)&rsa.DQ); in sw_crypto_acipher_gen_rsa_key()