Hardware/Software Optimizations For Elliptic Curve Scalar Multiplication On Hybrid Fpgas