From 83f0f1274cb298c0c924998202a5f5c81e22f452 Mon Sep 17 00:00:00 2001 From: tobhe Date: Wed, 28 Oct 2020 20:54:14 +0000 Subject: Refactor parts of the dh_* API. ok patrick@ --- sbin/iked/dh.h | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'sbin/iked/dh.h') 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 @@ -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 */ -- cgit v1.2.3