Searched refs:QP (Results 1 – 6 of 6) sorted by relevance
/optee_os-3.20.0/lib/libmbedtls/mbedtls/include/mbedtls/ |
A D | rsa_internal.h | 148 mbedtls_mpi *DQ, mbedtls_mpi *QP ); 218 const mbedtls_mpi *DQ, const mbedtls_mpi *QP );
|
A D | rsa.h | 126 mbedtls_mpi QP; /*!< <code>1 / (Q % P)</code>. */ member 412 mbedtls_mpi *DP, mbedtls_mpi *DQ, mbedtls_mpi *QP );
|
/optee_os-3.20.0/lib/libmbedtls/mbedtls/library/ |
A D | rsa_internal.c | 245 const mbedtls_mpi *DQ, const mbedtls_mpi *QP ) in mbedtls_rsa_validate_crt() argument 294 if( QP != NULL ) in mbedtls_rsa_validate_crt() 302 MBEDTLS_MPI_CHK( mbedtls_mpi_mul_mpi( &K, QP, Q ) ); in mbedtls_rsa_validate_crt() 454 mbedtls_mpi *DQ, mbedtls_mpi *QP ) in mbedtls_rsa_deduce_crt() argument 475 if( QP != NULL ) in mbedtls_rsa_deduce_crt() 477 MBEDTLS_MPI_CHK( mbedtls_mpi_inv_mod( QP, Q, P ) ); in mbedtls_rsa_deduce_crt()
|
A D | rsa.c | 222 mbedtls_mpi_cmp_int( &ctx->QP, 0 ) <= 0 ) in rsa_check_context() 251 have_QP = ( mbedtls_mpi_cmp_int( &ctx->QP, 0 ) != 0 ); in mbedtls_rsa_complete() 322 &ctx->DP, &ctx->DQ, &ctx->QP ); in mbedtls_rsa_complete() 429 mbedtls_mpi *DP, mbedtls_mpi *DQ, mbedtls_mpi *QP ) in mbedtls_rsa_export_crt() argument 450 ( QP != NULL && ( ret = mbedtls_mpi_copy( QP, &ctx->QP ) ) != 0 ) ) in mbedtls_rsa_export_crt() 456 DP, DQ, QP ) ) != 0 ) in mbedtls_rsa_export_crt() 611 &ctx->DP, &ctx->DQ, &ctx->QP ) ); in mbedtls_rsa_gen_key() 683 &ctx->DP, &ctx->DQ, &ctx->QP ) != 0 ) in mbedtls_rsa_check_privkey() 1015 MBEDTLS_MPI_CHK( mbedtls_mpi_mul_mpi( &TP, &T, &ctx->QP ) ); in mbedtls_rsa_private() 2335 MBEDTLS_MPI_CHK( mbedtls_mpi_copy( &dst->QP, &src->QP ) ); in mbedtls_rsa_copy() [all …]
|
A D | pkparse.c | 806 ( ret = mbedtls_mpi_copy( &rsa->QP, &T ) ) != 0 ) in pk_parse_key_pkcs1_der()
|
/optee_os-3.20.0/lib/libmbedtls/core/ |
A D | rsa.c | 108 rsa->QP = *(mbedtls_mpi *)key->qp; in rsa_init_from_key_pair() 124 mbedtls_mpi_init(&rsa->QP); in mbd_rsa_free() 258 crypto_bignum_copy(key->qp, (void *)&rsa.QP); in sw_crypto_acipher_gen_rsa_key()
|
Completed in 14 milliseconds