Searched refs:n_size (Results 1 – 2 of 2) sorted by relevance
/net-tools-3.4.0/mbedtls-2.4.0/library/ |
D | ecdsa.c | 53 size_t n_size = ( grp->nbits + 7 ) / 8; in derive_mpi() local 54 size_t use_size = blen > n_size ? n_size : blen; in derive_mpi() 120 size_t n_size = ( grp->nbits + 7 ) / 8; in mbedtls_ecdsa_sign() local 121 MBEDTLS_MPI_CHK( mbedtls_mpi_fill_random( &t, n_size, f_rng, p_rng ) ); in mbedtls_ecdsa_sign() 122 MBEDTLS_MPI_CHK( mbedtls_mpi_shift_r( &t, 8 * n_size - grp->nbits ) ); in mbedtls_ecdsa_sign()
|
D | ecp.c | 1822 size_t n_size = ( grp->nbits + 7 ) / 8; in mbedtls_ecp_gen_keypair_base() local 1831 MBEDTLS_MPI_CHK( mbedtls_mpi_fill_random( d, n_size, f_rng, p_rng ) ); in mbedtls_ecp_gen_keypair_base() 1864 MBEDTLS_MPI_CHK( f_rng( p_rng, rnd, n_size ) ); in mbedtls_ecp_gen_keypair_base() 1865 MBEDTLS_MPI_CHK( mbedtls_mpi_read_binary( d, rnd, n_size ) ); in mbedtls_ecp_gen_keypair_base() 1866 MBEDTLS_MPI_CHK( mbedtls_mpi_shift_r( d, 8 * n_size - grp->nbits ) ); in mbedtls_ecp_gen_keypair_base()
|