commit | c36aab69b5e392833a3d85f726fc28887e4732a8 | [log] [tgz] |
---|---|---|
author | Hanno Becker <hanno.becker@arm.com> | Tue Oct 17 09:15:06 2017 +0100 |
committer | Hanno Becker <hanno.becker@arm.com> | Tue Oct 17 09:15:06 2017 +0100 |
tree | 15d143886fbaf143ecaebfec4c4b5dfb36656b17 | |
parent | 854244abbf0f1f465cfa65607a6214f1509cf617 [diff] [blame] |
Swap D,E parameters in mbedtls_rsa_deduce_primes
diff --git a/library/rsa_internal.c b/library/rsa_internal.c index 3b54fde..f65f0df 100644 --- a/library/rsa_internal.c +++ b/library/rsa_internal.c
@@ -66,7 +66,7 @@ * */ int mbedtls_rsa_deduce_primes( mbedtls_mpi const *N, - mbedtls_mpi const *D, mbedtls_mpi const *E, + mbedtls_mpi const *E, mbedtls_mpi const *D, mbedtls_mpi *P, mbedtls_mpi *Q ) { int ret = 0;