1e5b75505Sopenharmony_ci/* 2e5b75505Sopenharmony_ci * Diffie-Hellman group 5 operations 3e5b75505Sopenharmony_ci * Copyright (c) 2009, 2012, Jouni Malinen <j@w1.fi> 4e5b75505Sopenharmony_ci * 5e5b75505Sopenharmony_ci * This software may be distributed under the terms of the BSD license. 6e5b75505Sopenharmony_ci * See README for more details. 7e5b75505Sopenharmony_ci */ 8e5b75505Sopenharmony_ci 9e5b75505Sopenharmony_ci#ifndef DH_GROUP5_H 10e5b75505Sopenharmony_ci#define DH_GROUP5_H 11e5b75505Sopenharmony_ci 12e5b75505Sopenharmony_civoid * dh5_init(struct wpabuf **priv, struct wpabuf **publ); 13e5b75505Sopenharmony_civoid * dh5_init_fixed(const struct wpabuf *priv, const struct wpabuf *publ); 14e5b75505Sopenharmony_cistruct wpabuf * dh5_derive_shared(void *ctx, const struct wpabuf *peer_public, 15e5b75505Sopenharmony_ci const struct wpabuf *own_private); 16e5b75505Sopenharmony_civoid dh5_free(void *ctx); 17e5b75505Sopenharmony_ci 18e5b75505Sopenharmony_ci#endif /* DH_GROUP5_H */ 19