X-Git-Url: https://git.distorted.org.uk/u/mdw/catacomb/blobdiff_plain/e40955b56456a6191ebff48b00c667a0674b3bdb..f4535c6454395e6d56ce0091a07b6d4f7d54a47f:/mpmont.h diff --git a/mpmont.h b/mpmont.h index b931162..44be367 100644 --- a/mpmont.h +++ b/mpmont.h @@ -1,6 +1,6 @@ /* -*-c-*- * - * $Id: mpmont.h,v 1.8 2004/04/08 01:36:15 mdw Exp $ + * $Id$ * * Montgomery reduction * @@ -92,13 +92,13 @@ typedef struct mpmont { * Arguments: @mpmont *mm@ = pointer to Montgomery reduction context * @mp *m@ = modulus to use * - * Returns: --- + * Returns: Zero on success, nonzero on error. * * Use: Initializes a Montgomery reduction context ready for use. * The argument @m@ must be a positive odd integer. */ -extern void mpmont_create(mpmont */*mm*/, mp */*m*/); +extern int mpmont_create(mpmont */*mm*/, mp */*m*/); /* --- @mpmont_destroy@ --- * *