Go to the documentation of this file.
27 #ifndef POLARSSL_DHM_H
28 #define POLARSSL_DHM_H
35 #define POLARSSL_ERR_DHM_BAD_INPUT_DATA -0x3080
36 #define POLARSSL_ERR_DHM_READ_PARAMS_FAILED -0x3100
37 #define POLARSSL_ERR_DHM_MAKE_PARAMS_FAILED -0x3180
38 #define POLARSSL_ERR_DHM_READ_PUBLIC_FAILED -0x3200
39 #define POLARSSL_ERR_DHM_MAKE_PUBLIC_FAILED -0x3280
40 #define POLARSSL_ERR_DHM_CALC_SECRET_FAILED -0x3300
73 const unsigned char *end );
92 unsigned char *output,
size_t *olen,
93 int (*f_rng)(
void *,
unsigned char *,
size_t),
106 const unsigned char *input,
size_t ilen );
121 unsigned char *output,
size_t olen,
122 int (*f_rng)(
void *,
unsigned char *,
size_t),
135 unsigned char *output,
size_t *olen );