Expose alloc functions for EC{PK,}PARAMETERS