Home
last modified time | relevance | path

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

/mbedtls-latest/include/mbedtls/
Ddhm.h101 typedef struct mbedtls_dhm_context { struct
113 mbedtls_dhm_context; typedef
124 void mbedtls_dhm_init(mbedtls_dhm_context *ctx);
148 int mbedtls_dhm_read_params(mbedtls_dhm_context *ctx,
184 int mbedtls_dhm_make_params(mbedtls_dhm_context *ctx, int x_size,
204 int mbedtls_dhm_set_group(mbedtls_dhm_context *ctx,
224 int mbedtls_dhm_read_public(mbedtls_dhm_context *ctx,
251 int mbedtls_dhm_make_public(mbedtls_dhm_context *ctx, int x_size,
282 int mbedtls_dhm_calc_secret(mbedtls_dhm_context *ctx,
295 size_t mbedtls_dhm_get_bitlen(const mbedtls_dhm_context *ctx);
[all …]
Dssl.h3810 int mbedtls_ssl_conf_dh_param_ctx(mbedtls_ssl_config *conf, mbedtls_dhm_context *dhm_ctx);
/mbedtls-latest/library/
Ddhm.c98 void mbedtls_dhm_init(mbedtls_dhm_context *ctx) in mbedtls_dhm_init()
100 memset(ctx, 0, sizeof(mbedtls_dhm_context)); in mbedtls_dhm_init()
103 size_t mbedtls_dhm_get_bitlen(const mbedtls_dhm_context *ctx) in mbedtls_dhm_get_bitlen()
108 size_t mbedtls_dhm_get_len(const mbedtls_dhm_context *ctx) in mbedtls_dhm_get_len()
113 int mbedtls_dhm_get_value(const mbedtls_dhm_context *ctx, in mbedtls_dhm_get_value()
146 int mbedtls_dhm_read_params(mbedtls_dhm_context *ctx, in mbedtls_dhm_read_params()
180 static int dhm_make_common(mbedtls_dhm_context *ctx, int x_size, in dhm_make_common()
223 int mbedtls_dhm_make_params(mbedtls_dhm_context *ctx, int x_size, in mbedtls_dhm_make_params()
272 int mbedtls_dhm_set_group(mbedtls_dhm_context *ctx, in mbedtls_dhm_set_group()
289 int mbedtls_dhm_read_public(mbedtls_dhm_context *ctx, in mbedtls_dhm_read_public()
[all …]
Dssl_misc.h773 mbedtls_dhm_context dhm_ctx; /*!< DHM key exchange */
Dssl_tls.c2674 int mbedtls_ssl_conf_dh_param_ctx(mbedtls_ssl_config *conf, mbedtls_dhm_context *dhm_ctx) in mbedtls_ssl_conf_dh_param_ctx()
/mbedtls-latest/tests/suites/
Dtest_suite_dhm.function4 static 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-latest/tests/include/alt-dummy/
Ddhm_alt.h10 typedef struct mbedtls_dhm_context { struct
13 mbedtls_dhm_context; argument
/mbedtls-latest/programs/pkey/
Ddh_client.c74 mbedtls_dhm_context dhm; in main()
Ddh_server.c66 mbedtls_dhm_context dhm; in main()
/mbedtls-latest/docs/architecture/
Dalternative-implementations.md50 * DHM: if `MBEDTLS_DEBUG_C` is enabled, `mbedtls_dhm_context` must have the fields `P`, `Q`, `G`, `…
/mbedtls-latest/programs/test/
Dbenchmark.c1087 mbedtls_dhm_context dhm; in main()
/mbedtls-latest/programs/ssl/
Dssl_server2.c1557 mbedtls_dhm_context dhm; in main()
/mbedtls-latest/docs/
Dpsa-transition.md1084 …troy the key. There is no equivalent to the types `mbedtls_ecdh_context` and `mbedtls_dhm_context`.
1154 …1. Initialize a context of type `mbedtls_ecdh_context` or `mbedtls_dhm_context` with `mbedtls_ecdh…
1179 …1. Initialize a context of type `mbedtls_ecdh_context` or `mbedtls_dhm_context` with `mbedtls_ecdh…