OpenSSL performs modular reductions when doing RSA but in order to maximize it's efficiency for elliptic curves over finite fields it'd need to do modular reduction for those as well.
I'm curious in what file in the OpenSSL source code does OpenSSL perform these modular reductions. I'm specifically interested in where it does it for binary finite fields but knowing where it does it for prime finite fields might give me insight into where it's doing it for binary finite fields.