blob: 88134273ea29d860200d3ad0a77f8ed4a24ecf68 [file] [log] [blame]
Dmitry Shmidt8d520ff2011-05-09 14:06:53 -07001/*
2 * Diffie-Hellman group 5 operations
3 * Copyright (c) 2009, Jouni Malinen <j@w1.fi>
4 *
Dmitry Shmidtc5ec7f52012-03-06 16:33:24 -08005 * This software may be distributed under the terms of the BSD license.
6 * See README for more details.
Dmitry Shmidt8d520ff2011-05-09 14:06:53 -07007 */
8
9#ifndef DH_GROUP5_H
10#define DH_GROUP5_H
11
12void * dh5_init(struct wpabuf **priv, struct wpabuf **publ);
13struct wpabuf * dh5_derive_shared(void *ctx, const struct wpabuf *peer_public,
14 const struct wpabuf *own_private);
15void dh5_free(void *ctx);
16
17#endif /* DH_GROUP5_H */