Lines Matching refs:src
1613 * \param src source of the mask generation
1617 static int mgf_mask(unsigned char *dst, size_t dlen, unsigned char *src,
1657 if ((ret = mbedtls_md_update(&md_ctx, src, slen)) != 0) {
2773 int mbedtls_rsa_copy(mbedtls_rsa_context *dst, const mbedtls_rsa_context *src)
2777 dst->len = src->len;
2779 MBEDTLS_MPI_CHK(mbedtls_mpi_copy(&dst->N, &src->N));
2780 MBEDTLS_MPI_CHK(mbedtls_mpi_copy(&dst->E, &src->E));
2782 MBEDTLS_MPI_CHK(mbedtls_mpi_copy(&dst->D, &src->D));
2783 MBEDTLS_MPI_CHK(mbedtls_mpi_copy(&dst->P, &src->P));
2784 MBEDTLS_MPI_CHK(mbedtls_mpi_copy(&dst->Q, &src->Q));
2787 MBEDTLS_MPI_CHK(mbedtls_mpi_copy(&dst->DP, &src->DP));
2788 MBEDTLS_MPI_CHK(mbedtls_mpi_copy(&dst->DQ, &src->DQ));
2789 MBEDTLS_MPI_CHK(mbedtls_mpi_copy(&dst->QP, &src->QP));
2790 MBEDTLS_MPI_CHK(mbedtls_mpi_copy(&dst->RP, &src->RP));
2791 MBEDTLS_MPI_CHK(mbedtls_mpi_copy(&dst->RQ, &src->RQ));
2794 MBEDTLS_MPI_CHK(mbedtls_mpi_copy(&dst->RN, &src->RN));
2796 MBEDTLS_MPI_CHK(mbedtls_mpi_copy(&dst->Vi, &src->Vi));
2797 MBEDTLS_MPI_CHK(mbedtls_mpi_copy(&dst->Vf, &src->Vf));
2799 dst->padding = src->padding;
2800 dst->hash_id = src->hash_id;