Home
last modified time | relevance | path

Searched refs:mbedtls_dhm_context (Results 1 – 12 of 12) sorted by relevance

/mbedtls-3.5.0/include/mbedtls/
Ddhm.h113 typedef struct mbedtls_dhm_context { struct
125 mbedtls_dhm_context; typedef
136 void mbedtls_dhm_init(mbedtls_dhm_context *ctx);
160 int mbedtls_dhm_read_params(mbedtls_dhm_context *ctx,
196 int mbedtls_dhm_make_params(mbedtls_dhm_context *ctx, int x_size,
216 int mbedtls_dhm_set_group(mbedtls_dhm_context *ctx,
236 int mbedtls_dhm_read_public(mbedtls_dhm_context *ctx,
263 int mbedtls_dhm_make_public(mbedtls_dhm_context *ctx, int x_size,
294 int mbedtls_dhm_calc_secret(mbedtls_dhm_context *ctx,
307 size_t mbedtls_dhm_get_bitlen(const mbedtls_dhm_context *ctx);
[all …]
Dssl.h3608 int mbedtls_ssl_conf_dh_param_ctx(mbedtls_ssl_config *conf, mbedtls_dhm_context *dhm_ctx);
/mbedtls-3.5.0/library/
Ddhm.c110 void mbedtls_dhm_init(mbedtls_dhm_context *ctx) in mbedtls_dhm_init()
112 memset(ctx, 0, sizeof(mbedtls_dhm_context)); in mbedtls_dhm_init()
115 size_t mbedtls_dhm_get_bitlen(const mbedtls_dhm_context *ctx) in mbedtls_dhm_get_bitlen()
120 size_t mbedtls_dhm_get_len(const mbedtls_dhm_context *ctx) in mbedtls_dhm_get_len()
125 int mbedtls_dhm_get_value(const mbedtls_dhm_context *ctx, in mbedtls_dhm_get_value()
158 int mbedtls_dhm_read_params(mbedtls_dhm_context *ctx, in mbedtls_dhm_read_params()
192 static int dhm_make_common(mbedtls_dhm_context *ctx, int x_size, in dhm_make_common()
235 int mbedtls_dhm_make_params(mbedtls_dhm_context *ctx, int x_size, in mbedtls_dhm_make_params()
284 int mbedtls_dhm_set_group(mbedtls_dhm_context *ctx, in mbedtls_dhm_set_group()
301 int mbedtls_dhm_read_public(mbedtls_dhm_context *ctx, in mbedtls_dhm_read_public()
[all …]
Dssl_misc.h752 mbedtls_dhm_context dhm_ctx; /*!< DHM key exchange */
Dssl_tls.c2878 int mbedtls_ssl_conf_dh_param_ctx(mbedtls_ssl_config *conf, mbedtls_dhm_context *dhm_ctx) in mbedtls_ssl_conf_dh_param_ctx()
/mbedtls-3.5.0/tests/include/alt-dummy/
Ddhm_alt.h22 typedef struct mbedtls_dhm_context { struct
25 mbedtls_dhm_context; typedef
/mbedtls-3.5.0/tests/suites/
Dtest_suite_dhm.function4 int check_get_value(const mbedtls_dhm_context *ctx,
55 static int check_dhm_params(const mbedtls_dhm_context *ctx,
97 mbedtls_dhm_context ctx_srv;
98 mbedtls_dhm_context ctx_cli;
236 mbedtls_dhm_context ctx;
265 mbedtls_dhm_context ctx;
/mbedtls-3.5.0/programs/pkey/
Ddh_client.c77 mbedtls_dhm_context dhm; in main()
Ddh_server.c77 mbedtls_dhm_context dhm; in main()
/mbedtls-3.5.0/docs/architecture/
Dalternative-implementations.md50 * DHM: if `MBEDTLS_DEBUG_C` is enabled, `mbedtls_dhm_context` must have the fields `P`, `Q`, `G`, `…
/mbedtls-3.5.0/programs/test/
Dbenchmark.c992 mbedtls_dhm_context dhm; in main()
/mbedtls-3.5.0/programs/ssl/
Dssl_server2.c1515 mbedtls_dhm_context dhm; in main()