diff options
author | tobhe <tobhe@cvs.openbsd.org> | 2020-10-28 20:54:14 +0000 |
---|---|---|
committer | tobhe <tobhe@cvs.openbsd.org> | 2020-10-28 20:54:14 +0000 |
commit | 83f0f1274cb298c0c924998202a5f5c81e22f452 (patch) | |
tree | 3816bb7ae03e9d304e92e574f045ec24ed9aed3b /sbin/iked/dh.h | |
parent | 0c7683e23a3f956cfdebd15c9600700b05f5f0c3 (diff) |
Refactor parts of the dh_* API.
ok patrick@
Diffstat (limited to 'sbin/iked/dh.h')
-rw-r--r-- | sbin/iked/dh.h | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/sbin/iked/dh.h b/sbin/iked/dh.h index 9af5c5ab3c6..c89b148a6ca 100644 --- a/sbin/iked/dh.h +++ b/sbin/iked/dh.h @@ -1,4 +1,4 @@ -/* $OpenBSD: dh.h,v 1.12 2020/04/28 15:18:52 tobhe Exp $ */ +/* $OpenBSD: dh.h,v 1.13 2020/10/28 20:54:13 tobhe Exp $ */ /* * Copyright (c) 2010-2013 Reyk Floeter <reyk@openbsd.org> @@ -58,9 +58,7 @@ struct group *group_get(uint32_t); const struct group_id *group_getid(uint32_t); -int dh_getlen(struct group *); -int dh_secretlen(struct group *); -int dh_create_exchange(struct group *, uint8_t *); -int dh_create_shared(struct group *, uint8_t *, uint8_t *); +int dh_create_exchange(struct group *, struct ibuf **, struct ibuf *); +int dh_create_shared(struct group *, struct ibuf **, struct ibuf *); #endif /* DH_GROUP_H */ |