Lines Matching refs:src
464 static void mgf_mask( unsigned char *dst, size_t dlen, unsigned char *src, in mgf_mask() argument
488 mbedtls_md_update( md_ctx, src, slen ); in mgf_mask()
1478 int mbedtls_rsa_copy( mbedtls_rsa_context *dst, const mbedtls_rsa_context *src ) in mbedtls_rsa_copy() argument
1482 dst->ver = src->ver; in mbedtls_rsa_copy()
1483 dst->len = src->len; in mbedtls_rsa_copy()
1485 MBEDTLS_MPI_CHK( mbedtls_mpi_copy( &dst->N, &src->N ) ); in mbedtls_rsa_copy()
1486 MBEDTLS_MPI_CHK( mbedtls_mpi_copy( &dst->E, &src->E ) ); in mbedtls_rsa_copy()
1488 MBEDTLS_MPI_CHK( mbedtls_mpi_copy( &dst->D, &src->D ) ); in mbedtls_rsa_copy()
1489 MBEDTLS_MPI_CHK( mbedtls_mpi_copy( &dst->P, &src->P ) ); in mbedtls_rsa_copy()
1490 MBEDTLS_MPI_CHK( mbedtls_mpi_copy( &dst->Q, &src->Q ) ); in mbedtls_rsa_copy()
1491 MBEDTLS_MPI_CHK( mbedtls_mpi_copy( &dst->DP, &src->DP ) ); in mbedtls_rsa_copy()
1492 MBEDTLS_MPI_CHK( mbedtls_mpi_copy( &dst->DQ, &src->DQ ) ); in mbedtls_rsa_copy()
1493 MBEDTLS_MPI_CHK( mbedtls_mpi_copy( &dst->QP, &src->QP ) ); in mbedtls_rsa_copy()
1495 MBEDTLS_MPI_CHK( mbedtls_mpi_copy( &dst->RN, &src->RN ) ); in mbedtls_rsa_copy()
1496 MBEDTLS_MPI_CHK( mbedtls_mpi_copy( &dst->RP, &src->RP ) ); in mbedtls_rsa_copy()
1497 MBEDTLS_MPI_CHK( mbedtls_mpi_copy( &dst->RQ, &src->RQ ) ); in mbedtls_rsa_copy()
1499 MBEDTLS_MPI_CHK( mbedtls_mpi_copy( &dst->Vi, &src->Vi ) ); in mbedtls_rsa_copy()
1500 MBEDTLS_MPI_CHK( mbedtls_mpi_copy( &dst->Vf, &src->Vf ) ); in mbedtls_rsa_copy()
1502 dst->padding = src->padding; in mbedtls_rsa_copy()
1503 dst->hash_id = src->hash_id; in mbedtls_rsa_copy()