Home
last modified time | relevance | path

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

/third_party/mbedtls/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.h3607 int mbedtls_ssl_conf_dh_param_ctx(mbedtls_ssl_config *conf, mbedtls_dhm_context *dhm_ctx);
/third_party/mbedtls/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()
/third_party/mbedtls/tests/include/alt-dummy/
Ddhm_alt.h22 typedef struct mbedtls_dhm_context { struct
25 mbedtls_dhm_context; typedef
/third_party/mbedtls/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;
/third_party/mbedtls/programs/pkey/
Ddh_client.c77 mbedtls_dhm_context dhm; in main()
Ddh_server.c77 mbedtls_dhm_context dhm; in main()
/third_party/mbedtls/docs/architecture/
Dalternative-implementations.md50 * DHM: if `MBEDTLS_DEBUG_C` is enabled, `mbedtls_dhm_context` must have the fields `P`, `Q`, `G`, `…
/third_party/mbedtls/programs/test/
Dbenchmark.c992 mbedtls_dhm_context dhm; in main()
/third_party/mbedtls/programs/ssl/
Dssl_server2.c1515 mbedtls_dhm_context dhm; in main()