Update p11_ec.c

Allow for all curve sizes