Lines Matching refs:mbedtls_dhm_context
98 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()
308 int mbedtls_dhm_make_public(mbedtls_dhm_context *ctx, int x_size, in mbedtls_dhm_make_public()
343 static int dhm_update_blinding(mbedtls_dhm_context *ctx, in dhm_update_blinding()
405 int mbedtls_dhm_calc_secret(mbedtls_dhm_context *ctx, in mbedtls_dhm_calc_secret()
458 void mbedtls_dhm_free(mbedtls_dhm_context *ctx) in mbedtls_dhm_free()
475 mbedtls_platform_zeroize(ctx, sizeof(mbedtls_dhm_context)); in mbedtls_dhm_free()
482 int mbedtls_dhm_parse_dhm(mbedtls_dhm_context *dhm, const unsigned char *dhmin, in mbedtls_dhm_parse_dhm()
627 int mbedtls_dhm_parse_dhmfile(mbedtls_dhm_context *dhm, const char *path) in mbedtls_dhm_parse_dhmfile()
681 mbedtls_dhm_context dhm; in mbedtls_dhm_self_test()