diff options
Diffstat (limited to 'mpi/ec-internal.h')
-rw-r--r-- | mpi/ec-internal.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/mpi/ec-internal.h b/mpi/ec-internal.h index 2296d55d..3f948aa0 100644 --- a/mpi/ec-internal.h +++ b/mpi/ec-internal.h @@ -38,4 +38,12 @@ void _gcry_mpi_ec_nist521_mod (gcry_mpi_t w, mpi_ec_t ctx); # define _gcry_mpi_ec_nist521_mod NULL #endif +#ifdef HAVE_GCC_INLINE_ASM_S390X +int _gcry_s390x_ec_hw_mul_point (mpi_point_t result, gcry_mpi_t scalar, + mpi_point_t point, mpi_ec_t ctx); +# define mpi_ec_hw_mul_point _gcry_s390x_ec_hw_mul_point +#else +# define mpi_ec_hw_mul_point(r,s,p,c) (-1) +#endif + #endif /*GCRY_EC_INTERNAL_H*/ |