summaryrefslogtreecommitdiff
path: root/sbin/isakmpd/math_group.h
diff options
context:
space:
mode:
authorNiklas Hallqvist <niklas@cvs.openbsd.org>1999-04-19 20:00:25 +0000
committerNiklas Hallqvist <niklas@cvs.openbsd.org>1999-04-19 20:00:25 +0000
commit11846d9c94c9f13c0e5d33f55f9f0cd4281d460e (patch)
treedad67e447538e81d37308b37c3c1ee06ea971554 /sbin/isakmpd/math_group.h
parent157f4e0ef3d803b089172b9a2fe684cd631cf07f (diff)
./cookie.c: Merge with EOM 1.20
./dh.c: Merge with EOM 1.5 ./hash.c: Merge with EOM 1.10 ./math_group.h: Merge with EOM 1.7 Style. alloc error reporting. Math error propagation. Allocate right sizes. 1999 copyrights
Diffstat (limited to 'sbin/isakmpd/math_group.h')
-rw-r--r--sbin/isakmpd/math_group.h11
1 files changed, 6 insertions, 5 deletions
diff --git a/sbin/isakmpd/math_group.h b/sbin/isakmpd/math_group.h
index 6eab7764354..d85e625ba5d 100644
--- a/sbin/isakmpd/math_group.h
+++ b/sbin/isakmpd/math_group.h
@@ -1,8 +1,9 @@
-/* $OpenBSD: math_group.h,v 1.4 1999/03/24 14:59:52 niklas Exp $ */
-/* $EOM: math_group.h,v 1.5 1999/03/06 12:40:12 niklas Exp $ */
+/* $OpenBSD: math_group.h,v 1.5 1999/04/19 20:00:24 niklas Exp $ */
+/* $EOM: math_group.h,v 1.7 1999/04/17 23:20:40 niklas Exp $ */
/*
* Copyright (c) 1998 Niels Provos. All rights reserved.
+ * Copyright (c) 1999 Niklas Hallqvist. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
@@ -56,9 +57,9 @@ struct group {
void *gen; /* Group Generator */
int (*getlen) (struct group *);
void (*getraw) (struct group *, void *, u_int8_t *);
- void (*setraw) (struct group *, void *, u_int8_t *, int);
- void (*setrandom) (struct group *, void *);
- void (*operation) (struct group *, void *, void *, void *);
+ int (*setraw) (struct group *, void *, u_int8_t *, int);
+ int (*setrandom) (struct group *, void *);
+ int (*operation) (struct group *, void *, void *, void *);
};
/* Description of an Elliptic Group over GF(2**n) for Boot-Strapping */