Software Co-Design of Pell's Equation with Jacobi Symbol for SSL Protocol Execution