1214501Srpaulo/*
2214501Srpaulo * Diffie-Hellman group 5 operations
3214501Srpaulo * Copyright (c) 2009, Jouni Malinen <j@w1.fi>
4214501Srpaulo *
5214501Srpaulo * This program is free software; you can redistribute it and/or modify
6214501Srpaulo * it under the terms of the GNU General Public License version 2 as
7214501Srpaulo * published by the Free Software Foundation.
8214501Srpaulo *
9214501Srpaulo * Alternatively, this software may be distributed under the terms of BSD
10214501Srpaulo * license.
11214501Srpaulo *
12214501Srpaulo * See README and COPYING for more details.
13214501Srpaulo */
14214501Srpaulo
15214501Srpaulo#ifndef DH_GROUP5_H
16214501Srpaulo#define DH_GROUP5_H
17214501Srpaulo
18214501Srpaulovoid * dh5_init(struct wpabuf **priv, struct wpabuf **publ);
19214501Srpaulostruct wpabuf * dh5_derive_shared(void *ctx, const struct wpabuf *peer_public,
20214501Srpaulo				  const struct wpabuf *own_private);
21214501Srpaulovoid dh5_free(void *ctx);
22214501Srpaulo
23214501Srpaulo#endif /* DH_GROUP5_H */
24