Home
last modified time | relevance | path

Searched refs:grp_len (Results 1 – 2 of 2) sorted by relevance

/mbedtls-3.7.0/library/
Decdh.c283 size_t grp_len, pt_len; in ecdh_make_params_internal() local
313 if ((ret = mbedtls_ecp_tls_write_group(&ctx->grp, &grp_len, buf, in ecdh_make_params_internal()
318 buf += grp_len; in ecdh_make_params_internal()
319 blen -= grp_len; in ecdh_make_params_internal()
326 *olen = grp_len + pt_len; in ecdh_make_params_internal()
Decdsa.c409 size_t grp_len = (grp->nbits + 7) / 8; in mbedtls_ecdsa_sign_det_restartable() local
435 MBEDTLS_MPI_CHK(mbedtls_mpi_write_binary(d, data, grp_len)); in mbedtls_ecdsa_sign_det_restartable()
437 MBEDTLS_MPI_CHK(mbedtls_mpi_write_binary(&h, data + grp_len, grp_len)); in mbedtls_ecdsa_sign_det_restartable()
438 MBEDTLS_MPI_CHK(mbedtls_hmac_drbg_seed_buf(p_rng, md_info, data, 2 * grp_len)); in mbedtls_ecdsa_sign_det_restartable()