document.

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22368 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Love Hörnquist Åstrand
2007-12-28 15:27:52 +00:00
parent 1cca7d8247
commit 2d1189cc66

View File

@@ -224,7 +224,7 @@ dh_finish(DH *dh)
* *
*/ */
const DH_METHOD hc_dh_imath_method = { const DH_METHOD _hc_dh_imath_method = {
"hcrypto imath DH", "hcrypto imath DH",
dh_generate_key, dh_generate_key,
dh_compute_key, dh_compute_key,
@@ -236,8 +236,16 @@ const DH_METHOD hc_dh_imath_method = {
dh_generate_params dh_generate_params
}; };
/**
* DH implementation using libimath.
*
* @return the DH_METHOD for the DH implementation using libimath.
*
* @ingroup hcrypto_dh
*/
const DH_METHOD * const DH_METHOD *
DH_imath_method(void) DH_imath_method(void)
{ {
return &hc_dh_imath_method; return &_hc_dh_imath_method;
} }