Efficient arithmetic on low-genus curves door