catcrypt: Implement symmetric key-encapsulation and signature schemes.
[u/mdw/catacomb] / mpreduce.h
index 72f27fa..48c9e1d 100644 (file)
@@ -1,6 +1,6 @@
 /* -*-c-*-
  *
- * $Id: mpreduce.h,v 1.1 2004/03/27 00:04:46 mdw Exp $
+ * $Id$
  *
  * Efficient reduction modulo nice primes
  *
  * MA 02111-1307, USA.
  */
 
-/*----- Revision history --------------------------------------------------* 
- *
- * $Log: mpreduce.h,v $
- * Revision 1.1  2004/03/27 00:04:46  mdw
- * Implement efficient reduction for pleasant-looking primes.
- *
- */
-
 #ifndef CATACOMB_MPREDUCE_H
 #define CATACOMB_MPREDUCE_H
 
@@ -74,12 +66,12 @@ typedef struct mpreduce {
  * Arguments:  @gfreduce *r@ = structure to fill in
  *             @mp *x@ = an integer
  *
- * Returns:    ---
+ * Returns:    Zero for success, nonzero on error.
  *
  * Use:                Initializes a context structure for reduction.
  */
 
-extern void mpreduce_create(mpreduce */*r*/, mp */*p*/);
+extern int mpreduce_create(mpreduce */*r*/, mp */*p*/);
 
 /* --- @mpreduce_destroy@ --- *
  *