Searched refs:grp_len (Results 1 – 2 of 2) sorted by relevance
/optee_os/lib/libmbedtls/mbedtls/library/ |
A D | ecdh.c | 306 size_t grp_len, pt_len; in ecdh_make_params_internal() local 332 if( ( ret = mbedtls_ecp_tls_write_group( &ctx->grp, &grp_len, buf, in ecdh_make_params_internal() 336 buf += grp_len; in ecdh_make_params_internal() 337 blen -= grp_len; in ecdh_make_params_internal() 343 *olen = grp_len + pt_len; in ecdh_make_params_internal()
|
A D | ecdsa.c | 436 size_t grp_len = ( grp->nbits + 7 ) / 8; in ecdsa_sign_det_restartable() local 461 MBEDTLS_MPI_CHK( mbedtls_mpi_write_binary( d, data, grp_len ) ); in ecdsa_sign_det_restartable() 463 MBEDTLS_MPI_CHK( mbedtls_mpi_write_binary( &h, data + grp_len, grp_len ) ); in ecdsa_sign_det_restartable() 464 mbedtls_hmac_drbg_seed_buf( p_rng, md_info, data, 2 * grp_len ); in ecdsa_sign_det_restartable() 499 data, 2 * grp_len ); in ecdsa_sign_det_restartable()
|
Completed in 6 milliseconds