From 5c8ee46baeed3d72945729e5792213cc6850782d Mon Sep 17 00:00:00 2001 From: Werner Koch Date: Fri, 23 Mar 2007 19:55:14 +0000 Subject: Did some performance experiments and added code for Barrett reduction. --- mpi/mpi-internal.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'mpi/mpi-internal.h') diff --git a/mpi/mpi-internal.h b/mpi/mpi-internal.h index d78c1809..f9c1f9d4 100644 --- a/mpi/mpi-internal.h +++ b/mpi/mpi-internal.h @@ -175,6 +175,9 @@ void _gcry_mpi_free_limb_space( mpi_ptr_t a, unsigned int nlimbs ); void _gcry_mpi_assign_limb_space( gcry_mpi_t a, mpi_ptr_t ap, unsigned nlimbs ); /*-- mpi-bit.c --*/ +#define mpi_rshift_limbs(a,n) _gcry_mpi_rshift_limbs ((a), (n)) +#define mpi_lshift_limbs(a,n) _gcry_mpi_lshift_limbs ((a), (n)) + void _gcry_mpi_rshift_limbs( gcry_mpi_t a, unsigned int count ); void _gcry_mpi_lshift_limbs( gcry_mpi_t a, unsigned int count ); -- cgit v1.2.1