Home
last modified time | relevance | path

Searched refs:point_format (Results 1 – 7 of 7) sorted by relevance

/mbedtls-latest/library/
Decdh.c171 ctx->point_format = MBEDTLS_ECP_PF_UNCOMPRESSED; in mbedtls_ecdh_init()
201 ctx->point_format = MBEDTLS_ECP_PF_COMPRESSED; in mbedtls_ecdh_setup()
207 ctx->point_format = MBEDTLS_ECP_PF_UNCOMPRESSED; in mbedtls_ecdh_setup()
267 ctx->point_format = MBEDTLS_ECP_PF_UNCOMPRESSED; in mbedtls_ecdh_free()
274 size_t *olen, int point_format, in ecdh_make_params_internal() argument
321 if ((ret = mbedtls_ecp_tls_write_point(&ctx->grp, &ctx->Q, point_format, in ecdh_make_params_internal()
350 return ecdh_make_params_internal(ctx, olen, ctx->point_format, buf, blen, in mbedtls_ecdh_make_params()
361 ctx->point_format, buf, blen, in mbedtls_ecdh_make_params()
493 size_t *olen, int point_format, in ecdh_make_public_internal() argument
530 return mbedtls_ecp_tls_write_point(&ctx->grp, &ctx->Q, point_format, olen, in ecdh_make_public_internal()
[all …]
Decjpake.c54 ctx->point_format = MBEDTLS_ECP_PF_UNCOMPRESSED; in mbedtls_ecjpake_init()
127 int point_format) in mbedtls_ecjpake_set_point_format() argument
129 switch (point_format) { in mbedtls_ecjpake_set_point_format()
132 ctx->point_format = point_format; in mbedtls_ecjpake_set_point_format()
520 return ecjpake_kkpp_read(ctx->md_type, &ctx->grp, ctx->point_format, in mbedtls_ecjpake_read_round_one()
534 return ecjpake_kkpp_write(ctx->md_type, &ctx->grp, ctx->point_format, in mbedtls_ecjpake_write_round_one()
603 ctx->point_format, in mbedtls_ecjpake_read_round_two()
705 ctx->point_format, &ec_len, p, (size_t) (end - p))); in mbedtls_ecjpake_write_round_two()
709 ctx->point_format, in mbedtls_ecjpake_write_round_two()
808 ret = mbedtls_ecp_point_write_binary(&ctx->grp, &K, ctx->point_format, in mbedtls_ecjpake_write_shared_key()
Dssl_tls12_client.c836 ssl->handshake->ecdh_ctx.point_format = p[0]; in ssl_parse_supported_point_formats_ext()
Dssl_tls12_server.c267 ssl->handshake->ecdh_ctx.point_format = p[0]; in ssl_parse_supported_point_formats()
/mbedtls-latest/include/mbedtls/
Decjpake.h64 int MBEDTLS_PRIVATE(point_format); /**< Format for point export */
131 int point_format);
Decdh.h112 int MBEDTLS_PRIVATE(point_format); /*!< The format of point export in TLS messages. */
121 uint8_t MBEDTLS_PRIVATE(point_format); /*!< The format of point export in TLS messages
/mbedtls-latest/
DChangeLog1944 point format for ECJPAKE instead of accessing the point_format field