Lines Matching refs:n
75 size_t n, buflen; in main() local
196 if( ( ret = mbedtls_dhm_make_params( &dhm, (int) mbedtls_mpi_size( &dhm.P ), buf, &n, in main()
206 mbedtls_sha1( buf, n, hash ); in main()
208 buf[n ] = (unsigned char)( rsa.len >> 8 ); in main()
209 buf[n + 1] = (unsigned char)( rsa.len ); in main()
212 0, hash, buf + n + 2 ) ) != 0 ) in main()
218 buflen = n + 2 + rsa.len; in main()
237 if( ( ret = mbedtls_net_recv( &client_fd, buf, n ) ) != (int) n ) in main()
255 if( ( ret = mbedtls_dhm_calc_secret( &dhm, buf, sizeof( buf ), &n, in main()
262 for( n = 0; n < 16; n++ ) in main()
263 mbedtls_printf( "%02x", buf[n] ); in main()